beamerinnerthemeJuelich.sty 1.81 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
% Latex-Beamer Template Research Centre Juelich
% version 17.12
% please report any problems to i.kabadshow@fz-juelich.de
% this version does support pdflatex, xelatex and lualatex
%

\mode<presentation>
%------------------------------------------------
% subtitle: allow different styles
%------------------------------------------------
\expandafter\let\csname beamer@@tmpop@subtitle@default\endcsname\relax
\defbeamertemplate*{subtitle}{short}
{%
  \setbeamerfont*{subtitle}{parent=subtitle short}
}

\defbeamertemplate{subtitle}{long}
{%
  \setbeamerfont*{subtitle}{parent=subtitle long}
}

\defbeamertemplatealias{subtitle}{default}{short}

% Enumerate items, Juelich
\setbeamertemplate{enumerate items}[square]



\expandafter\let\csname beamer@@tmpop@itemize item@square\endcsname\relax
Ivo Kabadshow's avatar
Ivo Kabadshow committed
30
\defbeamertemplate*{itemize item}{square}{\small\hbox{\vrule width .75ex height 1ex depth -.25ex}}
31 32

\expandafter\let\csname beamer@@tmpop@itemize subitem@square\endcsname\relax
Ivo Kabadshow's avatar
Ivo Kabadshow committed
33
\defbeamertemplate*{itemize subitem}{square}{\footnotesize\hbox{\vrule width .75ex height 1ex depth -.25ex}}
34 35

\expandafter\let\csname beamer@@tmpop@itemize subsubitem@dash\endcsname\relax
Ivo Kabadshow's avatar
Ivo Kabadshow committed
36
\defbeamertemplate*{itemize subsubitem}{dash}{\footnotesize--}
37 38 39 40 41

\setbeamercolor{block title}{use=structure,fg=white,bg=structure.fg}

% fix block spacing
%\addtobeamertemplate{block begin}{\vskip-\medskipamount}{}
42
%\addtobeamertemplate{block end}{}{\vskip-\smallskipamount}
43
%
44
\renewcommand<>{\emph}[1]{\alt#2{\structure{#1}}{#1}}
45 46 47 48 49 50 51 52 53 54

\let\oldabovecaptionskip\abovecaptionskip
\let\oldbelowcaptionskip\belowcaptionskip
\BeforeBeginEnvironment{columns}{%
    \setlength{\abovecaptionskip}{\dimexpr\oldabovecaptionskip+12.2pt\relax}%
    \setlength{\belowcaptionskip}{\dimexpr\oldbelowcaptionskip-11.86pt\relax}%
    \begin{minipage}{\linewidth}}
\AfterEndEnvironment{columns}{\end{minipage}}

\mode<all>