You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
citation-analysis/presentation/beamerouterthemepas.sty

69 lines
1.6 KiB

% Should cover:
% + The head- and footline.
% + The sidebars.
% + The logo.
% + The frame title.
\mode<presentation>
%define logos
\def\unilogofull{%
\raisebox{0pt}{\includegraphics[height=18pt]{logos/unilogo.png}}%
}
\def\inslogo{
\raisebox{2pt}{\includegraphics[height=15pt]{logos/inslogo.png}}%
}
\def\deplogo{
\raisebox{2pt}{\includegraphics[height=15pt]{logos/deplogo.png}}%
}
\def\unilogo{
\raisebox{1pt}{\includegraphics[height=18pt]{logos/unilogo_short.png}}%
}
% Frame title
\defbeamertemplate*{frametitle}{pas}
{
\vskip10pt%
\begin{beamercolorbox}[wd=\paperwidth,leftskip=1.2cm,rightskip=1.2cm plus1fil,vmode]{frametitle}
\usebeamerfont*{frametitle}\insertframetitle%
\ifx\insertframesubtitle\@empty%
\strut\par%
\else
\par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}%
\fi%%
\usebeamerfont{headline}%
\vskip.5ex
\end{beamercolorbox}%
\nointerlineskip
\begin{beamercolorbox}[colsep=0.41pt]{upper separation line foot}
\end{beamercolorbox}
}
% Foot line
\defbeamertemplate*{footline}{pas}
{%
\nointerlineskip%
\begin{beamercolorbox}[colsep=0.1pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=20pt,dp=3pt,%
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
\ifnum\thepage=1\relax%
{%
\inslogo%
%\deplogo%
\hfill\unilogofull
}%
\else%
{%
\unilogo%
\inslogo%
\hfill\raisebox{3pt}{\usebeamerfont{pagenumber footline}\insertpagenumber}
}%
\fi
\end{beamercolorbox}%
}
\mode<all>