From 25f4c54037a5d3e62084ffd7a9a0fff86f5f362d Mon Sep 17 00:00:00 2001
From: niepra01 <rolf.niepraschk@ptb.de>
Date: Fri, 20 Mar 2015 13:26:22 +0100
Subject: [PATCH] ...

---
 ptbposter/ptbposter-test-hoch.pdf | Bin 150615 -> 150615 bytes
 ptbposter/ptbposter-test-quer.pdf | Bin 150695 -> 150695 bytes
 ptbposter/ptbposter.cls           |  42 ++++++++++++------------------
 3 files changed, 17 insertions(+), 25 deletions(-)

diff --git a/ptbposter/ptbposter-test-hoch.pdf b/ptbposter/ptbposter-test-hoch.pdf
index a8c7234434093c7b32fa5aae8da2ef513ed0bd5e..7c4b21a5e6c45d121a89c65730ae299662ef11fc 100644
GIT binary patch
delta 108
zcmcaUgY)_f&W0AoElkz6EJnr#rqk<fndHH&?Tc)gqIsPyosC>94b6;PEQ~CToGhG8
fEey>p4ctteTucot%$yAD6l@47+3w)YB+du`LjoG*

delta 108
zcmcaUgY)_f&W0AoElkz6EC%ML7Sro(ndHH&?Tc)gqIsQNoDGdloeYg#&0LM#+ziYN
fOq~oY&D>lqEgUTj-HaUV6l@47+3w)YB+du`STP%4

diff --git a/ptbposter/ptbposter-test-quer.pdf b/ptbposter/ptbposter-test-quer.pdf
index f364100f3962b2e16df4952002e45042f12933df..dcc6836fb59bbd133adb6c96ec076b7acf865368 100644
GIT binary patch
delta 107
zcmZ2JlXLk@&W0AoElg`{S&WPg%%*R!Ws(Q8wqLeoD(7`FG<LDHG<I?`vv9I>b8<4U
fG%<8>admMqurM?>bv1RhQ?MbRWP6V{lQbg$Q=S{(

delta 107
zcmZ2JlXLk@&W0AoElg`{Sq#igEvIj=Ws(Q8wqLeoD(7`_bu%|}b1^q?G&gcKcQ!Y)
eG<2~vaC9~Ys&zDXHgmO8upyvidyhAhG$R07(i`Xi

diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls
index 53e39bf..287d291 100644
--- a/ptbposter/ptbposter.cls
+++ b/ptbposter/ptbposter.cls
@@ -6,17 +6,19 @@
 \ProvidesClass{ptbposter}
     [2015/03/20 v0.2f PTB-Poster-Klasse (RN)]
 
-\newdimen\PTB@topmargin  % Abstand zum Rahmen
-\newdimen\PTB@leftmargin % Abstand zum Rahmen
-\newdimen\PTB@default@fsize
-\newdimen\PTB@texthsep   % Abstand Textbereich zum Rand
-\newdimen\PTB@textvsep   % Abstand Textbereich zum Rand
+\newdimen\PTB@topmargin      % Abstand zum Rahmen
+\newdimen\PTB@leftmargin     % Abstand zum Rahmen
+\newdimen\PTB@default@fsize  % Standardschriftgröße im Textbereich (\normalsize)
+\newdimen\PTB@default@tfsize % Standardschriftgröße für den Titel
+\newdimen\PTB@default@afsize % Standardschriftgröße für die Autoren
+\newdimen\PTB@texthsep       % Abstand Textbereich zum Rand
+\newdimen\PTB@textvsep       % Abstand Textbereich zum Rand
 
 \setlength\PTB@default@fsize{41pt}
+\setlength\PTB@default@afsize{106.6pt}
+\setlength\PTB@default@tfsize{106.6pt}
 \setlength\PTB@topmargin{215mm}
 
-\newif\ifPTB@is@landscape \PTB@is@landscapefalse
-
 \newcommand\PTB@tempa{}
 \newcommand\PTB@tempb{}
 \newcommand\PTB@tempc{}
@@ -24,7 +26,9 @@
 \newcommand\PTB@tempe{}
 
 \let\PTB@tempdima=\@ovxx
-\let\PTB@tempdimb=\@ovyy
+\let\PTB@tempdimb=\@ovyy{}
+
+\newif\ifPTB@is@landscape \PTB@is@landscapefalse
 
 \DeclareOption{portrait}{\PTB@is@landscapefalse}
 \DeclareOption{landscape}{\PTB@is@landscapetrue}
@@ -273,18 +277,6 @@
   \endgroup
 }%
 
-\iffalse
-\edef\large{\noexpand\@setfontsize\noexpand\large
-  {\the\dimexpr1.3\PTB@default@fsize}{\the\dimexpr1.56\PTB@default@fsize}}
-%% vorher: 1.2 * \PTB@default@fsize / 1.2 * 1.2 * \PTB@default@fsize
-\edef\Huge{\noexpand\@setfontsize\noexpand\Huge
-  {\the\dimexpr2.6\PTB@default@fsize}{\the\dimexpr3.12\PTB@default@fsize}}
-%% vorher: 2.49 * \PTB@default@fsize / 2.49 * 1.2 * \PTB@default@fsize
-\edef\tiny{\noexpand\@setfontsize\noexpand\tiny
-  {\the\dimexpr0.47\PTB@default@fsize}{\the\dimexpr0.564\PTB@default@fsize}}
-%% vorher: 0.5 * \PTB@default@fsize / 0.5 * 1.2 * \PTB@default@fsize
-\fi
-
 \newcommand*\authorFontSize{}
 \newcommand*\footFontSize{}
 \newcommand*\titleFontSize{}
@@ -292,11 +284,11 @@
 \def\footFontSize{\@setfontsize\footFontSize{19.2}{23.04}}
 
 \newcommand*\scaleTitleFontSize[1]{%
-  \PTB@tempdima=106.6pt %
+  \PTB@tempdima=\PTB@default@tfsize
   \PTB@tempdima=#1\PTB@tempdima
   \PTB@tempdimb=1.2\PTB@tempdima
-  \xdef\titleFontSize{\noexpand\@setfontsize\noexpand
-    \titleFontSize{\the\PTB@tempdima}{\the\PTB@tempdimb}}%
+  \xdef\titleFontSize{\noexpand\@setfontsize
+    \noexpand\titleFontSize{\the\PTB@tempdima}{\the\PTB@tempdimb}}%
 }
 
 \scaleTitleFontSize{1}
@@ -323,9 +315,9 @@
   \setlength\PTB@texthsep{.5em}%
   \setlength\PTB@textvsep{.75em}%
   \ifPTB@is@landscape
-    \setlength\PTB@leftmargin{0.5\dimexpr 1189mm-1130mm}%
+    \setlength\PTB@leftmargin{0.5\dimexpr\paperwidth-1130mm}%
   \else
-    \setlength\PTB@leftmargin{0.5\dimexpr 841mm-780mm}%
+    \setlength\PTB@leftmargin{0.5\dimexpr\paperwidth-780mm}%
   \fi
   \edef\PTB@tempa{\noexpand\newgeometry{%
     top=\the\dimexpr\PTB@topmargin+\PTB@textvsep,%
-- 
GitLab