Optimization and remove comments.
This commit is contained in:
parent
b1dadb562f
commit
57141e2252
|
@ -14,6 +14,6 @@ Se placer dans le répertoire source du projet LaTeX et taper la commande :
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Auteur(s)
|
### Auteur(s)
|
||||||
|
|
||||||
Trullemans Gregory
|
Trullemans Gregory
|
||||||
|
|
|
@ -1,45 +1,38 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% Copyright 2010 Jasper Bosch <p.j.bosch@student.rug.nl> %
|
% CopyLeft Gregory Trullemans %
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% 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> %
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% %
|
||||||
\RequirePackage{calc}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\RequirePackage{tikz}
|
|
||||||
|
|
||||||
% link to the backgroundimage
|
% link to the backgroundimage : image should be in the same directory as the other files
|
||||||
% 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
|
||||||
|
|
||||||
\mode<presentation>
|
\mode<presentation>
|
||||||
|
|
||||||
% Ca je sais pas (encore) à quoi cela sert !!!
|
|
||||||
\pgfdeclareimage[interpolate=true, height=\the\paperheight, width=\the\paperwidth]{backgroundImage}{\blackboard@backgroundimagefile}
|
\pgfdeclareimage[interpolate=true, height=\the\paperheight, width=\the\paperwidth]{backgroundImage}{\blackboard@backgroundimagefile}
|
||||||
|
|
||||||
% stretch background image over the entire page
|
% Stretch background image over the entire page
|
||||||
\setbeamertemplate{background}{
|
\setbeamertemplate{background}{
|
||||||
% \begin{tikzpicture}
|
|
||||||
% \useasboundingbox (0,0) rectangle (\the\paperwidth, \the\paperheight);
|
|
||||||
% \pgftext[at=\pgfpoint{0cm}{0cm}, left, base]{\pgfuseimage{backgroundImage}};
|
|
||||||
% \end{tikzpicture}
|
|
||||||
\ifnum\c@framenumber=1 %First slide
|
\ifnum\c@framenumber=1 %First slide
|
||||||
\includegraphics[width=\paperwidth,height=\paperheight]{first.png}
|
\includegraphics[width=\paperwidth,height=\paperheight]{first.png}
|
||||||
\else %Other slides
|
\else %Other slides
|
||||||
\includegraphics[width=\paperwidth,height=\paperheight]{slide.png}
|
\includegraphics[width=\paperwidth,height=\paperheight]{slide.png}
|
||||||
\fi%
|
\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
% use a small dash ('-') for a bulletpoint 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]
|
\defbeamertemplate*{frametitle}{ffg theme}[1][right]
|
||||||
{
|
{
|
||||||
\begin{beamercolorbox}{frametitle}
|
\begin{beamercolorbox}{frametitle}
|
||||||
\vskip5pt %17pt
|
\vskip5pt
|
||||||
\insertframetitle \\
|
\insertframetitle \\
|
||||||
\usebeamerfont{framesubtitle}\insertframesubtitle
|
\usebeamerfont{framesubtitle}\insertframesubtitle
|
||||||
\end{beamercolorbox}
|
\end{beamercolorbox}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% CopyLeft Gregory Trullemans %
|
% CopyLeft Gregory Trullemans %
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% 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> %
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
% %
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\ProvidesPackage{beamerthemeffg}
|
\ProvidesPackage{beamerthemeffg}
|
||||||
|
|
||||||
\RequirePackage{beamerbasethemes}[2004/10/07]
|
\RequirePackage{beamerbasethemes}[2004/10/07]
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
\RequirePackage{ifthen}
|
\RequirePackage{ifthen}
|
||||||
\RequirePackage[T1]{fontenc}
|
\RequirePackage[T1]{fontenc}
|
||||||
% \RequirePackage[utf8]{inputenc}
|
|
||||||
\RequirePackage[no-math]{fontspec}
|
\RequirePackage[no-math]{fontspec}
|
||||||
\RequirePackage{ragged2e}
|
\RequirePackage{ragged2e}
|
||||||
\RequirePackage{graphics}
|
\RequirePackage{graphics}
|
||||||
|
@ -19,25 +19,11 @@
|
||||||
\RequirePackage{xcolor}
|
\RequirePackage{xcolor}
|
||||||
\RequirePackage{tikz}
|
\RequirePackage{tikz}
|
||||||
|
|
||||||
|
% define the FfG's orange
|
||||||
\definecolor{ffgorange}{RGB}{239, 125, 55}
|
\definecolor{ffgorange}{RGB}{239, 125, 55}
|
||||||
|
|
||||||
\useoutertheme{ffg}
|
\useoutertheme{ffg}
|
||||||
|
|
||||||
%% This template uses typical OS X and Adobe fonts
|
|
||||||
%\defaultfontfeatures{Mapping=tex-text} % This seems to be important for mapping glyphs properly
|
|
||||||
|
|
||||||
%\setmainfont{Chalkduster} % Beamer ignores "main font" in favor of sans font
|
|
||||||
%\setsansfont{Chalkduster} % This is the font that beamer will use by default
|
|
||||||
%\setmainfont{Gill Sans Light} % Prettier, but harder to read
|
|
||||||
%\setnormalfont{Chalkduster}
|
|
||||||
|
|
||||||
%\setbeamerfont{title}{family=\fontspec{Chalkduster}}
|
|
||||||
|
|
||||||
%\addtobeamertemplate{block begin}{}{\justifying}% new code
|
|
||||||
%\apptocmd{\frame}{\justifying}{}{}%new code
|
|
||||||
|
|
||||||
% remove navigation symbols
|
|
||||||
%\setbeamertemplate{frametitle}{\vskip-6pt}
|
|
||||||
\setbeamertemplate{frametitle}{
|
\setbeamertemplate{frametitle}{
|
||||||
\vskip3pt
|
\vskip3pt
|
||||||
\hspace{2.8cm}
|
\hspace{2.8cm}
|
||||||
|
@ -47,7 +33,7 @@
|
||||||
\par
|
\par
|
||||||
\vskip15pt
|
\vskip15pt
|
||||||
}
|
}
|
||||||
%\setbeamertemplate{framesubtitle}{\insertframesubtitle\par\vskip-15pt}
|
|
||||||
\setbeamertemplate{navigation symbols}{}
|
\setbeamertemplate{navigation symbols}{}
|
||||||
\setbeamertemplate{blocks}[rounded][shadow=true]
|
\setbeamertemplate{blocks}[rounded][shadow=true]
|
||||||
|
|
||||||
|
@ -61,8 +47,6 @@
|
||||||
% 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}
|
||||||
% Set color for the text
|
|
||||||
%\setbeamercolor{normal text}{fg=black}
|
|
||||||
|
|
||||||
% First Page Color
|
% First Page Color
|
||||||
\setbeamercolor{title}{fg=white}
|
\setbeamercolor{title}{fg=white}
|
||||||
|
@ -74,14 +58,14 @@
|
||||||
\setbeamercolor{frametitle}{fg=ffgorange}
|
\setbeamercolor{frametitle}{fg=ffgorange}
|
||||||
\setbeamercolor{structure}{fg=black}
|
\setbeamercolor{structure}{fg=black}
|
||||||
\setbeamercolor{normal text}{fg=black}
|
\setbeamercolor{normal text}{fg=black}
|
||||||
%\setbeamercolor{alerted text}{fg=black}
|
|
||||||
%\setbeamercolor{example text}{fg=black}
|
|
||||||
|
|
||||||
%title
|
% Title
|
||||||
\setbeamercolor{block title alerted}{fg=white, bg=orange}
|
\setbeamercolor{block title alerted}{fg=white, bg=orange}
|
||||||
%body
|
|
||||||
|
% Body
|
||||||
\setbeamercolor{block body alerted}{fg=red,bg=white}
|
\setbeamercolor{block body alerted}{fg=red,bg=white}
|
||||||
% parent of all alerts default is red
|
|
||||||
|
% Parent of all alerts default is red
|
||||||
\setbeamercolor{alerted text}{fg=green}
|
\setbeamercolor{alerted text}{fg=green}
|
||||||
|
|
||||||
% Set color for bullet
|
% Set color for bullet
|
||||||
|
@ -101,4 +85,4 @@
|
||||||
\setbeamerfont{author}{size=\Large, series=\bfseries}
|
\setbeamerfont{author}{size=\Large, series=\bfseries}
|
||||||
\setbeamerfont{date}{size=\tiny}
|
\setbeamerfont{date}{size=\tiny}
|
||||||
\setbeamerfont{institute}{size=\footnotesize}
|
\setbeamerfont{institute}{size=\footnotesize}
|
||||||
\setbeamerfont{block title}{series=\bfseries}
|
\setbeamerfont{block title}{series=\bfseries}
|
||||||
|
|
Loading…
Reference in New Issue