Ajout de commentaires
This commit is contained in:
parent
57141e2252
commit
150c3f2628
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
|
||||
|
@ -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 :
|
||||
|
||||
git submodule add https://framagit.org/Gregory/layout_syllabus_ffg
|
||||
git submodule add https://framagit.org/Gregory/layout_slide_ffg
|
||||
|
||||
### Utilisatation
|
||||
|
||||
|
||||
|
||||
### Auteur(s)
|
||||
|
||||
|
|
|
@ -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> %
|
||||
% %
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% 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}
|
||||
\DeclareOptionBeamer{backgroundimagefile}{\def\blackboard@backgroundimagefile{#1}}
|
||||
\ProcessOptionsBeamer
|
||||
|
@ -27,12 +27,3 @@
|
|||
% Use a small bulletpoint for a list
|
||||
\setbeamertemplate{itemize items}{\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}
|
||||
}
|
||||
|
|
|
@ -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> %
|
||||
|
@ -7,60 +7,95 @@
|
|||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\ProvidesPackage{beamerthemeffg}
|
||||
|
||||
% List of packages
|
||||
\RequirePackage{beamerbasethemes}[2004/10/07]
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{ifthen}
|
||||
\RequirePackage[french]{babel} % Gestion du français
|
||||
\RequirePackage[T1]{fontenc}
|
||||
\RequirePackage{calc} % Syntaxe naturelle pour les calculs
|
||||
\RequirePackage{ifthen}
|
||||
\RequirePackage[no-math]{fontspec}
|
||||
\RequirePackage{nicefrac} % Gestion des fractions
|
||||
\RequirePackage{ragged2e}
|
||||
\RequirePackage{graphics}
|
||||
\RequirePackage[frenchb]{babel}
|
||||
\RequirePackage{nicefrac}
|
||||
\RequirePackage{xcolor}
|
||||
% \RequirePackage{graphics}
|
||||
\RequirePackage{graphicx} % Gestion des images
|
||||
\RequirePackage{xcolor} % Gestion des couleurs
|
||||
\RequirePackage{tikz}
|
||||
|
||||
% define the FfG's orange
|
||||
\definecolor{ffgorange}{RGB}{239, 125, 55}
|
||||
\RequirePackage{textcomp} % Pour éviter les problèmes avec gensymb`'
|
||||
\RequirePackage{gensymb} % symbole \degree
|
||||
|
||||
\useoutertheme{ffg}
|
||||
|
||||
\setbeamertemplate{frametitle}{
|
||||
\vskip3pt
|
||||
\hspace{2.8cm}
|
||||
\insertframetitle\\
|
||||
\hspace{3.1cm}
|
||||
\usebeamerfont{framesubtitle}\insertframesubtitle
|
||||
\par
|
||||
\vskip15pt
|
||||
% define the FfG's orange
|
||||
\definecolor{old_ffg_orange}{RGB}{239, 125, 55}
|
||||
\definecolor{ffg_darkblue}{RGB}{21,29,76}
|
||||
\definecolor{ffg_lightblue}{RGB}{0, 120, 190}
|
||||
\definecolor{ffg_red}{RGB}{241, 83, 60}
|
||||
|
||||
% FfG Color
|
||||
\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{blocks}[rounded][shadow=true]
|
||||
|
||||
\setbeamertemplate{title}{
|
||||
\vskip3pt
|
||||
\maketitle
|
||||
}
|
||||
|
||||
\mode<presentation>
|
||||
|
||||
% Set text colors for different objects
|
||||
% Set color for titles
|
||||
\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
|
||||
\setbeamercolor{frametitle}{fg=ffgorange}
|
||||
\setbeamercolor{frametitle}{fg=white}
|
||||
\setbeamercolor{structure}{fg=black}
|
||||
\setbeamercolor{normal text}{fg=black}
|
||||
|
||||
% Title
|
||||
\setbeamercolor{block title alerted}{fg=white, bg=orange}
|
||||
\setbeamercolor{block title alerted}{fg=white, bg=ffg_red}
|
||||
|
||||
% Body
|
||||
\setbeamercolor{block body alerted}{fg=red,bg=white}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 136 KiB |
Loading…
Reference in New Issue