From c5a10031780a5ee23c8f2579d5890fa3cd1caa7c Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 31 May 2024 20:16:39 +0200 Subject: [PATCH] consistent names --- psipresentation.cls | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/psipresentation.cls b/psipresentation.cls index fc3115b..97c7ec5 100644 --- a/psipresentation.cls +++ b/psipresentation.cls @@ -114,10 +114,10 @@ BoldItalicFont = *-Bold-Italic \newcommand{\TPimageheight}{0.78} -\newcommand{\TPypostitle}{4.65} -\newcommand{\TPypossubtitle}{3.8} -\newcommand{\TPyposauthor}{1.1} -\newcommand{\TPyposlocationdate}{0.75} +\newcommand{\TPtitleypos}{4.65} +\newcommand{\TPsubtitleypos}{3.8} +\newcommand{\TPauthorypos}{1.1} +\newcommand{\TPlocationdateypos}{0.75} \newcommand{\TPcenterforwidth}{0.195} \newcommand{\TPcenterforleftedge}{0.208} @@ -136,7 +136,7 @@ BoldItalicFont = *-Bold-Italic \colorlet{TPtitlefont}{white} \colorlet{TPsubtitlefont}{white} \newcommand{\TPlogocolor}{white} - \newcommand{\TPtextspace}{0.66} + \newcommand{\TPtextwidth}{0.66} \node[inner sep=0pt, anchor=south west] (bkg) at (-0.01, -0.01) { \includegraphics[height=\paperheight]{psipresentation/imgs/bkgs/\inserttitlecolor} @@ -147,7 +147,7 @@ BoldItalicFont = *-Bold-Italic \colorlet{TPtitlefont}{black} \colorlet{TPsubtitlefont}{black} \newcommand{\TPlogocolor}{black} - \newcommand{\TPtextspace}{0.43} + \newcommand{\TPtextwidth}{0.43} \fill[\inserttitlecolor] (0, \TPbottomboxheight\paperheight) rectangle ++(\paperwidth, -\paperheight); % bottom color box @@ -172,30 +172,30 @@ BoldItalicFont = *-Bold-Italic %TODO: make the following a command? - \node[inner sep=0pt, anchor=south] (titletext) at (\TPtextleftedge\paperwidth, \TPypostitle) { + \node[inner sep=0pt, anchor=south] (titletext) at (\TPtextleftedge\paperwidth, \TPtitleypos) { \rlap{\huge\textbf{\textcolor{TPtitlefont}{% - \parbox[t]{\TPtextspace\paperwidth}{% + \parbox[t]{\TPtextwidth\paperwidth}{% \inserttitle% } }}}}; - \node[inner sep=0pt] (subtitletext) at (\TPtextleftedge\paperwidth, \TPypossubtitle) { + \node[inner sep=0pt] (subtitletext) at (\TPtextleftedge\paperwidth, \TPsubtitleypos) { \rlap{\large\textbf{\textcolor{TPsubtitlefont}{% - \parbox[t]{\TPtextspace\paperwidth}{% + \parbox[t]{\TPtextwidth\paperwidth}{% \insertsubtitle{}% } }}}}; - \node[inner sep=0pt] (authortext) at (\TPtextleftedge\paperwidth, \TPyposauthor) { + \node[inner sep=0pt] (authortext) at (\TPtextleftedge\paperwidth, \TPauthorypos) { \rlap{\footnotesize{\textcolor{TPauthorfont}{% - \parbox[t]{\TPtextspace\paperwidth}{% + \parbox[t]{\TPtextwidth\paperwidth}{% \insertauthor{}% } }}}}; - \node[inner sep=0pt] (locationdatetext) at (\TPtextleftedge\paperwidth, \TPyposlocationdate) { + \node[inner sep=0pt] (locationdatetext) at (\TPtextleftedge\paperwidth, \TPlocationdateypos) { \rlap{\footnotesize{\textcolor{TPdatefont}{ - \parbox[t]{\TPtextspace\paperwidth}{% + \parbox[t]{\TPtextwidth\paperwidth}{% \insertlocation, \insertdate% } }}}};