diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/guide-latex-fr/Support_oral/beamerinnerthemeFeather.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/guide-latex-fr/Support_oral/beamerinnerthemeFeather.sty | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/guide-latex-fr/Support_oral/beamerinnerthemeFeather.sty b/Master/texmf-dist/doc/latex/guide-latex-fr/Support_oral/beamerinnerthemeFeather.sty new file mode 100644 index 00000000000..1237d954f92 --- /dev/null +++ b/Master/texmf-dist/doc/latex/guide-latex-fr/Support_oral/beamerinnerthemeFeather.sty @@ -0,0 +1,99 @@ +% This is the inner theme file of the Feather theme. +% Copyright (c) 2014 by Lilyana Vaskova Vankova <lilqna.v@gmail.com> +% +% This program is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% This program is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You can find the GNU General Public License at <http://www.gnu.org/licenses/>. + +%---------------------------------------------------------------------------------------------------------------------------------- + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{beamerinnerthemeFeather}[2017/08/22 v1.1.0 The Feather Beamer Theme] + +%---------------------------------------------------------------------------------------------------------------------------------- + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Theme options, definitions and templates. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%---------------------------------------------------------------------------------------------------------------------------------- + +% Beamer specific options +\mode<presentation> % Refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode +{ + +%---------------------------------------------------------------------------------------------------------------------------------- + +% Title page +%% Definitions for fonts of the different elements + +%\setbeamerfont{institute}{family = \rmfamily, size = \footnotesize} +\setbeamerfont{institute}{size = \small} +\setbeamerfont{title}{size = \Large} +\setbeamerfont{subtitle}{size = \large} +\setbeamerfont{author}{size = \normalsize} +\setbeamerfont{date}{size = \small} + +%% LLT: make title background image configurable +\newcommand{\backgroundfile}{1-title} + +\setbeamertemplate{title page}{ +%% Setting the above definitions +%% LLT: Reset unnumbered frames count to 0 + \setcounter{unnumberedframe}{0} + \begin{minipage}[c][\textheight][c]{\textwidth} + \centering % Sauts de lignes obligatoires ici + + {\usebeamerfont{institute}\insertinstitute}\vspace*{30pt} + + {\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle}\vspace*{10pt} + + {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle}\vspace*{30pt} + + {\usebeamerfont{author}\insertauthor}\vspace*{30pt} + + {\usebeamerfont{date}\insertdate}\vspace*{\baselineskip} + \end{minipage} +} + +%---------------------------------------------------------------------------------------------------------------------------------- + +% Final page +\defbeamertemplate{final page}{text}[1]{ + \begin{minipage}[c][\textheight][c]{\textwidth} + \centering + #1 + \end{minipage} +} + +\newcommand{\finalpage}[1]{ + \setbeamertemplate{final page}[text]{#1} + \usebeamertemplate{final page} +} + +%---------------------------------------------------------------------------------------------------------------------------------- + +% Add the feather to the background of the titlepage and the final page +\newcommand{\1}{ + \setbeamertemplate{background}{ + %% LLT: use \backgroundfile + \includegraphics[width=\paperwidth,height=\paperheight]{\backgroundfile} + \tikz[overlay] \fill[fill opacity = 0.25, fill = white] (0,0) rectangle (-\paperwidth,\paperheight); % [fill opacity = 0.75, fill = white] + } +} + +%---------------------------------------------------------------------------------------------------------------------------------- + +% Use numbers instead of a picture for the references +\setbeamertemplate{bibliography item}[text] +} + +\mode<all>
\ No newline at end of file |