new title page

This commit is contained in:
Pierre-antoine Comby 2019-09-07 17:06:37 +02:00
parent 8ba3aca889
commit 32f677a74b
2 changed files with 55 additions and 3 deletions

View file

@ -34,11 +34,58 @@
\def\swidth{2cm} \def\swidth{2cm}
%
% -----------------------------
% Title Page
\setbeamerfont{title}{size=\Huge}
\setbeamerfont{author}{size=\large}
\setbeamerfont{institut}{size=\Large}
\setbeamerfont{subtitle}{size=\Large}
\setbeamerfont{date}{size=\Large}
\setbeamertemplate{title page}{%
\begin{tikzpicture}[remember picture,overlay]
\fill[bleuens]
(current page.north west) rectangle (current page.south east);
\node
at ([yshift=+.15\textheight]current page.center) (title)
{\usebeamerfont{title}\textcolor{white}{\inserttitle}};
\node[below=2em]
at(title) (subtitle)
{\usebeamerfont{subtitle}\textcolor{white}{\insertsubtitle}};
\node
at ([yshift=-70pt]current page.center) (institute)
{\usebeamerfont{institute}\textcolor{white}{\insertinstitute}};
\node
at ([yshift=-50pt]current page.center) (author)
{\usebeamerfont{author}\textcolor{white}{\insertauthor}};
\node[anchor=north west]
at (current page.north west) (logo)
{\usebeamercolor[fg]{titlegraphic}
\includegraphics[scale=0.3]{ENSPS-revert.png}};
\end{tikzpicture}
}
%
% --------------------------------------
% Sidebar
\useoutertheme[height=0pt,width=\swidth, hideothersubsections]{sidebar} \useoutertheme[height=0pt,width=\swidth, hideothersubsections]{sidebar}
\setbeamertemplate{sidebar left} \setbeamertemplate{sidebar left}
{ {
{\vspace{1em} {\vspace{0.9em}
\hspace{-0.4em}
\begin{minipage}{\swidth} \begin{minipage}{\swidth}
\centering \centering
\insertlogo \insertlogo
@ -55,6 +102,7 @@
\vskip3pt% \vskip3pt%
}% }%
% -------------------------------------------------------------------------- % --------------------------------------------------------------------------
% Section as frame title % Section as frame title
\if@section \if@section

View file

@ -23,8 +23,7 @@
\begin{document} \begin{document}
\begin{frame} \begin{frame}
\centering \maketitle
\titlepage
\end{frame} \end{frame}
\begin{frame}{Sommaire} \begin{frame}{Sommaire}
@ -70,3 +69,8 @@
\end{frame} \end{frame}
\end{document} \end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: