added option for "Center for"
This commit is contained in:
@ -11,6 +11,16 @@
|
|||||||
\location{Location}
|
\location{Location}
|
||||||
\date{DD Month YYYY}
|
\date{DD Month YYYY}
|
||||||
|
|
||||||
|
%% uncomment to add "Center for ..." on the title page
|
||||||
|
%\centerfor{Accelerator Science and Engineering}
|
||||||
|
%\centerfor{Corporate Services}
|
||||||
|
%\centerfor{Energy and Environmental Sciences}
|
||||||
|
%\centerfor{Life Sciences}
|
||||||
|
%\centerfor{Neutron and Muon Sciences}
|
||||||
|
%\centerfor{Nuclear Engineering and Sciences}
|
||||||
|
%\centerfor{Photon Science}
|
||||||
|
\centerfor{Scientific Computing, Theory and Data}
|
||||||
|
|
||||||
%% uncomment to switch to image mode
|
%% uncomment to switch to image mode
|
||||||
%\titleimage{psipresentation/imgs/example}
|
%\titleimage{psipresentation/imgs/example}
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
\institute{Paul Scherrer Institut PSI}
|
\institute{Paul Scherrer Institut PSI}
|
||||||
|
|
||||||
|
\newcommand\centerfor[1]{\def\insertcenterfor{#1}}
|
||||||
|
\let\insertcenterfor\empty
|
||||||
|
|
||||||
\newcommand\location[1]{\def\insertlocation{#1}}
|
\newcommand\location[1]{\def\insertlocation{#1}}
|
||||||
\location{}
|
\location{}
|
||||||
|
|
||||||
@ -116,6 +119,10 @@ BoldItalicFont = *-Bold-Italic
|
|||||||
\newcommand{\yposauthor}{1.1}
|
\newcommand{\yposauthor}{1.1}
|
||||||
\newcommand{\yposlocationdate}{0.75}
|
\newcommand{\yposlocationdate}{0.75}
|
||||||
|
|
||||||
|
\newcommand{\centerforwidth}{0.195}
|
||||||
|
\newcommand{\centerforleftedge}{0.208}
|
||||||
|
\newcommand{\centerforupperedge}{0.8615}
|
||||||
|
|
||||||
\colorlet{authorfont}{white}
|
\colorlet{authorfont}{white}
|
||||||
\colorlet{datefont}{white}
|
\colorlet{datefont}{white}
|
||||||
|
|
||||||
@ -154,6 +161,15 @@ BoldItalicFont = *-Bold-Italic
|
|||||||
\includegraphics[width=\titlelogowidth\paperwidth]{psipresentation/imgs/logos/psi-logo-\logocolor}
|
\includegraphics[width=\titlelogowidth\paperwidth]{psipresentation/imgs/logos/psi-logo-\logocolor}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
\ifx \insertcenterfor \empty \else
|
||||||
|
\node[inner sep=0pt, anchor=south west] (centerfortext) at (\centerforleftedge\paperwidth, \centerforupperedge\paperheight) {
|
||||||
|
\rlap{\fontsize{6}{6}\selectfont\textbf{\textcolor{titlefont}{%
|
||||||
|
\parbox[t]{\centerforwidth\paperwidth}{%
|
||||||
|
Center for \insertcenterfor%
|
||||||
|
}
|
||||||
|
}}}};
|
||||||
|
\fi
|
||||||
|
|
||||||
%TODO: make the following a command?
|
%TODO: make the following a command?
|
||||||
|
|
||||||
\node[inner sep=0pt, anchor=south] (titletext) at (\titletextleftedge\paperwidth, \ypostitle) {
|
\node[inner sep=0pt, anchor=south] (titletext) at (\titletextleftedge\paperwidth, \ypostitle) {
|
||||||
|
Reference in New Issue
Block a user