Logos in Präsentationen ohne Vortrag ermöglicht
This commit is contained in:
parent
73ec9a6096
commit
d045334b6c
@ -33,6 +33,12 @@
|
|||||||
\DeclareOption{onelecture}{\onelecturetrue}
|
\DeclareOption{onelecture}{\onelecturetrue}
|
||||||
\newif\ifgitinfo
|
\newif\ifgitinfo
|
||||||
\DeclareOption{gitinfo}{\gitinfotrue}
|
\DeclareOption{gitinfo}{\gitinfotrue}
|
||||||
|
\newif\iflogo
|
||||||
|
\DeclareOption{logo}{\logotrue}
|
||||||
|
\newif\iflogoins
|
||||||
|
\DeclareOption{logoins}{\logoinstrue}
|
||||||
|
\newif\ifnonumbers
|
||||||
|
\DeclareOption{nonumbers}{\nonumberstrue}
|
||||||
\ProcessOptions
|
\ProcessOptions
|
||||||
|
|
||||||
%\RequirePackage[draft]{ddi-common}
|
%\RequirePackage[draft]{ddi-common}
|
||||||
@ -710,7 +716,7 @@
|
|||||||
{\hskip\paperwidth\hskip-2.14cm\pgfuseshading{mytransition}}
|
{\hskip\paperwidth\hskip-2.14cm\pgfuseshading{mytransition}}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
\def\insertlogo{}
|
\iflogo\else\def\insertlogo{}\fi
|
||||||
|
|
||||||
\def\setupsidebar{
|
\def\setupsidebar{
|
||||||
\setbeamertemplate{sidebar right}
|
\setbeamertemplate{sidebar right}
|
||||||
@ -742,14 +748,27 @@
|
|||||||
\insertshortauthor[width=2cm-2pt,center,respectlinebreaks]\fi\par%
|
\insertshortauthor[width=2cm-2pt,center,respectlinebreaks]\fi\par%
|
||||||
\vskip1.25em%
|
\vskip1.25em%
|
||||||
}\fi%
|
}\fi%
|
||||||
\ifcd\else\hbox to2cm{\hss\insertlogo\hss}
|
\ifcd
|
||||||
\vskip1.25em\fi%
|
\else%\hbox to2cm{\hss\insertlogo\hss}
|
||||||
|
\iflogoins
|
||||||
|
\else
|
||||||
|
\hbox to2cm{\hss\insertlogo\hss}
|
||||||
|
\vskip1.25em
|
||||||
|
\fi%
|
||||||
|
\fi%
|
||||||
\insertverticalnavigation{2cm}%
|
\insertverticalnavigation{2cm}%
|
||||||
\ifcd\vskip2em\else\vfill\fi
|
\ifcd\vskip2em\else\vfill\fi
|
||||||
|
\iflogoins
|
||||||
|
\hbox to 2cm{\hss\insertlogo\hss}
|
||||||
|
\else
|
||||||
\hbox to 2cm{\hfill\insertshortinstitute\hskip 2.5pt}
|
\hbox to 2cm{\hfill\insertshortinstitute\hskip 2.5pt}
|
||||||
|
\fi%
|
||||||
\vskip3pt
|
\vskip3pt
|
||||||
|
|
||||||
|
\ifnonumbers
|
||||||
|
\else
|
||||||
\hbox to 2cm{\hfill\normalfont\strut\usebeamerfont{slide in sidebar}\insertframenumber\hskip5pt}%
|
\hbox to 2cm{\hfill\normalfont\strut\usebeamerfont{slide in sidebar}\insertframenumber\hskip5pt}%
|
||||||
|
\fi%
|
||||||
\vskip3pt%
|
\vskip3pt%
|
||||||
\hbox to 2cm{\hfill\insertCC\hskip 2.5pt}
|
\hbox to 2cm{\hfill\insertCC\hskip 2.5pt}
|
||||||
\vskip3pt
|
\vskip3pt
|
||||||
@ -793,11 +812,17 @@
|
|||||||
{\usebeamercolor[fg]{institute} \insertinstitute}\vskip1em\fi
|
{\usebeamercolor[fg]{institute} \insertinstitute}\vskip1em\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\iflogo
|
||||||
\pgfdeclareimage[width=2cm]{logo}{}%../../planning/logo}
|
\pgfdeclareimage[width=2cm]{logo}{logo.pdf}%../../planning/logo}
|
||||||
|
\logo{
|
||||||
|
\pgfuseimage{logo}
|
||||||
|
}
|
||||||
|
\else
|
||||||
|
\pgfdeclareimage[width=2cm]{logo}{}
|
||||||
\logo{
|
\logo{
|
||||||
%\pgfuseimage{logo}
|
%\pgfuseimage{logo}
|
||||||
}
|
}
|
||||||
|
\fi
|
||||||
\ifcd
|
\ifcd
|
||||||
|
|
||||||
\setbeamertemplate{section in toc}
|
\setbeamertemplate{section in toc}
|
||||||
|
Loading…
Reference in New Issue
Block a user