formations/slides/style/preambule.tex

102 lines
3.0 KiB
TeX
Raw Normal View History

2020-08-05 17:08:33 +02:00
\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
2021-07-19 11:30:05 +02:00
\usepackage{minted}
2020-08-05 17:08:33 +02:00
\usepackage{ucs}
\usepackage{tabto}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{hyperxmp}
\usepackage{calc}
2020-08-05 17:08:33 +02:00
%\usepackage{pdfpcnotes} % Indisponible dans les paquets, installation manuelle requise
\hypersetup{%
colorlinks=true,linkcolor=blue,urlcolor=blue,pdfpagemode=UseNone,
pdftitle={\pdftitle},
pdfkeywords={\pdfkeywords},
pdfauthor={\pdfauthor},
pdflang={fr-FR},
pdfcopyright={Copyright © 2020 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}
\definecolor{TravauxPratiques}{RGB}{230,230,230}
\definecolor{Corrige}{RGB}{255,239,0}
2020-08-05 17:08:33 +02:00
\definecolor{Repos}{RGB}{0,0,0}
\setbeamercolor{title}{fg=UniBlue}
\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}}
\date{{\small \today}}
\subject{Talks}
\AtBeginSection[]
{
\begin{frame}<beamer>
% \frametitle{Plan}
\begin{columns}[t]
\begin{column}{5cm}
\tableofcontents[sections={1-6},currentsection, hideallsubsections]
\end{column}
\begin{column}{5cm}
\tableofcontents[sections={7-12},currentsection, hideallsubsections]
\end{column}
\end{columns}
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}<beamer>
% \frametitle{Plan}
\begin{columns}[t]
\begin{column}{5cm}
\tableofcontents[sections={1-6},sectionstyle=show/hide, subsectionstyle=show/shaded/hide]
\end{column}
\begin{column}{5cm}
\tableofcontents[sections={7-12},sectionstyle=show/hide, subsectionstyle=show/shaded/hide]
\end{column}
\end{columns}
\end{frame}
}
\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}}