Compare View

switch
from
...
to
 
Commits (2)

Diff

Showing 3 changed files Inline Diff

beamerthemefemto.sty View file @ 6650049
\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=10pt]
(0, 0) circle[radius=20px]; 35 35 (0, 0) circle[radius=20pt];
\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=10pt]
(0, 0) circle[radius=20px]; 44 44 (0, 0) circle[radius=20pt];
\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=2pt]}, even odd rule] (0, 0) circle[radius=10pt]
(0, 0) circle[radius=20px]; 51 51 (0, 0) circle[radius=20pt];
\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 (30pt, 10pt);
\path[fill=white] (10px, 20px) rectangle (20px, -10px); 61 61 \path[fill=white] (10pt, 20pt) rectangle (20pt, -10pt);
\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 (-20pt, 10pt);
\path[fill=femtopurplestrong] (0, 0) rectangle (-10px, 20px); 71 71 \path[fill=femtopurplestrong] (0, 0) rectangle (-10pt, 20pt);
\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}}\\
\medskip 82 82 \medskip
{\small \insertinstitute} 83 83 {\small \insertinstitute}
} 84 84 }
85 85
\setbeamertemplate{footline} 86 86 \setbeamertemplate{footline}
{ 87 87 {
88 88
\newcommand{\separationwidth}{\paperwidth} 89 89 \newcommand{\separationwidth}{\paperwidth}
\advance \separationwidth by -7mm 90 90 \advance \separationwidth by -7mm
\hspace{4mm} 91 91 \hspace{4mm}
\begin{beamercolorbox}[wd=\separationwidth,ht=.5pt]{top separation line 92 92 \begin{beamercolorbox}[wd=\separationwidth,ht=.5pt]{top separation line
foot} 93 93 foot}
\end{beamercolorbox} 94 94 \end{beamercolorbox}
95 95
\hbox{ 96 96 \hbox{
\begin{beamercolorbox}[wd=.2\paperwidth,ht=8mm,sep=2mm]{background} 97 97 \begin{beamercolorbox}[wd=.2\paperwidth,ht=8mm,sep=2mm]{background}
\includegraphics[height=5mm]{img/Femto-logo_gris-2012.png} 98 98 \includegraphics[height=5mm]{img/Femto-logo_gris-2012.png}
\end{beamercolorbox}% 99 99 \end{beamercolorbox}%
\begin{beamercolorbox}[wd=.8\paperwidth,ht=8mm]{background} 100 100 \begin{beamercolorbox}[wd=.8\paperwidth,ht=8mm]{background}
\parbox[b][8mm][c]{.8\paperwidth}{ 101 101 \parbox[b][8mm][c]{.8\paperwidth}{
\usebeamerfont{footline} 102 102 \usebeamerfont{footline}
\hfill \insertshorttitle $\ |$ \insertshortauthor $\ |$ \insertshortdate 103 103 \hfill \insertshorttitle $\ |$ \insertshortauthor $\ |$ \insertshortdate
\usebeamerfont{page number in head/foot} 104 104 \usebeamerfont{page number in head/foot}
\hspace{3mm} 105 105 \hspace{3mm}
\insertframenumber 106 106 \insertframenumber
} 107 107 }
\end{beamercolorbox} 108 108 \end{beamercolorbox}
} 109 109 }
} 110 110 }
111 111
% Removes navigation 112 112 % Removes navigation
\setbeamertemplate{navigation symbols} 113 113 \setbeamertemplate{navigation symbols}
{ 114 114 {
} 115 115 }
116 116
\setbeamertemplate{background} 117 117 \setbeamertemplate{background}
{ 118 118 {
% Bottom left angle 119 119 % Bottom left angle
\begin{tikzpicture}[remember picture, overlay] 120 120 \begin{tikzpicture}[remember picture, overlay]
\node[anchor=south west] at ($(current page.south west) + (1mm, 9mm)$) { 121 121 \node[anchor=south west] at ($(current page.south west) + (1mm, 9mm)$) {
\begin{tikzpicture} 122 122 \begin{tikzpicture}
\path[fill=\@femtomaincolor] (0, 0) -- (16px, 0) -- (16px, 123 123 \path[fill=\@femtomaincolor] (0, 0) -- (16pt, 0) -- (16pt,
8px) -- (8px, 8px)--(8px, 16px) -- (0, 16px); 124 124 8pt) -- (8pt, 8pt)--(8pt, 16pt) -- (0, 16pt);
\end{tikzpicture} 125 125 \end{tikzpicture}
}; 126 126 };
\end{tikzpicture} 127 127 \end{tikzpicture}
128 128
% Mirrored F symbol 129 129 % Mirrored F symbol
\begin{tikzpicture}[remember picture, overlay] 130 130 \begin{tikzpicture}[remember picture, overlay]
\node[anchor=north east, inner sep=0] at ($(current page.north east) + (-3mm, -3mm)$) { 131 131 \node[anchor=north east, inner sep=0] at ($(current page.north east) + (-3mm, -3mm)$) {
\begin{tikzpicture}[] 132 132 \begin{tikzpicture}[]
\path[fill=\@femtolightcolor] (0, 0) -- (12px, 0) -- (12px, 133 133 \path[fill=\@femtolightcolor] (0, 0) -- (12pt, 0) -- (12pt,
20px) 134 134 20pt)
-- (24px, 20px) -- (24px, 32px) -- (12px, 32px) -- (12px, 135 135 -- (24pt, 20pt) -- (24pt, 32pt) -- (12pt, 32pt) -- (12pt,
44px) 136 136 44pt)
--(12px, 44px) arc[start angle=0, end angle=90, 137 137 --(12pt, 44pt) arc[start angle=0, end angle=90,
radius=28px] (-16px, 72px) 138 138 radius=28pt] (-16pt, 72pt)
-- (-16px, 72px) -- (-36px, 72px) -- (-36px, 60px) -- 139 139 -- (-16pt, 72pt) -- (-36pt, 72pt) -- (-36pt, 60pt) --
(-16px, 60px) 140 140 (-16pt, 60pt)
-- (-16px, 60px) arc[start angle=90, end angle=0, 141 141 -- (-16pt, 60pt) arc[start angle=90, end angle=0,
radius=16px] 142 142 radius=16pt]
-- (0px, 44px) -- (0px, 32px) -- (-12px, 32px) -- 143 143 -- (0pt, 44pt) -- (0pt, 32pt) -- (-12pt, 32pt) --
(-12px, 20px) -- (0px, 20px) -- (0px, 0px); 144 144 (-12pt, 20pt) -- (0pt, 20pt) -- (0pt, 0pt);
\path[fill=\@femtolightcolor] (12px, 60px) rectangle (24px, 72px); 145 145 \path[fill=\@femtolightcolor] (12pt, 60pt) rectangle (24pt, 72pt);
\end{tikzpicture} 146 146 \end{tikzpicture}
}; 147 147 };
\end{tikzpicture} 148 148 \end{tikzpicture}
} 149 149 }
150 150

