moved constants out of command for potential customization
This commit is contained in:
@ -102,25 +102,26 @@ BoldItalicFont = *-Bold-Italic
|
||||
|
||||
% title page
|
||||
|
||||
\newcommand{\titletextleftedge}{0.056}
|
||||
|
||||
\newcommand{\titlelogowidth}{0.14}
|
||||
\newcommand{\titlelogoupperedge}{0.84}
|
||||
|
||||
\newcommand{\titleboxheight}{0.27}
|
||||
|
||||
\newcommand{\titleimageheight}{0.78}
|
||||
|
||||
\newcommand{\ypostitle}{4.65}
|
||||
\newcommand{\ypossubtitle}{3.8}
|
||||
\newcommand{\yposauthor}{1.1}
|
||||
\newcommand{\yposlocationdate}{0.75}
|
||||
|
||||
\colorlet{authorfont}{white}
|
||||
\colorlet{datefont}{white}
|
||||
|
||||
|
||||
\defbeamertemplate*{title page}{PSI}[1][]
|
||||
{
|
||||
\newcommand{\titletextleftedge}{0.056}
|
||||
|
||||
\newcommand{\titlelogowidth}{0.14}
|
||||
\newcommand{\titlelogoupperedge}{0.84}
|
||||
|
||||
\newcommand{\titleboxheight}{0.27}
|
||||
|
||||
\newcommand{\titleimageheight}{0.78}
|
||||
|
||||
\newcommand{\ypostitle}{4.65}
|
||||
\newcommand{\ypossubtitle}{3.8}
|
||||
\newcommand{\yposauthor}{1.1}
|
||||
\newcommand{\yposlocationdate}{0.75}
|
||||
|
||||
\colorlet{authorfont}{white}
|
||||
\colorlet{datefont}{white}
|
||||
|
||||
\begin{tikzpicture}[overlay, remember picture, shift={(current page.south west)}] % use the whole page
|
||||
|
||||
\ifx \inserttitleimage \empty
|
||||
@ -190,28 +191,29 @@ BoldItalicFont = *-Bold-Italic
|
||||
|
||||
% frame
|
||||
|
||||
\newcommand{\frametitlelogowidth}{0.075}
|
||||
\newcommand{\frametitlelogoupperedge}{0.96}
|
||||
\newcommand{\frametitlelogorightedge}{0.94}
|
||||
|
||||
\newcommand{\frametitleupperedge}{0.95}
|
||||
\newcommand{\frametitleleftedge}{0.055}
|
||||
\newcommand{\frametitlespace}{0.75}
|
||||
|
||||
\newcommand{\bottomupperedge}{0.06}
|
||||
\newcommand{\bottomauthorleftedge}{\frametitleleftedge}
|
||||
\newcommand{\bottominstituteleftedge}{0.12}
|
||||
\newcommand{\bottomdaterightedge}{0.94} % 1 - 0.06
|
||||
|
||||
\colorlet{frametitlefont}{black}
|
||||
\colorlet{bottomfont}{black}
|
||||
|
||||
|
||||
\setbeamertemplate{frametitle}
|
||||
{
|
||||
\newcommand{\titlelogowidth}{0.075}
|
||||
\newcommand{\titlelogoupperedge}{0.96}
|
||||
\newcommand{\titlelogorightedge}{0.94}
|
||||
|
||||
\newcommand{\frametitleupperedge}{0.95}
|
||||
\newcommand{\frametitleleftedge}{0.055}
|
||||
\newcommand{\frametitlespace}{0.75}
|
||||
|
||||
\newcommand{\bottomupperedge}{0.06}
|
||||
\newcommand{\bottomauthorleftedge}{\frametitleleftedge}
|
||||
\newcommand{\bottominstituteleftedge}{0.12}
|
||||
\newcommand{\bottomdaterightedge}{0.94} % 1 - 0.06
|
||||
|
||||
\colorlet{frametitlefont}{black}
|
||||
\colorlet{bottomfont}{black}
|
||||
|
||||
\begin{tikzpicture}[overlay, remember picture, shift={(current page.south west)}] % use the whole page
|
||||
|
||||
\node[inner sep=0pt, anchor=north east] (psi-logo) at (\titlelogorightedge\paperwidth, \titlelogoupperedge\paperheight) {
|
||||
\includegraphics[width=\titlelogowidth\paperwidth]{psipresentation/imgs/logos/psi-logo-black}
|
||||
\node[inner sep=0pt, anchor=north east] (psi-logo) at (\frametitlelogorightedge\paperwidth, \frametitlelogoupperedge\paperheight) {
|
||||
\includegraphics[width=\frametitlelogowidth\paperwidth]{psipresentation/imgs/logos/psi-logo-black}
|
||||
};
|
||||
|
||||
\node[inner sep=0pt, anchor=north west] (frame-title) at (\frametitleleftedge\paperwidth, \frametitleupperedge\paperheight) {
|
||||
|
Reference in New Issue
Block a user