diff --git a/bainrae.cls b/bainrae.cls index d6c6df56b87faa635d6bdb0be0fb3c96d283ecfc..fdc172fa38aa5b43c03e56c0419ed30f0153a636 100644 --- a/bainrae.cls +++ b/bainrae.cls @@ -24,6 +24,7 @@ %% Required packages \usepackage{graphicx} +\usepackage[export]{adjustbox} %% Colors (as recommanded in Charte graphique INRAE \definecolor{inraeg}{HTML}{00a3a6} @@ -59,9 +60,9 @@ \end{beamercolorbox} } -\setbeamertemplate{frametitle}{\includegraphics[width=0.4cm]{bullet_head.pdf} +\setbeamertemplate{frametitle}{\includegraphics[valign=m,width=0.4cm]{bullet.pdf} \hspace*{0.2cm} \insertframetitle \par} -\setbeamertemplate{title}{\includegraphics[width=0.4cm]{bullet.pdf} -\hspace*{0.2cm} bla \insertitle \par} +\setbeamertemplate{title}{\includegraphics[valign=m,width=0.4cm]{bullet.pdf} +\hspace*{0.5cm} bla \insertitle \par} diff --git a/myslidesINRAE.tex b/myslidesINRAE.tex index fe9aec5085da1127748ee54bfb4db46c17cdadf4..3dfaccf268d8276ff02f5a9720c30abd9475c1d5 100755 --- a/myslidesINRAE.tex +++ b/myslidesINRAE.tex @@ -12,7 +12,7 @@ \begin{document} \sloppy -\title[Short title]{\includegraphics[width=0.5cm]{bullet.pdf}\hspace*{0.2cm} +\title[Short title]{\includegraphics[valign=m,width=0.5cm]{bullet.pdf}\hspace*{0.2cm} Long title} \subtitle{Nathalie Vialaneix} \author[Nathalie Vialaneix]{