Skip to content
Snippets Groups Projects
Commit bba9930a authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

layout2020: Kopf-, Fuß- und Textbereich

parent 8a3b7344
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
\ifPTB@XeOrLua \ifPTB@XeOrLua
\setfontfamily\PTBdesignFont{UniversNextPro-Light}[% \setfontfamily\PTBdesignFont{UniversNextPro-Light}[%
Ligatures=TeX,
BoldFont=*, BoldFont=*,
ItalicFont=*Italic, ItalicFont=*Italic,
Scale=1.01, Scale=1.01,
...@@ -31,7 +32,7 @@ ...@@ -31,7 +32,7 @@
\setlength\PTB@topmargin{0.193953\PTB@scale@base}% \setlength\PTB@topmargin{0.193953\PTB@scale@base}%
\ifPTBlandscape % ??? \ifPTBlandscape % ???
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) bei A0 \setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) bei A0
\setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) bei A0 \setlength\PTB@frameheight{0.447\PTB@scale@base}% 1563pt (549mm) bei A0
\else \else
\setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) bei A0 \setlength\PTB@framewidth{0.656013458076\PTB@scale@base}% 2219pt (780mm) bei A0
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) bei A0 \setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) bei A0
...@@ -81,8 +82,6 @@ ...@@ -81,8 +82,6 @@
\PTB@tempa% Title \PTB@tempa% Title
\end{hyphenrules} \end{hyphenrules}
}% }%
\PTB@tempdima=-0.172\PTB@scale@base
%\linethickness{\PTB@framethickness}\color{PTBcolor}%\color{PTBcolor}%
% blauer Rahmen % blauer Rahmen
\put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin){% \put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin){%
\linethickness{\PTB@framethickness}\color{PTBcolor}% \linethickness{\PTB@framethickness}\color{PTBcolor}%
...@@ -92,56 +91,47 @@ ...@@ -92,56 +91,47 @@
\AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs) \AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs)
\AtTextLowerLeft{% \AtTextLowerLeft{%
\put(-\PTB@texthsep,-\PTB@textvsep){% \PTBdesignFont\footFontSize\normalcolor
\PTB@tempdimb=0.000420521447484\PTB@scale@base \PTB@tempdima=-\PTB@framethickness
\linethickness{\PTB@tempdimb}\normalcolor \PTB@tempdimb=-0.0125\PTB@scale@base
\PTB@tempdima=-0.0420521447484\PTB@scale@base \put(-\PTB@texthsep,-\PTB@textvsep){
\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){% \put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}} \begin{tabular}[t]{@{}l@{}}
Physikalisch-Technische Bundesanstalt \\ Physikalisch-Technische Bundesanstalt \\
Braunschweig und Berlin \\[\f@baselineskip] Nationales Metrologieinstitut \\[\f@baselineskip]
\ifx\first@author\@empty\else \textbf{\first@author}\\\fi \ifx\PTB@street\@empty\else\PTB@street\\\fi
\ifx\PTB@department\@empty\else \PTB@department\\\fi \ifx\PTB@location\@empty\else\PTB@location\\\fi
\ifx\PTB@workingGroup\@empty\else \PTB@workingGroup\\\fi \href{https://www.ptb.de/}{www.ptb.de}
\end{tabular}% \end{tabular}%
} }
\PTB@tempdima=0.263246426125\PTB@scale@base \PTB@tempdima=0.115\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){% \put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}ll@{}} \begin{tabular}[t]{@{}ll@{}}
\ifx\PTB@street\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@street}\\\fi \ifx\first@author\@empty\else \multicolumn{2}{@{}l@{}}{\first@author}\\\fi
\ifx\PTB@location\@empty\else\multicolumn{2}{@{}l@{}}{\PTB@location}\\\fi \ifx\PTB@workingGroup\@empty\else \multicolumn{2}{@{}l@{}}{\PTB@workingGroup}\\\fi
\\
\ifx\PTB@phone\@empty\else\ifPTB@german@ Telefon\else Phone\fi: \ifx\PTB@phone\@empty\else\ifPTB@german@ Telefon\else Phone\fi:
&\PTB@phone\\\fi &\PTB@phone\\\fi
\ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\\fi \ifx\PTB@fax\@empty\else Fax:&\PTB@fax\\\fi
\ifx\PTB@email\@empty\else\ifPTB@german@ E-Mail\else E-mail\fi: \ifx\PTB@email\@empty\else\ifPTB@german@ E-Mail\else E-mail\fi:
&\href{mailto:\PTB@email}{\PTB@email}\\\fi &\href{mailto:\PTB@email}{\PTB@email}\\\fi
\multicolumn{2}{@{}l@{}}{\href{http://www.ptb.de/}{www.ptb.de}}
\end{tabular}% \end{tabular}%
} }
\PTB@tempdima=0.378469302736\PTB@scale@base \PTB@tempdima=0.219\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){% \put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}} \begin{tabular}[t]{@{}l@{}}
\@thanks % wurde bei der Ausführung von \@author gefüllt. \@thanks % wurde bei der Ausführung von \@author gefüllt.
\end{tabular}% \end{tabular}%
} }
\ifx\PTB@logo\@empty\else
\PTB@tempdimc=0.038875630234\PTB@scale@base% 131bp bei A0
\PTB@tempdima=\dimexpr\PTB@framewidth-\PTB@tempdimc+\PTB@framethickness
\sbox\PTB@tempboxa{\includegraphics[width=\PTB@tempdimc]{\PTB@logo}}%
\put(\PTB@tempdima,\PTB@tempdimb+\ht\strutbox){%
\raisebox{-\ht\PTB@tempboxa}[0pt]%
[\dimexpr\ht\PTB@tempboxa+\dp\PTB@tempboxa]{\usebox\PTB@tempboxa}%
}
\fi
} }
} }
} }
......
No preview for this file type
\documentclass[ \documentclass[
%landscape,
%,english %,english
%,a4paper %,a4paper
,layout2020 ,layout2020
]{ptbposter} ]{ptbposter}
\phone{+49-30-3481-7316} \phone{+49-30-3481-7316}
\fax{+49-30-3481-7503} \fax{+49-30-3481-7490}
\email{Rolf.Niepraschk@ptb.de} \email{Rolf.Niepraschk@ptb.de}
\workingGroup{7.54 Vakuummetrologie} \workingGroup{7.54 Vakuummetrologie}
\department{7.5 Wärme und Vakuum} \department{7.5 Wärme und Vakuum}
...@@ -57,7 +58,8 @@ zu entnehmen. ...@@ -57,7 +58,8 @@ zu entnehmen.
\item \textbf{centerTitle}: Den Titel zentriert setzen. \item \textbf{centerTitle}: Den Titel zentriert setzen.
\item \textbf{raggedTitle}: Den Titel mit "`Flatterrand"' setzen. \item \textbf{raggedTitle}: Den Titel mit "`Flatterrand"' setzen.
\item \textbf{centerAuthors}: Die Autoren zentriert setzen. \item \textbf{centerAuthors}: Die Autoren zentriert setzen.
\item \textbf{shortPTBlogo}: verkürztes PTB-Logo (Text entfällt) \item \textbf{shortPTBlogo}: verkürztes PTB-Logo (Text entfällt; nur im
Falle von "`layout2018"' wirksam)
\item \textbf{layout2018, layout2020}: Layoutvarianten \item \textbf{layout2018, layout2020}: Layoutvarianten
\end{itemize} \end{itemize}
......
No preview for this file type
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
%,english %,english
%,a4paper %,a4paper
,layout2018 ,layout2018
%,layout2020
]{ptbposter} ]{ptbposter}
\phone{+49-30-3481-7316} \phone{+49-30-3481-7316}
\fax{+49-30-3481-7503} \fax{+49-30-3481-7490}
\email{Rolf.Niepraschk@ptb.de} \email{Rolf.Niepraschk@ptb.de}
\workingGroup{7.54 Vakuummetrologie} \workingGroup{7.54 Vakuummetrologie}
\department{7.5 Wärme und Vakuum} \department{7.5 Wärme und Vakuum}
...@@ -24,7 +25,7 @@ ...@@ -24,7 +25,7 @@
%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen! %%\scaleFontSizes{1.05}% Werte nahe an "1" wählen!
\title{Die \LaTeX"=Dokumentenklasse "`ptbposter"'} \title{Die \LaTeX-Dokumentenklasse "`ptbposter"'}
\begin{document} \begin{document}
......
...@@ -36,13 +36,16 @@ ...@@ -36,13 +36,16 @@
\newcommand\PTB@tempe{} \newcommand\PTB@tempe{}
\newcommand\PTB@tempf{} \newcommand\PTB@tempf{}
\let\PTB@tempdima=\@ovxx \newdimen\PTB@tempdima
\let\PTB@tempdimb=\@ovyy \newdimen\PTB@tempdimb
\let\PTB@tempdimc=\@ovdx \newdimen\PTB@tempdimc
\newdimen\PTB@tempdimd
\newcounter{PTB@tempcnta} \newcounter{PTB@tempcnta}
\newcounter{PTB@tempcntb} \newcounter{PTB@tempcntb}
\newbox\PTB@tempboxa
\newif\ifPTBlandscape \PTBlandscapefalse \newif\ifPTBlandscape \PTBlandscapefalse
\newif\ifPTB@XeOrLua \PTB@XeOrLuafalse \newif\ifPTB@XeOrLua \PTB@XeOrLuafalse
\newif\ifSERIF \SERIFfalse \newif\ifSERIF \SERIFfalse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment