Commit c8b6de75ad4d772f478a7df2fb74ca4692a90ba1
1 parent
039cef2b44
Exists in
main
Ajout d'un \insertinstitute dans la page de titre
Showing 1 changed file with 3 additions and 1 deletions Inline Diff
beamerthemefemto.sty
View file @
c8b6de7
\mode<presentation> | 1 | 1 | \mode<presentation> | |
2 | 2 | |||
\RequirePackage{tikz} | 3 | 3 | \RequirePackage{tikz} | |
\RequirePackage{xcolor} | 4 | 4 | \RequirePackage{xcolor} | |
\RequirePackage{helvet} | 5 | 5 | \RequirePackage{helvet} | |
\usetikzlibrary{fit,positioning,calc,patterns.meta} | 6 | 6 | \usetikzlibrary{fit,positioning,calc,patterns.meta} | |
7 | 7 | |||
8 | 8 | |||
\usecolortheme{femto} | 9 | 9 | \usecolortheme{femto} | |
\usefonttheme{femto} | 10 | 10 | \usefonttheme{femto} | |
11 | 11 | |||
\setbeamertemplate{title page} | 12 | 12 | \setbeamertemplate{title page} | |
{ | 13 | 13 | { | |
\begin{tikzpicture}[remember picture, overlay] | 14 | 14 | \begin{tikzpicture}[remember picture, overlay] | |
\node[fit=(current page),fill=\@femtomaincolor] {}; | 15 | 15 | \node[fit=(current page),fill=\@femtomaincolor] {}; | |
\node[anchor=north west,inner sep=3mm] at (current page.north west) | 16 | 16 | \node[anchor=north west,inner sep=3mm] at (current page.north west) | |
{\includegraphics[width=3cm]{img/Femto-logo_blanc-2012-transp.png}}; | 17 | 17 | {\includegraphics[width=3cm]{img/Femto-logo_blanc-2012-transp.png}}; | |
\node[anchor=south west,inner sep=3mm] (CNRS) at (current page.south | 18 | 18 | \node[anchor=south west,inner sep=3mm] (CNRS) at (current page.south | |
west) | 19 | 19 | west) | |
{\includegraphics[height=1cm]{img/CNRS_logo_blanc_sur_alpha.pdf}}; | 20 | 20 | {\includegraphics[height=1cm]{img/CNRS_logo_blanc_sur_alpha.pdf}}; | |
\node[inner sep=0, right=0 of CNRS] (UBFC) | 21 | 21 | \node[inner sep=0, right=0 of CNRS] (UBFC) | |
{\includegraphics[height=1cm]{img/ubfc_blanc_sur_alpha.pdf}}; | 22 | 22 | {\includegraphics[height=1cm]{img/ubfc_blanc_sur_alpha.pdf}}; | |
\node[inner sep=0, right=3mm of UBFC] (UFC) | 23 | 23 | \node[inner sep=0, right=3mm of UBFC] (UFC) | |
{\includegraphics[height=.5cm]{img/ufc_blanc_sur_alpha.pdf}}; | 24 | 24 | {\includegraphics[height=.5cm]{img/ufc_blanc_sur_alpha.pdf}}; | |
\node[inner sep=0, right=3mm of UFC] (ENSMM) | 25 | 25 | \node[inner sep=0, right=3mm of UFC] (ENSMM) | |
{\includegraphics[height=1cm]{img/ENSMM.png}}; | 26 | 26 | {\includegraphics[height=1cm]{img/ENSMM.png}}; | |
\node[inner sep=0, right=3mm of ENSMM] (UTBM) | 27 | 27 | \node[inner sep=0, right=3mm of ENSMM] (UTBM) | |
{\includegraphics[height=1cm]{img/UTBM.eps}}; | 28 | 28 | {\includegraphics[height=1cm]{img/UTBM.eps}}; | |
29 | 29 | |||
% orange arc | 30 | 30 | % orange arc | |
\node[anchor=center, inner sep=0] at ($(current page.south west) + (0, | 31 | 31 | \node[anchor=center, inner sep=0] at ($(current page.south west) + (0, | |
2.5cm)$) { | 32 | 32 | 2.5cm)$) { | |
\begin{tikzpicture} | 33 | 33 | \begin{tikzpicture} | |
\path[fill=femtoredstrong, even odd rule] (0, 0) circle[radius=10px] | 34 | 34 | \path[fill=femtoredstrong, even odd rule] (0, 0) circle[radius=10px] | |
(0, 0) circle[radius=20px]; | 35 | 35 | (0, 0) circle[radius=20px]; | |
\end{tikzpicture} | 36 | 36 | \end{tikzpicture} | |
}; | 37 | 37 | }; | |
38 | 38 | |||
% yellow arc | 39 | 39 | % yellow arc | |
\node[anchor=center, inner sep=0] at ($(current page.north east) + (0, | 40 | 40 | \node[anchor=center, inner sep=0] at ($(current page.north east) + (0, | |
-3cm)$) { | 41 | 41 | -3cm)$) { | |
\begin{tikzpicture} | 42 | 42 | \begin{tikzpicture} | |
\path[fill=femtoyellowstrong, even odd rule] (0, 0) circle[radius=10px] | 43 | 43 | \path[fill=femtoyellowstrong, even odd rule] (0, 0) circle[radius=10px] | |
(0, 0) circle[radius=20px]; | 44 | 44 | (0, 0) circle[radius=20px]; | |
\end{tikzpicture} | 45 | 45 | \end{tikzpicture} | |
}; | 46 | 46 | }; | |
% white dot arc | 47 | 47 | % white dot arc | |
\node[anchor=center, inner sep=0] at ($(current page.north west) + (6cm, 0)$) { | 48 | 48 | \node[anchor=center, inner sep=0] at ($(current page.north west) + (6cm, 0)$) { | |
\begin{tikzpicture} | 49 | 49 | \begin{tikzpicture} | |
\path[pattern color=white, pattern={Dots[distance=2px]}, even odd rule] (0, 0) circle[radius=10px] | 50 | 50 | \path[pattern color=white, pattern={Dots[distance=2px]}, even odd rule] (0, 0) circle[radius=10px] | |
(0, 0) circle[radius=20px]; | 51 | 51 | (0, 0) circle[radius=20px]; | |
\end{tikzpicture} | 52 | 52 | \end{tikzpicture} | |
}; | 53 | 53 | }; | |
54 | 54 | |||
% white cross | 55 | 55 | % white cross | |
\node[anchor=center, inner sep=0] at ($(current page.center) + (3cm, | 56 | 56 | \node[anchor=center, inner sep=0] at ($(current page.center) + (3cm, | |
-1.5cm)$) { | 57 | 57 | -1.5cm)$) { | |
% white cross arc | 58 | 58 | % white cross arc | |
\begin{tikzpicture} | 59 | 59 | \begin{tikzpicture} | |
\path[fill=white] (0, 0) rectangle (30px, 10px); | 60 | 60 | \path[fill=white] (0, 0) rectangle (30px, 10px); | |
\path[fill=white] (10px, 20px) rectangle (20px, -10px); | 61 | 61 | \path[fill=white] (10px, 20px) rectangle (20px, -10px); | |
\end{tikzpicture} | 62 | 62 | \end{tikzpicture} | |
}; | 63 | 63 | }; | |
64 | 64 | |||
% purple angle | 65 | 65 | % purple angle | |
\node[anchor=center, inner sep=0] at ($(current page.north west) + (3.7cm, | 66 | 66 | \node[anchor=center, inner sep=0] at ($(current page.north west) + (3.7cm, | |
-1.9cm)$) { | 67 | 67 | -1.9cm)$) { | |
% white cross arc | 68 | 68 | % white cross arc | |
\begin{tikzpicture} | 69 | 69 | \begin{tikzpicture} | |
\path[fill=femtopurplestrong] (0, 0) rectangle (-20px, 10px); | 70 | 70 | \path[fill=femtopurplestrong] (0, 0) rectangle (-20px, 10px); | |
\path[fill=femtopurplestrong] (0, 0) rectangle (-10px, 20px); | 71 | 71 | \path[fill=femtopurplestrong] (0, 0) rectangle (-10px, 20px); | |
\end{tikzpicture} | 72 | 72 | \end{tikzpicture} | |
}; | 73 | 73 | }; | |
\end{tikzpicture} | 74 | 74 | \end{tikzpicture} | |
75 | 75 | |||
{\huge \textbf{\inserttitle}}\\ | 76 | 76 | {\huge \textbf{\inserttitle}}\\ | |
{\Large \insertsubtitle} | 77 | 77 | {\Large \insertsubtitle} | |
78 | 78 | |||
\hspace{-8mm}\tikz{\draw[color=\@femtolightcolor] (0, 0) -- (8mm, 0);} | 79 | 79 | \hspace{-8mm}\tikz{\draw[color=\@femtolightcolor] (0, 0) -- (8mm, 0);} | |
80 | 80 | |||
{\normalsize \textit{\insertauthor}} | 81 | 81 | {\normalsize \textit{\insertauthor}}\\ | |
82 | \medskip | |||
83 | {\small \insertinstitute} | |||
} | 82 | 84 | } | |
83 | 85 | |||
\setbeamertemplate{footline} | 84 | 86 | \setbeamertemplate{footline} | |
{ | 85 | 87 | { | |
86 | 88 | |||
\newcommand{\separationwidth}{\paperwidth} | 87 | 89 | \newcommand{\separationwidth}{\paperwidth} | |
\advance \separationwidth by -7mm | 88 | 90 | \advance \separationwidth by -7mm | |
\hspace{4mm} | 89 | 91 | \hspace{4mm} | |
\begin{beamercolorbox}[wd=\separationwidth,ht=.5pt]{top separation line | 90 | 92 | \begin{beamercolorbox}[wd=\separationwidth,ht=.5pt]{top separation line | |
foot} | 91 | 93 | foot} | |
\end{beamercolorbox} | 92 | 94 | \end{beamercolorbox} | |
93 | 95 | |||
\hbox{ | 94 | 96 | \hbox{ | |
\begin{beamercolorbox}[wd=.2\paperwidth,ht=8mm,sep=2mm]{background} | 95 | 97 | \begin{beamercolorbox}[wd=.2\paperwidth,ht=8mm,sep=2mm]{background} | |
\includegraphics[height=5mm]{img/Femto-logo_gris-2012.png} | 96 | 98 | \includegraphics[height=5mm]{img/Femto-logo_gris-2012.png} | |
\end{beamercolorbox}% | 97 | 99 | \end{beamercolorbox}% | |
\begin{beamercolorbox}[wd=.8\paperwidth,ht=8mm]{background} | 98 | 100 | \begin{beamercolorbox}[wd=.8\paperwidth,ht=8mm]{background} | |
\parbox[b][8mm][c]{.8\paperwidth}{ | 99 | 101 | \parbox[b][8mm][c]{.8\paperwidth}{ | |
\usebeamerfont{footline} | 100 | 102 | \usebeamerfont{footline} | |
\hfill \insertshorttitle $\ |$ \insertshortauthor $\ |$ \insertshortdate | 101 | 103 | \hfill \insertshorttitle $\ |$ \insertshortauthor $\ |$ \insertshortdate | |
\usebeamerfont{page number in head/foot} | 102 | 104 | \usebeamerfont{page number in head/foot} | |
\hspace{3mm} | 103 | 105 | \hspace{3mm} | |
\insertframenumber | 104 | 106 | \insertframenumber | |
} | 105 | 107 | } | |
\end{beamercolorbox} | 106 | 108 | \end{beamercolorbox} | |
} | 107 | 109 | } | |
} | 108 | 110 | } | |
109 | 111 | |||
% Removes navigation | 110 | 112 | % Removes navigation | |
\setbeamertemplate{navigation symbols} | 111 | 113 | \setbeamertemplate{navigation symbols} | |
{ | 112 | 114 | { | |
} | 113 | 115 | } | |
114 | 116 | |||
\setbeamertemplate{background} | 115 | 117 | \setbeamertemplate{background} | |
{ | 116 | 118 | { | |
% Bottom left angle | 117 | 119 | % Bottom left angle | |
\begin{tikzpicture}[remember picture, overlay] | 118 | 120 | \begin{tikzpicture}[remember picture, overlay] | |
\node[anchor=south west] at ($(current page.south west) + (1mm, 9mm)$) { | 119 | 121 | \node[anchor=south west] at ($(current page.south west) + (1mm, 9mm)$) { | |
\begin{tikzpicture} | 120 | 122 | \begin{tikzpicture} | |
\path[fill=\@femtomaincolor] (0, 0) -- (16px, 0) -- (16px, | 121 | 123 | \path[fill=\@femtomaincolor] (0, 0) -- (16px, 0) -- (16px, | |
8px) -- (8px, 8px)--(8px, 16px) -- (0, 16px); | 122 | 124 | 8px) -- (8px, 8px)--(8px, 16px) -- (0, 16px); | |
\end{tikzpicture} | 123 | 125 | \end{tikzpicture} | |
}; | 124 | 126 | }; | |
\end{tikzpicture} | 125 | 127 | \end{tikzpicture} | |
126 | 128 | |||
% Mirrored F symbol | 127 | 129 | % Mirrored F symbol | |
\begin{tikzpicture}[remember picture, overlay] | 128 | 130 | \begin{tikzpicture}[remember picture, overlay] | |
\node[anchor=north east, inner sep=0] at ($(current page.north east) + (-3mm, -3mm)$) { | 129 | 131 | \node[anchor=north east, inner sep=0] at ($(current page.north east) + (-3mm, -3mm)$) { | |
\begin{tikzpicture}[] | 130 | 132 | \begin{tikzpicture}[] | |
\path[fill=\@femtolightcolor] (0, 0) -- (12px, 0) -- (12px, | 131 | 133 | \path[fill=\@femtolightcolor] (0, 0) -- (12px, 0) -- (12px, |