Commit 2f160cd3 authored by Leonid Bloch's avatar Leonid Bloch

Switch the TikZ logo to a png

This is done because the Communications Department demands standard
fonts in the logo.
Signed-off-by: Leonid Bloch's avatarLeonid Bloch <leonid.bloch@esrf.fr>
parent 5ab38072
......@@ -39,42 +39,12 @@
\setbeamertemplate{itemize subitem}{\tiny\raise1.0pt\hbox{\donotcoloroutermaths$\square$}}
\setbeamertemplate{itemize subsubitem}{\tiny\raise0.5pt\hbox{\donotcoloroutermaths$\diamond$}}
% ESRF logo
% Usage: \ESRFlogo{SCALE}{LOGO FONT SIZE}{ONELINE FONT SIZE}{ABOVE LINE}{[R|L]}
% SCALE: as needed.
% LOGO FONT SIZE | ONELINE FONT SIZE: font sizes for the logo text and the one line next to it.
% ABOVE LINE: distance of the "ESRF" line above the bottom logo line.
% R or L: (optional) if you want the text line to appear to the right/left of the logo, leave empty for no text line.
% Examples: \ESRFlogo{8.5}{\LARGE}{\Large}{-0.1}{R} or: \ESRFlogo{4}{\scriptsize}{\tiny}{-0.6}{}
\newcommand{\ESRFlogo}[5]{
\def\Direction{#5}
\def\Left{L}
\def\Right{R}
\begin{tikzpicture}[line cap=round, ESRFblue1]
\begin{scope}[rotate=-90]
\draw[line width=0.45*#1 pt, dash pattern=on 0pt off pi*#1/5.5] (0,0) circle (#1 pt);
\draw[line width=0.28*#1 pt, dash pattern=on 0pt off pi*1.48*#1/11] (0,0) circle (1.48*#1 pt);
\draw[line width=0.22*#1 pt, dash pattern=on 0pt off pi*1.85*#1/11] (0,0) circle (1.85*#1 pt);
\draw[line width=0.16*#1 pt, dash pattern=on 0pt off pi*2.2*#1/11] (0,0) circle (2.2*#1 pt);
\end{scope}
\draw[line width=0.1*#1 pt] (-2.95*#1 pt,-2.2*#1 pt) -- (-1.33*#1 pt,-2.2*#1 pt);
\draw[line width=0.1*#1 pt] (1.33*#1 pt,-2.2*#1 pt) -- (2.95*#1 pt,-2.2*#1 pt);
\draw[line width=0.1*#1 pt] (-2.95*#1 pt,-4.4*#1 pt) -- (2.95*#1 pt,-4.4*#1 pt) node[pos=0.5, above=#4*#1 pt] {#2\bf \textrm{ESRF}};
\ifx\Direction\Right
\draw[line width=0.1*#1 pt] (4.3*#1 pt,-4.4*#1 pt) -- (4.3*#1 pt,-2.2*#1 pt) node[pos=0.35, right=0.3*#1 pt] {#3 The European Synchrotron};
\fi
\ifx\Direction\Left
\draw[line width=0.1*#1 pt] (-4.3*#1 pt,-4.4*#1 pt) -- (-4.3*#1 pt,-2.2*#1 pt) node[pos=0.35, left=0.6*#1 pt] {#3 The European Synchrotron};
\fi
\end{tikzpicture}
}
% Title page
\defbeamertemplate*{title page}{custom}[1][]
{
\vfill
\begin{centering}
\ESRFlogo{8.5}{\LARGE}{\Large}{-0.1}{R}
\includegraphics[width=0.62\paperwidth]{logo-main}
\vskip1.5em
\usebeamerfont{title}\inserttitle\par
\usebeamerfont{subtitle}\insertsubtitle\par
......@@ -137,8 +107,8 @@
\hspace{0.6em}\insertshortdate\hspace{0.6em}$\vert$%
\hspace{0.6em}\insertshortauthor%
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=0.335\paperwidth,ht=1.3em,dp=0.5em,right]{section in head/foot}%
\raisebox{-0.5em}{\ESRFlogo{4}{\scriptsize}{\tiny}{-0.2}{L}}
\begin{beamercolorbox}[wd=0.335\paperwidth,ht=1.3em,dp=0.5em,right,rightskip=4pt]{section in head/foot}%
\raisebox{-0.245em}{\includegraphics[scale=0.225]{logo-side}}
\end{beamercolorbox}%
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment