2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2021-04-03 17:27:30 +02:00
|
|
|
% Copyleft Trullemans Gregory %
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2021-04-03 17:27:30 +02:00
|
|
|
% @version 2.1 %
|
|
|
|
% @date 2021-04-03 %
|
|
|
|
% %
|
|
|
|
% Seconde version du template de la Fédération francophone de Gymnastique et de fitness. %
|
2021-03-16 09:27:30 +01:00
|
|
|
% Suite à la mise à jour du site internet fin 2020, le FfG définit une nouvelle charte graphique %
|
2021-04-03 17:27:30 +02:00
|
|
|
% complète. %
|
|
|
|
% %
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
|
2016-06-03 14:52:18 +02:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
% Package definition
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
\ProvidesPackage{ffgTemplate}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
% Required Package
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-12-16 10:13:27 +01:00
|
|
|
\RequirePackage[a4paper, top=2cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} % Gestion des marges
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage[french]{babel} % Gestion du français
|
|
|
|
\RequirePackage{graphicx} % Gestion des images
|
|
|
|
\RequirePackage{xcolor} % Gestion des couleurs
|
|
|
|
\RequirePackage{hyperref} % Gestion des hyperliens
|
|
|
|
\RequirePackage{fancyhdr} % Gestion des en-têtes et pieds de pages.
|
|
|
|
\RequirePackage{pifont} % Gestion des symbols (\ding{55} dans le footer)
|
|
|
|
\RequirePackage{array} % Gestion (améliorée) des tableaux
|
|
|
|
\RequirePackage{ulem} % Gestion (avancée) des soulignements
|
|
|
|
\RequirePackage{mathtools, amsmath, amstext, amssymb, amsthm} % Package de l'AMS + mathtools
|
|
|
|
\RequirePackage{gensymb} % symbole \degree
|
2021-03-16 09:27:30 +01:00
|
|
|
\RequirePackage{cancel}
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage{nicefrac} % Gestion des fractions
|
|
|
|
\RequirePackage{xspace} % Gestion intelligente de l'espace après une commande
|
|
|
|
\RequirePackage{lmodern} % Police de caractère
|
|
|
|
\RequirePackage{calc} % Syntaxe naturelle pour les calculs
|
2021-03-16 09:27:30 +01:00
|
|
|
\RequirePackage{framed}
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage{tcolorbox} % Pour créer des boites colorées.
|
|
|
|
\RequirePackage{multirow} % Pour fusionner des lignes dans un tableau
|
2024-07-17 15:18:01 +02:00
|
|
|
\RequirePackage{soul} % Pour souligner \ul{}
|
|
|
|
\RequirePackage{caption} % permet l'utilisation de \caption dans les minipage
|
2016-06-03 14:52:18 +02:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% Layout fisrt page
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage{eso-pic} % Gestion du background de la page de garde.
|
2023-11-05 17:06:37 +01:00
|
|
|
\RequirePackage[absolute,overlay]{textpos} % Gestion des positions du texte (option de config : showboxes, textblock, …)
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage{fontspec} % Gestion de "arial" ET "arial narrow" comme font.
|
|
|
|
\RequirePackage{anyfontsize} % Gestion des tailles de police hors dictionnaire
|
|
|
|
\RequirePackage{shadowtext} % Gestion des ombres
|
2016-06-03 14:52:18 +02:00
|
|
|
|
2023-04-10 13:11:23 +02:00
|
|
|
% Layout Document
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage[explicit]{titlesec} % Gestion des sections
|
|
|
|
\RequirePackage{titletoc} % Gestion de la table des matière
|
|
|
|
\RequirePackage{titling} % Gestion des titres
|
|
|
|
\RequirePackage{enumitem} % Gestion des listes
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
% Tools kit
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage{fancybox} % pour dessiner des boites ;-)
|
|
|
|
\RequirePackage{etoolbox} % Renew command & robust command
|
2021-03-16 09:27:30 +01:00
|
|
|
\RequirePackage{float}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
% other package
|
2021-04-03 17:24:17 +02:00
|
|
|
\RequirePackage{bm} % Notation mathématique en gras
|
|
|
|
\RequirePackage{lscape} % Gestion du mode "paysage"
|
2023-11-05 10:45:17 +01:00
|
|
|
\RequirePackage{svg}
|
|
|
|
% \RequirePackage[inkscapeformat=png]{svg}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
2018-07-31 11:52:04 +02:00
|
|
|
\frenchbsetup{StandardItemLabels=true}
|
|
|
|
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2018-07-31 11:52:04 +02:00
|
|
|
% Define global variable for document
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2018-07-31 11:52:04 +02:00
|
|
|
\def\federationName{Fédération francophone de Gymnastique et de fitness}
|
|
|
|
\def\federationAcronym{FfG}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
% (Re)Define parametres for document
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
\setmainfont{Arial}
|
2021-04-03 17:24:17 +02:00
|
|
|
\addto\captionsfrench{\def\tablename{Tableau}} % Définition du mot pour les tableaux
|
|
|
|
\addto\captionsfrench{\def\figurename{Figure}} % Définition du mot pour les Figures
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
% Color definition
|
2021-03-16 09:27:30 +01:00
|
|
|
\definecolor{ffg_darkblue}{RGB}{21,29,76}
|
2023-11-05 10:53:45 +01:00
|
|
|
\definecolor{ffg_lightblue}{RGB}{0, 112, 192}
|
2021-03-16 09:27:30 +01:00
|
|
|
\definecolor{ffg_red}{RGB}{241, 83, 60}
|
|
|
|
|
|
|
|
\definecolor{ffg_title_color}{RGB}{12, 97, 158}
|
|
|
|
\definecolor{ffg_section_color}{RGB}{24, 146, 239}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
\definecolor{footer_color}{RGB}{128, 128, 128}
|
|
|
|
\definecolor{flyingblue}{RGB}{49, 123, 181}
|
|
|
|
\definecolor{greymoreknowledge}{RGB}{200, 200, 200}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
% Parametres for TextPos
|
|
|
|
\setlength{\TPHorizModule}{1mm}
|
2021-04-03 17:24:17 +02:00
|
|
|
\textblockorigin{5mm}{5mm} % start everything near the top-left corner
|
|
|
|
\setlength{\parindent}{0pt} % Pas d'indentation au placement du texte
|
2016-06-03 14:52:18 +02:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
\setlength\fboxrule{0.75pt}
|
|
|
|
\newcommand{\mybox}[1]{\fbox{$~~~ \displaystyle#1 ~~~$}}
|
2018-07-31 11:52:04 +02:00
|
|
|
|
2024-08-12 17:38:32 +02:00
|
|
|
\newcommand\PreviousYear{%
|
|
|
|
\advance\year by -1 \the\year\advance\year by 1
|
|
|
|
}
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
\newcommand\NextYear{%
|
2021-04-03 17:27:30 +02:00
|
|
|
\advance\year by 1 \the\year\advance\year by -1
|
|
|
|
}
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
% Image's first page definition
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
\newcommand\BackgroundPic{%
|
2021-04-03 17:24:17 +02:00
|
|
|
\put(0,0){%
|
|
|
|
\parbox[b][\paperheight]{\paperwidth}{%
|
|
|
|
\vfill
|
|
|
|
\centering
|
|
|
|
\includegraphics[scale=1]{firstpage.png}%
|
|
|
|
\vfill
|
|
|
|
}
|
|
|
|
}
|
2016-06-03 14:52:18 +02:00
|
|
|
}
|
|
|
|
|
2016-12-16 10:13:27 +01:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
% First Page's definition
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
\def\maketitle{%
|
2021-04-03 17:24:17 +02:00
|
|
|
\null
|
|
|
|
\thispagestyle{empty}%
|
|
|
|
|
2023-11-05 17:06:37 +01:00
|
|
|
% Logo FfG en haut à gauche
|
2023-11-05 10:45:17 +01:00
|
|
|
\begin{textblock}{50}(6,0.35)
|
|
|
|
\includegraphics[scale=0.05]{ffg_logo.png}%
|
|
|
|
\end{textblock}
|
|
|
|
|
|
|
|
% Titre du document
|
|
|
|
\begin{textblock}{200}(0,3)
|
|
|
|
\centering
|
2023-11-05 18:06:23 +01:00
|
|
|
\textcolor{ffg_darkblue}{\fontsize{33}{42}\selectfont {\bfseries \formationType~\discipline}}\par
|
2023-11-05 10:45:17 +01:00
|
|
|
\vspace{2.5cm}
|
2023-11-05 18:06:23 +01:00
|
|
|
\textcolor{ffg_red}{\fontsize{33}{42}\selectfont {\bfseries Module : \moduleTitle}}\par
|
2023-11-05 10:45:17 +01:00
|
|
|
\end{textblock}
|
|
|
|
|
|
|
|
% Type de document
|
|
|
|
\begin{textblock}{200}(0,9)
|
2023-11-05 17:06:37 +01:00
|
|
|
\centering
|
2023-11-05 18:06:23 +01:00
|
|
|
\textcolor{ffg_lightblue}{\fontsize{28}{42}\selectfont {\bfseries Formation des Cadres}}\par
|
2023-11-05 10:45:17 +01:00
|
|
|
\end{textblock}
|
|
|
|
|
2023-11-05 18:09:52 +01:00
|
|
|
% Saisons concernées
|
|
|
|
\begin{textblock}{200}(0,11.68)
|
2023-11-05 10:45:17 +01:00
|
|
|
\centering
|
2024-08-12 17:38:32 +02:00
|
|
|
\ifnum \number\month < 9
|
|
|
|
\textcolor{white}{\fontsize{30}{84}\selectfont {\PreviousYear}\hspace{3cm} {\the\year}}\par
|
|
|
|
\else
|
|
|
|
\textcolor{white}{\fontsize{30}{84}\selectfont {\the\year}\hspace{3cm} {\NextYear}}\par
|
|
|
|
\fi
|
2023-11-05 17:06:37 +01:00
|
|
|
\end{textblock}
|
|
|
|
|
|
|
|
% FfG en bas à gauche
|
|
|
|
\begin{textblock}{65}(7.9,14.44)
|
2023-11-05 18:06:23 +01:00
|
|
|
\textcolor{white}{\fontsize{16}{20}\selectfont Fédération francophone de Gymnastique et de Fitness}\par
|
2023-11-05 10:45:17 +01:00
|
|
|
\end{textblock}
|
|
|
|
|
2023-11-05 17:06:37 +01:00
|
|
|
% site web en bas à droite
|
2023-11-05 18:06:23 +01:00
|
|
|
\begin{textblock}{50}(144.5,14.69)
|
|
|
|
\textcolor{white}{\fontsize{18}{20}\selectfont \textbf{www.FfGym.be}}\par
|
|
|
|
\end{textblock}
|
2023-11-05 17:06:37 +01:00
|
|
|
|
2021-04-03 17:24:17 +02:00
|
|
|
\null
|
|
|
|
\cleardoublepage
|
2016-06-03 14:52:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
% Other page definition
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
\fancypagestyle{plain}{%
|
2021-04-03 17:24:17 +02:00
|
|
|
\renewcommand\headrulewidth{0pt}
|
2023-04-10 13:11:23 +02:00
|
|
|
\fancyhead[C]{}
|
2021-04-03 17:24:17 +02:00
|
|
|
\fancyhead[L]{}
|
|
|
|
\fancyhead[R]{}
|
|
|
|
\fancyhf{}
|
|
|
|
|
|
|
|
%% Footer
|
|
|
|
\renewcommand{\footrulewidth}{0pt}
|
|
|
|
\fancyfoot[L]{\fontsize{9}{10}\selectfont \textit{\textcolor{footer_color}{Formation des Cadres\\ \discipline}}}
|
|
|
|
\fancyfoot[C]{\fontsize{9}{10}\selectfont \textit{\textcolor{footer_color}{p. \thepage}}}
|
2024-08-12 17:38:32 +02:00
|
|
|
\ifnum \number\month < 9
|
|
|
|
\fancyfoot[R]{\fontsize{9}{10}\selectfont \textit{\textcolor{footer_color}{Edition \PreviousYear~-~\the\year}}}
|
|
|
|
\else
|
|
|
|
\fancyfoot[R]{\fontsize{9}{10}\selectfont \textit{\textcolor{footer_color}{Edition \the\year~-~\NextYear}}}
|
|
|
|
\fi
|
2016-06-03 14:52:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
% Titles layout redefinition
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
2016-06-03 14:52:18 +02:00
|
|
|
\makeatletter
|
2021-03-16 09:27:30 +01:00
|
|
|
\colorlet{shadecolor}{ffg_title_color}
|
|
|
|
|
|
|
|
|
|
|
|
% Numbered chapter title
|
|
|
|
\titleformat{\chapter}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{16pt}{12pt}\selectfont\color{white}\begin{shaded*}}
|
|
|
|
{\thechapter \qquad #1}
|
|
|
|
{0pt}
|
|
|
|
{\end{shaded*}}
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing{\chapter}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt}
|
|
|
|
{0pt}
|
|
|
|
{0pt}
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
% Unnumbered chapter title
|
|
|
|
\titleformat{name=\chapter, numberless}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{16pt}{12pt}\selectfont\color{white}\begin{shaded*}}
|
|
|
|
{#1}
|
|
|
|
{0pt}
|
|
|
|
{\end{shaded*}}
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing{name=\chapter, numberless}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt}
|
|
|
|
{-20pt}
|
|
|
|
{-20pt}
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
% Numbered section title
|
|
|
|
\titleformat{\section}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{14pt}{12pt}\selectfont\color{ffg_section_color}}
|
|
|
|
{\thesection \qquad #1}
|
|
|
|
{0pt}
|
|
|
|
{}
|
|
|
|
[\vspace{-4mm} {\color{ffg_lightblue}\titlerule[.6mm]} \enlargethispage{-\parskip}]
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing*{\section}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt} % left
|
|
|
|
{24pt} % top
|
|
|
|
{10pt} % bottom
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
% Unnumbered section title
|
|
|
|
\titleformat{name=\section, numberless}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{14pt}{12pt}\selectfont\color{ffg_section_color}}
|
2023-11-05 10:45:17 +01:00
|
|
|
{\qquad #1}
|
|
|
|
{0pt}
|
|
|
|
{}
|
|
|
|
[\vspace{-4mm} {\color{ffg_lightblue}\titlerule[.6mm]} \enlargethispage{-\parskip}]
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% Numbered subsection title
|
|
|
|
\titleformat{\subsection}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{13pt}{12pt}\selectfont\color{ffg_title_color}}
|
|
|
|
{\quad \thesubsection \quad #1}
|
|
|
|
{0pt}
|
|
|
|
{}
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing*{\subsection}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt}
|
|
|
|
{18pt}
|
|
|
|
{0pt}
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
% Unnumbered subsection title
|
|
|
|
\titleformat{name=\subsection, numberless}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{13pt}{12pt}\selectfont\color{ffg_title_color}}
|
|
|
|
{\quad #1}
|
|
|
|
{0pt}
|
|
|
|
{}
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing*{\subsection}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt}
|
|
|
|
{18pt}
|
|
|
|
{0pt}
|
2021-03-16 09:27:30 +01:00
|
|
|
|
2023-04-10 13:11:23 +02:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% Numbered subsubsection title
|
|
|
|
\titleformat{\subsubsection}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{11pt}{12pt}\selectfont\color{ffg_title_color}}
|
|
|
|
{\qquad \thesubsubsection \quad #1}
|
|
|
|
{0pt}
|
|
|
|
{}
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing*{\subsubsection}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt}
|
|
|
|
{12pt}
|
|
|
|
{-10pt}
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
% Unnumbered subsubsection title
|
|
|
|
\titleformat{name=\subsubsection, numberless}[display]
|
2021-04-03 17:24:17 +02:00
|
|
|
{\fontsize{11pt}{12pt}\selectfont\color{ffg_title_color}}
|
|
|
|
{\qquad #1}
|
|
|
|
{0pt}
|
|
|
|
{}
|
2021-03-16 09:27:30 +01:00
|
|
|
\titlespacing*{name=\subsubsection, numberless}
|
2021-04-03 17:24:17 +02:00
|
|
|
{0pt}
|
|
|
|
{12pt}
|
|
|
|
{-10pt}
|
2016-06-03 14:52:18 +02:00
|
|
|
|
|
|
|
\makeatother
|
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
\pagestyle{plain}
|
2016-06-03 14:52:18 +02:00
|
|
|
\AtBeginDocument{
|
2021-04-03 17:24:17 +02:00
|
|
|
\setcounter{secnumdepth}{3}
|
|
|
|
\setcounter{tocdepth}{3}
|
|
|
|
\AddToShipoutPicture*{\BackgroundPic}
|
2016-06-03 14:52:18 +02:00
|
|
|
}
|
|
|
|
|
2018-07-31 11:52:04 +02:00
|
|
|
|
2021-03-16 09:27:30 +01:00
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
% Redefine Theoreme & Definition
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
\renewenvironment{leftbar}[1][\hsize]
|
|
|
|
{
|
2021-04-03 17:24:17 +02:00
|
|
|
\def\FrameCommand
|
|
|
|
{
|
|
|
|
{\color{ffg_title_color}\vrule width 3pt}
|
|
|
|
\hspace{0pt}
|
|
|
|
}
|
|
|
|
\MakeFramed{\hsize#1\advance\hsize-\width\FrameRestore}
|
2021-03-16 09:27:30 +01:00
|
|
|
}
|
|
|
|
{\endMakeFramed}
|
|
|
|
|
|
|
|
\newtheoremstyle{new_theorem_style}
|
2021-04-03 17:24:17 +02:00
|
|
|
{\topsep} % space before \topsep
|
|
|
|
{\topsep} % space after\topsep
|
|
|
|
{\itshape} % body font
|
|
|
|
{} % indent
|
|
|
|
{\bfseries} % header font
|
|
|
|
{} % punctuation
|
|
|
|
{\newline} % after theorem header
|
|
|
|
{\thmname{#1}~\thmnumber{#2}\thmnote{\ -\ #3}\\*[-1.5ex]}% header specification (empty for default)
|
2021-03-16 09:27:30 +01:00
|
|
|
|
|
|
|
\theoremstyle{new_theorem_style}
|
|
|
|
\newtheorem*{definitionT}{\color{ffg_title_color}{Définition}}
|
|
|
|
\newenvironment{definition}
|
|
|
|
{
|
2021-04-03 17:24:17 +02:00
|
|
|
\begin{leftbar}
|
|
|
|
\begin{definitionT}
|
|
|
|
\mbox{}\noindent\ignorespaces}{
|
|
|
|
\end{definitionT}
|
|
|
|
\end{leftbar}
|
2021-03-16 09:27:30 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
% Define colorbox
|
|
|
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
|
|
|
|
\newtcolorbox{knowledgebox}{colback=ffg_red!5!white, colframe=ffg_red!100!black, fonttitle=\bfseries, title={Savoir}, breakable} %breakable
|
|
|
|
\newtcolorbox{skillsbox}{colback=flyingblue!5!white, colframe=flyingblue!100!black, fonttitle=\bfseries, title={Savoir faire}, breakable} %breakable
|
|
|
|
\newtcolorbox{morebox}{colback=greymoreknowledge!5!white, colframe=greymoreknowledge!100!black, fonttitle=\bfseries, title={Allez plus loin\ldots}, breakable}
|
|
|
|
\newtcolorbox{dangerbox}[1]{colback=red!5!white, colframe=red!100!black, fonttitle=\bfseries, title={Important}, breakable} %breakable
|
|
|
|
|
2018-07-31 11:52:04 +02:00
|
|
|
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% References
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2016-06-03 14:52:18 +02:00
|
|
|
% http://www.liv.ac.uk/~maryrees/posterproduction/textpos.pdf
|
|
|
|
% http://latex-community.org/forum/viewtopic.php?f=4&t=23421
|
|
|
|
% http://www.grappa.univ-lille3.fr/FAQ-LaTeX/6.3.html
|
|
|
|
% https://www.overleaf.com/2177757tknnqv#/5555417/
|
|
|
|
% http://tutex.tug.org/pracjourn/2005-4/hefferon/hefferon.pdf
|
|
|
|
% http://tex.stackexchange.com/questions/528/style-class-tutorials
|