From 3277181f1edb60f1c47668acf245d2c0e990927d Mon Sep 17 00:00:00 2001
From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de>
Date: Thu, 5 Mar 2020 11:16:57 +0100
Subject: [PATCH] ...

---
 ptbposter/ptbposter-2020.clo | 123 +----------------------------------
 ptbposter/ptbposter.cls      |   2 +-
 2 files changed, 3 insertions(+), 122 deletions(-)

diff --git a/ptbposter/ptbposter-2020.clo b/ptbposter/ptbposter-2020.clo
index f7b50bc..7283c2e 100644
--- a/ptbposter/ptbposter-2020.clo
+++ b/ptbposter/ptbposter-2020.clo
@@ -1,129 +1,10 @@
 % Rolf Niepraschk, Rolf.Niepraschk@ptb.de
 
 \ProvidesFile{ptbposter-2020.clo}%
-  [2020/03/05 v0.1a `PTB-Poster' layout 2020 (RN/PTB)]
+  [2020/03/05 v0.1b `PTB-Poster' layout 2020 (RN/PTB)]
 
 \typeout{*** LAYOUT 2020 ***}
 
-\AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante)
-  \PTB@tempdima=-0.077\PTB@scale@base
-  \put(\PTB@leftmargin,\PTB@tempdima){%
-    \parbox[b]{\PTB@framewidth}{% TODO: vereinfachen?
-      \parbox[b]{.401\PTB@scale@base}{%
-        \textcolor{PTBcolor}{% TODO: Tikz-Grafik erzeugen (autom.?) und verwenden
-          \includegraphics[height=.055\PTB@scale@base]{ptbposter-logo-A.mps}
-        }%    1,58365758755
-        \ifPTB@logo@long@
-        \hfill
-        \raisebox{.0025\PTB@scale@base}{% 
-          %\includegraphics[width=.612\linewidth]{ptbposter-logo-B.mps}%
-          \resizebox{.61\linewidth}{!}{%
-            \hspace{-.2ex}% 
-            \begin{varwidth}[b]{\linewidth}%
-              \PTBdesignFont\bfseries
-              Physikalisch-Technische Bundesanstalt\\
-              Braunschweig und Berlin\\
-              \mdseries
-              Nationales Metrologieinstitut
-            \end{varwidth}%
-          }%
-        }%
-        \fi
-      }%
-      \hfill
-      \ifx\PTB@logo\@empty\else
-        \includegraphics[height=.055\PTB@scale@base]{\PTB@logo}%
-      \fi
-    }
-  }%
-  \def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition
-    \PTB@title@justification\PTB@title@series\sffamily\titleFontSize
-    \microtypesetup{protrusion=false}\@title}}%
-  \begingroup
-  \@tempcnta=\@ne \@tempcntb=10499 %
-  \loop\ifnum\@tempcnta<25 % Finden der ersten passenden titleFontSize
-    \multiply\@tempcntb 10000 \divide\@tempcntb by 10500 % jeweils um 5% kleiner
-    \PTB@scaleTitleFontSize{0.\the\@tempcntb}% 1:0.9999, 2:0.9522, 3:0.9068, ...
-    %\typeout{\the\@tempcnta\space XXX: \titleFontSize, 0.\the\@tempcntb}%
-    \setbox\z@ \hbox{\PTB@tempa}%
-    \ifdim\dimexpr\ht\z@+\dp\z@>\PTB@maxtitleheight
-      \advance\@tempcnta\@ne % weiter, wenn zu gross
-    \else
-      \@tempcnta=999 % Abbruch
-    \fi
-  \repeat
-  \endgroup
-  \PTB@tempdima=-0.127\PTB@scale@base
-  \put(\PTB@leftmargin,\PTB@tempdima){\PTB@tempa}% Title
-  \PTB@tempdima=-0.172\PTB@scale@base
-  \def\and{, }%
-  \put(\PTB@leftmargin,\PTB@tempdima){\parbox[b]{\PTB@framewidth}{% Autoren
-    \PTB@authors@justification\sffamily\authorFontSize\@author}}%
-  % hier wird \@thanks gefüllt
-  \linethickness{\PTB@framethickness}\color{PTBcolor}%\color{PTBcolor}%
-  \PTB@tempdima=-0.0883095039717\PTB@scale@base
-  \put(\PTB@leftmargin,\PTB@tempdima){%
-    \line(1,0){\dimexpr\paperwidth-2\PTB@leftmargin}}%
-  % blauer Rahmen
-  \put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin)%
-    {\framebox(\dimexpr\textwidth+2\PTB@texthsep,%
-     \dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
-}
-
-\AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs)
-  \AtTextLowerLeft{%
-    \put(-\PTB@texthsep,-\PTB@textvsep){%
-      \PTB@tempdimb=0.000420521447484\PTB@scale@base
-      \linethickness{\PTB@tempdimb}\normalcolor
-      \PTB@tempdima=-0.0420521447484\PTB@scale@base
-      \put(-.5\@wholewidth,\PTB@tempdima){%
-        \PTB@tempdima=0.0386879731686\PTB@scale@base
-        \PTB@tempdimb=0.00168208578994\PTB@scale@base
-        \ifx\PTB@qrcode\@empty
-          \color{PTBcolor}\framebox(\PTB@tempdima,\PTB@tempdima){}%
-        \else
-          \sbox\@tempboxa{\qrcode[height=\PTB@tempdima,tight]{\PTB@qrcode}}%
-          \raisebox{\dp\@tempboxa}{\usebox\@tempboxa}%
-        \fi
-        \color{PTBcolor}
-        \hspace{\PTB@tempdimb}\raisebox{-\@wholewidth}{%
-          \rule{\dimexpr\PTB@tempdima+2\@wholewidth}%
-            {\dimexpr\PTB@tempdima+2\@wholewidth}}%
-        \hspace{\PTB@tempdimb}\framebox(\PTB@tempdima,\PTB@tempdima){}%
-      }
-      \PTB@tempdimb=-0.00841042894969\PTB@scale@base
-      \footFontSize\sffamily\normalcolor
-      \PTB@tempdima=0.122792262665\PTB@scale@base
-      \put(\PTB@tempdima,\PTB@tempdimb){%
-        \begin{tabular}[t]{@{}l@{}}
-          Physikalisch-Technische Bundesanstalt \\
-          Braunschweig und Berlin \\[\f@baselineskip]
-          \ifx\first@author\@empty\else \textbf{\first@author}\\\fi
-          \ifx\PTB@department\@empty\else \PTB@department\\\fi
-          \ifx\PTB@workingGroup\@empty\else \PTB@workingGroup\\\fi
-        \end{tabular}%
-      }
-      \PTB@tempdima=0.263246426125\PTB@scale@base
-      \put(\PTB@tempdima,\PTB@tempdimb){%
-        \begin{tabular}[t]{@{}ll@{}}
-          \ifx\PTB@street\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@street}\\\fi
-          \ifx\PTB@location\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@location}\\\fi
-          \ifx\PTB@phone\@empty\else\ifPTB@german@ Telefon\else Phone\fi:
-            &\PTB@phone\\\fi
-          \ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\\fi
-          \ifx\PTB@email\@empty\else\ifPTB@german@ E-Mail\else E-mail\fi:
-            &\href{mailto:\PTB@email}{\PTB@email}\\\fi
-          \multicolumn{2}{@{}l@{}}{\href{http://www.ptb.de/}{www.ptb.de}}
-        \end{tabular}%
-      }
-      \PTB@tempdima=0.378469302736\PTB@scale@base
-      \put(\PTB@tempdima,\PTB@tempdimb){%
-        \begin{tabular}[t]{@{}l@{}}
-          \@thanks % wurde bei der Ausführung von \@author gefüllt.
-        \end{tabular}%
-      }
-    }
-  }
-}
+\input{ptbposter-2018.clo}
 
 \endinput
diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls
index 7423622..6ae0577 100644
--- a/ptbposter/ptbposter.cls
+++ b/ptbposter/ptbposter.cls
@@ -3,7 +3,7 @@
 \setcounter{errorcontextlines}{100}  \listfiles
 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesClass{ptbposter}[2020/02/25 v0.9h PTB-Poster (RN)]
+\ProvidesClass{ptbposter}[2020/02/25 v1.0a PTB-Poster (RN)]
     
 \newif\ifPTB@useCMYK \PTB@useCMYKfalse % vorerst 
 \newif\ifPTB@german@  \PTB@german@true
-- 
GitLab