Ajout de commentaires

This commit is contained in:
Gregory Trullemans 2024-09-10 09:47:15 +02:00
parent 57141e2252
commit 150c3f2628
5 changed files with 70 additions and 47 deletions

View File

@ -1,6 +1,6 @@
# Layout Slides FfG # Layout Slides FfG
Style LaTeX pour pouvoir générer des syllabus repectant la charte graphique de la FfG (Fédération francophone de Gymnastique et de fitness). Style LaTeX pour pouvoir générer des ***slides*** repectant la charte graphique de la FfG (Fédération francophone de Gymnastique et de fitness).
### Installation ### Installation
@ -8,11 +8,8 @@ Style LaTeX pour pouvoir générer des syllabus repectant la charte graphique de
Se placer dans le répertoire source du projet LaTeX et taper la commande : Se placer dans le répertoire source du projet LaTeX et taper la commande :
git submodule add https://framagit.org/Gregory/layout_syllabus_ffg git submodule add https://framagit.org/Gregory/layout_slide_ffg
### Utilisatation
### Auteur(s) ### Auteur(s)

View File

@ -1,12 +1,12 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CopyLeft Gregory Trullemans % % Copyleft Trullemans Gregory %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % % %
% Some parts of this theme are based on the 'diepentheme' by Guido Diepen <diepen@cs.uu.nl> % % Some parts of this theme are based on the 'diepentheme' by Guido Diepen <diepen@cs.uu.nl> %
% % % %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% link to the backgroundimage : image should be in the same directory as the other files % Link to the backgroundimage : image should be in the same directory as the other files
\def\blackboard@backgroundimagefile{slide.png} \def\blackboard@backgroundimagefile{slide.png}
\DeclareOptionBeamer{backgroundimagefile}{\def\blackboard@backgroundimagefile{#1}} \DeclareOptionBeamer{backgroundimagefile}{\def\blackboard@backgroundimagefile{#1}}
\ProcessOptionsBeamer \ProcessOptionsBeamer
@ -27,12 +27,3 @@
% Use a small bulletpoint for a list % Use a small bulletpoint for a list
\setbeamertemplate{itemize items}{\usebeamercolor[fg]{item}\small{•}} \setbeamertemplate{itemize items}{\usebeamercolor[fg]{item}\small{•}}
\setbeamertemplate{itemize itemize item}{\usebeamercolor[fg]{item}\small{*-}} \setbeamertemplate{itemize itemize item}{\usebeamercolor[fg]{item}\small{*-}}
\defbeamertemplate*{frametitle}{ffg theme}[1][right]
{
\begin{beamercolorbox}{frametitle}
\vskip5pt
\insertframetitle \\
\usebeamerfont{framesubtitle}\insertframesubtitle
\end{beamercolorbox}
}

View File

@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% CopyLeft Gregory Trullemans % % Copyleft Trullemans Gregory %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % % %
% Some parts of this theme are based on the 'diepentheme' by Guido Diepen <diepen@cs.uu.nl> % % Some parts of this theme are based on the 'diepentheme' by Guido Diepen <diepen@cs.uu.nl> %
@ -7,60 +7,95 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{beamerthemeffg} \ProvidesPackage{beamerthemeffg}
% List of packages
\RequirePackage{beamerbasethemes}[2004/10/07] \RequirePackage{beamerbasethemes}[2004/10/07]
\RequirePackage{calc} \RequirePackage[french]{babel} % Gestion du français
\RequirePackage{ifthen}
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\RequirePackage{calc} % Syntaxe naturelle pour les calculs
\RequirePackage{ifthen}
\RequirePackage[no-math]{fontspec} \RequirePackage[no-math]{fontspec}
\RequirePackage{nicefrac} % Gestion des fractions
\RequirePackage{ragged2e} \RequirePackage{ragged2e}
\RequirePackage{graphics} % \RequirePackage{graphics}
\RequirePackage[frenchb]{babel} \RequirePackage{graphicx} % Gestion des images
\RequirePackage{nicefrac} \RequirePackage{xcolor} % Gestion des couleurs
\RequirePackage{xcolor}
\RequirePackage{tikz} \RequirePackage{tikz}
\RequirePackage{textcomp} % Pour éviter les problèmes avec gensymb`'
% define the FfG's orange \RequirePackage{gensymb} % symbole \degree
\definecolor{ffgorange}{RGB}{239, 125, 55}
\useoutertheme{ffg} \useoutertheme{ffg}
\setbeamertemplate{frametitle}{ % define the FfG's orange
\vskip3pt \definecolor{old_ffg_orange}{RGB}{239, 125, 55}
\hspace{2.8cm} \definecolor{ffg_darkblue}{RGB}{21,29,76}
\insertframetitle\\ \definecolor{ffg_lightblue}{RGB}{0, 120, 190}
\hspace{3.1cm} \definecolor{ffg_red}{RGB}{241, 83, 60}
\usebeamerfont{framesubtitle}\insertframesubtitle
\par % FfG Color
\vskip15pt \setbeamercolor{title}{fg=ffg_lightblue}
\setbeamercolor{subtitle}{fg=ffg_red}
\setbeamercolor{author}{fg=ffg_darkblue}
\setbeamercolor{date}{fg=ffg_lightblue}
\setbeamercolor{institute}{fg=ffg_lightblue}
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TITLE SLIDE TEMPLATE
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{title page}{
\vfill
\centering
\hspace*{2.5cm}\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par%
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
\hspace*{2.5cm}{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\vskip1.5cm%
\hspace*{2.1cm}\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor%
\vskip0.2cm%
\hspace*{2.5cm}\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate%
\vskip0.2cm%
\hspace*{2.5cm}\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute%
\vfill
} }
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% COMMON SLIDE TEMPLATE
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{frametitle}{
\nointerlineskip
\vspace{0.1cm}
\hspace{0.4cm}
\insertframetitle\par% % insertion du titre
\hspace{0.45cm}
\usebeamerfont{framesubtitle}\insertframesubtitle
\vspace{-0.75cm}
}
\setbeamertemplate{navigation symbols}{} \setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true] \setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{title}{
\vskip3pt
\maketitle
}
\mode<presentation> \mode<presentation>
% Set text colors for different objects % Set text colors for different objects
% Set color for titles % Set color for titles
\usecolortheme[named=black]{structure} \usecolortheme[named=black]{structure}
% First Page Color
\setbeamercolor{title}{fg=white}
\setbeamercolor{author}{fg=white}
\setbeamercolor{date}{fg=white}
\setbeamercolor{institute}{fg=white}
% Other page % Other page
\setbeamercolor{frametitle}{fg=ffgorange} \setbeamercolor{frametitle}{fg=white}
\setbeamercolor{structure}{fg=black} \setbeamercolor{structure}{fg=black}
\setbeamercolor{normal text}{fg=black} \setbeamercolor{normal text}{fg=black}
% Title % Title
\setbeamercolor{block title alerted}{fg=white, bg=orange} \setbeamercolor{block title alerted}{fg=white, bg=ffg_red}
% Body % Body
\setbeamercolor{block body alerted}{fg=red,bg=white} \setbeamercolor{block body alerted}{fg=red,bg=white}

BIN
first.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 136 KiB

BIN
slide.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 47 KiB