No preview for this file type

\documentclass{beamer} 1 1 \documentclass{beamer}
2 2
\usetheme{femto} 3 3 \usetheme{femto}
4 4
\title{This Is An Example Presentation} 5 5 \title{This Is An Example Presentation}
\subtitle{Using the femto template} 6 6 \subtitle{Using the femto template}
7 7
\author{Paul BREUGNOT\inst{1}, Vincent LAUDE\inst{2}} 8 8 \author{Paul BREUGNOT\inst{1}, Vincent LAUDE\inst{2}}
9 \institute{
10 \inst{1} Université de Bourgogne Franche-Comté\\
11 \inst{2} Centre National de la Recherche Scientifique
12 }
\institute{ 9 13
\inst{1} Université de Bourgogne Franche-Comté\\ 10 14 \begin{document}
\inst{2} Centre National de la Recherche Scientifique 11 15
} 12 16 \begin{frame}[plain,c]
13 17 \titlepage
\begin{document} 14 18 \end{frame}
15 19
\begin{frame}[plain,c] 16 20 \begin{frame}
\titlepage 17 21 \frametitle{Table of Contents}
\end{frame} 18 22 \tableofcontents
19 23 \end{frame}
\begin{frame} 20 24
\frametitle{Table of Contents} 21 25 \section{Block}
\tableofcontents 22 26 \subsection{Example Block}
\end{frame} 23 27
24 28 \begin{frame}[c]
\section{Block} 25 29 \frametitle{\secname}
\subsection{Example Block} 26 30 \framesubtitle{\subsecname}
27 31
\begin{frame}[c] 28 32 \begin{block}{A Block.}
\frametitle{\secname} 29 33 This is a normal block.
\framesubtitle{\subsecname} 30 34 \end{block}
31 35
\begin{block}{A Block.} 32 36 \begin{alertblock}{Ho No!}
This is a normal block. 33 37 This is an alert block!
\end{block} 34 38 \end{alertblock}
35 39
\begin{alertblock}{Ho No!} 36 40 \begin{exampleblock}{A Small Example.}
This is an alert block! 37 41 This is an example block.
\end{alertblock} 38 42 \end{exampleblock}
39 43
\begin{exampleblock}{A Small Example.} 40 44 \end{frame}
This is an example block. 41 45
\end{exampleblock} 42 46 \section{List}
43 47 \subsection{Example Item}
\end{frame} 44 48
45 49 \begin{frame}[c]
\section{List} 46 50 \frametitle{List}
\subsection{Example Item} 47 51 \framesubtitle{List Example}
48 52
\begin{frame}[c] 49 53 \begin{itemize}
\frametitle{List} 50 54 \item FEMTO-ST
\framesubtitle{List Example} 51 55 \begin{itemize}
52 56 \item Subitem
\begin{itemize} 53 57 \end{itemize}
\item FEMTO-ST 54 58 \item GitLab
\begin{itemize} 55 59 \item LaTeX
\item Subitem 56 60 \end{itemize}
\end{itemize} 57 61 \end{frame}
\item GitLab 58 62
\item LaTeX 59 63 \subsection{Example Enum}
\end{itemize} 60 64