formations/slides/style/preambule.tex

106 lines
3.1 KiB
TeX
Raw Normal View History

\setbeamercovered{transparent}
\setcounter{tocdepth}{2}
\usepackage[french]{babel}
%\usepackage[utf8,utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{xunicode} %Unicode extras!
\usepackage{xltxtra} %Fixes
\setmainfont{CaviarDreams}
\usepackage{multicol}
%\usepackage{colortbtl}
\usepackage{graphicx}
\usepackage{verbatim} % Pour l'insertion de fichier en mode verbatim
\usepackage{ucs}
\usepackage{tabto}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{hyperxmp}
2019-03-04 10:23:37 +01:00
\usepackage{pdfpcnotes}
\hypersetup{%
colorlinks=true,linkcolor=blue,urlcolor=blue,pdfpagemode=UseNone,
pdftitle={Formation Git},
pdfkeywords={SCM, Git},
pdfauthor={Benjamin Bohard},
pdflang={fr-FR},
pdfcopyright={Copyright © 2015 Cadoles}, % Nécessite XeTeX
pdflicenseurl={http://creativecommons.org/licenses/by-nc-sa/2.0/fr/},
}
\definecolor{UniBlue}{RGB}{83,121,180}
\definecolor{CleanWhite}{RGB}{255,255,255}
2019-01-04 11:37:48 +01:00
\definecolor{TravauxPratiques}{RGB}{230,230,230}
2019-03-04 10:23:37 +01:00
\definecolor{Repos}{RGB}{0,0,0}
\setbeamercolor{title}{fg=UniBlue}
2019-01-04 11:37:48 +01:00
\setbeamercolor{frametitle}{fg=UniBlue}
\setbeamercolor{structure}{fg=UniBlue}
\newcommand{\eolesmall}{
\begin{minipage}[c]{0.10\textwidth}
\skbfigure[width=1cm]{en/eole.png}
\end{minipage}
}
\newcommand{\eolebig}{\skbfigure[width=2cm]{en/logo.png}}
\newcommand{\eolefull}{\skbfigure{en/logo.png}}
\newcommand{\commande}[1]{\texttt{#1}}
\setbeamertemplate{background}
{\skbinput[from=fig]{cadoles/simple_dash}}
\institute[Cadoles]{\skbfigure[width=2cm]{cadoles/logo-01.png}}
2019-04-07 02:31:38 +02:00
\institute[MENJ]{\skbfigure[width=2cm]{en/logo_MENJ.jpg}}
\date{{\small \today}}
\subject{Talks}
\AtBeginSection[]
{
\begin{frame}<beamer>
2019-01-04 11:37:48 +01:00
% \frametitle{Plan}
\begin{columns}[t]
\begin{column}{5cm}
2019-01-04 11:37:48 +01:00
\tableofcontents[sections={1-6},currentsection, hideallsubsections]
\end{column}
\begin{column}{5cm}
2019-01-04 11:37:48 +01:00
\tableofcontents[sections={7-12},currentsection, hideallsubsections]
\end{column}
\end{columns}
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}<beamer>
2019-01-04 11:37:48 +01:00
% \frametitle{Plan}
\begin{columns}[t]
\begin{column}{5cm}
2019-01-04 11:37:48 +01:00
\tableofcontents[sections={1-6},sectionstyle=show/hide, subsectionstyle=show/shaded/hide]
\end{column}
\begin{column}{5cm}
2019-01-04 11:37:48 +01:00
\tableofcontents[sections={7-12},sectionstyle=show/hide, subsectionstyle=show/shaded/hide]
\end{column}
\end{columns}
\end{frame}
}
\logo{
2019-04-07 02:31:38 +02:00
\skbfigure[width=2cm]{en/logo_MENJ.jpg}~ \hspace{220pt}
\skbfigure[width=2cm]{cadoles/logo_01.png}~
}
2019-01-04 11:37:48 +01:00
\addtobeamertemplate{frametitle}{%
\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north west,yshift=2pt,text opacity=0.5, scale=0.8] at (current page.north west) {\insertsubsection};
\node[anchor=north east,yshift=2pt,text opacity=0.5, scale=0.8] at (current page.north east) {\insertsection};
\end{tikzpicture}}{%
\begin{tikzpicture}[remember picture,overlay]
\begin{scope}[xshift=-12cm,yshift=-0.5cm]
\draw [line width=2pt] (12.75cm,0) -- (12.5cm,0);
\draw [line width=2pt] (12.25cm,0) -- (11.75cm,0);
\draw [line width=2pt] (11.5cm,0) -- (10.75cm,0);
\draw [line width=2pt] (10.5cm,0) -- (8.25cm,0);
\draw [line width=2pt] (8cm,0) -- (0,0);
\end{scope}
\end{tikzpicture}}