use tex-fmt
This commit is contained in:
parent
7ddf3b6e7d
commit
f8c04ff560
1 changed files with 45 additions and 45 deletions
|
@ -16,15 +16,15 @@
|
||||||
|
|
||||||
\ProcessOptions
|
\ProcessOptions
|
||||||
\ifoption@code
|
\ifoption@code
|
||||||
% Intégration code
|
% Intégration code
|
||||||
\RequirePackage{minted}
|
\RequirePackage{minted}
|
||||||
\usemintedstyle{emacs}
|
\usemintedstyle{emacs}
|
||||||
\fi
|
\fi
|
||||||
\ifoption@fr
|
\ifoption@fr
|
||||||
% Langue
|
% Langue
|
||||||
\RequirePackage[french]{babel}
|
\RequirePackage[french]{babel}
|
||||||
\RequirePackage{csquotes}
|
\RequirePackage{csquotes}
|
||||||
\MakeOuterQuote{"}
|
\MakeOuterQuote{"}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Moloch avec barre de progression
|
% Moloch avec barre de progression
|
||||||
|
@ -40,19 +40,19 @@
|
||||||
|
|
||||||
% Table des matières comme frame de nouvelle partie
|
% Table des matières comme frame de nouvelle partie
|
||||||
\ifoption@sec
|
\ifoption@sec
|
||||||
\AtBeginSection[]{
|
\AtBeginSection[]{
|
||||||
\begin{frame}[plain, noframenumbering]{\contentsname}
|
\begin{frame}[plain, noframenumbering]{\contentsname}
|
||||||
\tableofcontents[
|
\tableofcontents[
|
||||||
currentsection,
|
currentsection,
|
||||||
subsectionstyle=shaded,
|
subsectionstyle=shaded,
|
||||||
]
|
]
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Table des matières comme frame de nouvelle sous-partie
|
% Table des matières comme frame de nouvelle sous-partie
|
||||||
\ifoption@subsec
|
\ifoption@subsec
|
||||||
\AtBeginSubsection[]{
|
\AtBeginSubsection[]{
|
||||||
\begin{frame}[plain, noframenumbering]{\contentsname}
|
\begin{frame}[plain, noframenumbering]{\contentsname}
|
||||||
\tableofcontents[
|
\tableofcontents[
|
||||||
currentsubsection,
|
currentsubsection,
|
||||||
|
@ -60,26 +60,26 @@
|
||||||
subsectionstyle=show/shaded,
|
subsectionstyle=show/shaded,
|
||||||
]
|
]
|
||||||
\end{frame}
|
\end{frame}
|
||||||
}
|
}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
\ifoption@dark
|
\ifoption@dark
|
||||||
% Thème sombre
|
% Thème sombre
|
||||||
\setbeamercolor{normal text}{fg=white,bg=black!90}
|
\setbeamercolor{normal text}{fg=white,bg=black!90}
|
||||||
\setbeamercolor{alerted text}{fg=orange!65!white}
|
\setbeamercolor{alerted text}{fg=orange!65!white}
|
||||||
\setbeamercolor{progress bar}{bg=alerted text.fg!20!black!90}
|
\setbeamercolor{progress bar}{bg=alerted text.fg!20!black!90}
|
||||||
\setbeamercolor{frametitle}{bg=black!92}
|
\setbeamercolor{frametitle}{bg=black!92}
|
||||||
\setbeamercolor{palette primary}{use=structure,fg=structure.fg}
|
\setbeamercolor{palette primary}{use=structure,fg=structure.fg}
|
||||||
\else
|
\else
|
||||||
% Augmente l'épaisseur de la barre de progression sur les diapos
|
% Augmente l'épaisseur de la barre de progression sur les diapos
|
||||||
\setlength{\moloch@progressinheadfoot@linewidth}{0.8pt}
|
\setlength{\moloch@progressinheadfoot@linewidth}{0.8pt}
|
||||||
|
|
||||||
% Couleur de la police
|
% Couleur de la police
|
||||||
\setbeamercolor{normal text}{fg=black}
|
\setbeamercolor{normal text}{fg=black}
|
||||||
|
|
||||||
% Ne change pas les autres couleurs
|
% Ne change pas les autres couleurs
|
||||||
\definecolor{mDarkTeal}{HTML}{23373b}
|
\definecolor{mDarkTeal}{HTML}{23373b}
|
||||||
\setbeamercolor{palette primary}{bg=mDarkTeal}
|
\setbeamercolor{palette primary}{bg=mDarkTeal}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% Point au lieu de carré dans les listes
|
% Point au lieu de carré dans les listes
|
||||||
|
|
Loading…
Reference in a new issue