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

layout2020: Kopf und Textbereich

parent 77d4e609
No related branches found
No related tags found
No related merge requests found
...@@ -7,13 +7,14 @@ ...@@ -7,13 +7,14 @@
\setlength\PTB@default@fontsize@base{0.0118336635635\PTB@scale@base}% 10pt bei A4 \setlength\PTB@default@fontsize@base{0.0118336635635\PTB@scale@base}% 10pt bei A4
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0 \setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0
\setlength\PTB@default@title@fontsize@base{.03147352426532526036\PTB@scale@base}% 106.6pt bei A0 ??? \setlength\PTB@default@title@fontsize@base{.0282849711986\PTB@scale@base}% 95.7pt bei A0
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0 \setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0
\ifPTB@XeOrLua \ifPTB@XeOrLua
\setfontfamily\PTBdesignFont{UniversNextPro-Light}[% \setfontfamily\PTBdesignFont{UniversNextPro-Light}[%
BoldFont=*, BoldFont=*,
ItalicFont=*Italic, ItalicFont=*Italic,
Scale=1.01,
Extension=.ttf] Extension=.ttf]
\setsansfont{texgyreheros}[ \setsansfont{texgyreheros}[
Ligatures=TeX, Ligatures=TeX,
...@@ -27,57 +28,35 @@ ...@@ -27,57 +28,35 @@
\fi \fi
\AtEndPreamble{% \AtEndPreamble{%
\ifx\@author\@empty \setlength\PTB@topmargin{0.193953\PTB@scale@base}%
\setlength\PTB@topmargin{0.152\PTB@scale@base}% \ifPTBlandscape % ???
\else
\setlength\PTB@topmargin{0.180824222418\PTB@scale@base}%
\fi
\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
\ifx\@author\@empty \setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) bei A0
\setlength\PTB@frameheight{0.490824222418\PTB@scale@base}% 1660pt (584mm) bei A0
\else
\setlength\PTB@frameheight{0.462\PTB@scale@base}% 1563pt (549mm) bei A0
\fi
\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
\ifx\@author\@empty \setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) bei A0
\setlength\PTB@frameheight{0.769\PTB@scale@base}% 2602pt (914mm) bei A0
\else
\setlength\PTB@frameheight{0.740117747573\PTB@scale@base}% 2504pt (880mm) bei A0
\fi
\fi \fi
} }
\AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante) \AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante)
\PTB@tempdima=-0.077\PTB@scale@base \PTB@tempdima=-0.07\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){% \put(\PTB@leftmargin,-0.07\PTB@scale@base){%
\parbox[b]{\PTB@framewidth}{% TODO: vereinfachen? \textcolor{PTBcolor}{\includegraphics[height=.04545\PTB@scale@base]%
\parbox[b]{.401\PTB@scale@base}{% {ptbposter-logo-A.mps}}
\textcolor{PTBcolor}{% TODO: Tikz-Grafik erzeugen (autom.?) und verwenden }
\includegraphics[height=.055\PTB@scale@base]{ptbposter-logo-A.mps} \put(\PTB@leftmargin,-0.085\PTB@scale@base){%
}% 1,58365758755 \parbox[t]{\PTB@framewidth}{%
\ifPTB@logo@long@ \PTBdesignFont\normalsize
\hfill \begin{varwidth}[t]{.32\linewidth}
\raisebox{.0025\PTB@scale@base}{% Physikalisch-Technische Bundesanstalt\\
%\includegraphics[width=.612\linewidth]{ptbposter-logo-B.mps}% Nationales Metrologieinstitut
\resizebox{.61\linewidth}{!}{% \end{varwidth}
\hspace{-.2ex}%
\begin{varwidth}[b]{\linewidth}%
\PTBdesignFont\bfseries
Physikalisch-Technische Bundesanstalt\\
Braunschweig und Berlin\\
\mdseries
Nationales Metrologieinstitut
\end{varwidth}%
}%
}%
\fi
}%
\hfill \hfill
\ifx\PTB@logo\@empty\else \begin{varwidth}[t]{.6\linewidth}
\includegraphics[height=.055\PTB@scale@base]{\PTB@logo}% \begin{hyphenrules}{nohyphenation}
\fi \def\and{, }\@author % hier wird \@thanks gefüllt
\end{hyphenrules}
\end{varwidth}
} }
}% }%
\def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition \def\PTB@tempa{\parbox[c]{\PTB@framewidth}{% Komplette Titeldefinition
...@@ -97,21 +76,18 @@ ...@@ -97,21 +76,18 @@
\fi \fi
\repeat \repeat
\endgroup \endgroup
\PTB@tempdima=-0.127\PTB@scale@base \put(\PTB@leftmargin,-0.158\PTB@scale@base){%
\put(\PTB@leftmargin,\PTB@tempdima){\PTB@tempa}% Title \begin{hyphenrules}{nohyphenation}
\PTB@tempa% Title
\end{hyphenrules}
}%
\PTB@tempdima=-0.172\PTB@scale@base \PTB@tempdima=-0.172\PTB@scale@base
\def\and{, }% %\linethickness{\PTB@framethickness}\color{PTBcolor}%\color{PTBcolor}%
\put(\PTB@leftmargin,\PTB@tempdima){\parbox[b]{\PTB@framewidth}{% Autoren
\PTB@authors@justification\PTBdesignFont\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 % blauer Rahmen
\put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin)% \put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin){%
{\framebox(\dimexpr\textwidth+2\PTB@texthsep,% \linethickness{\PTB@framethickness}\color{PTBcolor}%
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}% \framebox(\dimexpr\textwidth+2\PTB@texthsep,%
\dimexpr\textheight+2\PTB@textvsep){\backgroundContent}}%
} }
\AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs) \AddToShipoutPictureFG*{% Fuß (relativ zur unteren Kante des Textbereichs)
......
No preview for this file type
\documentclass[ \documentclass[
%,english %,english
%,a4paper
,layout2020
]{ptbposter} ]{ptbposter}
\phone{+49-30-3481-7316} \phone{+49-30-3481-7316}
...@@ -22,7 +24,7 @@ ...@@ -22,7 +24,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}
...@@ -56,8 +58,7 @@ zu entnehmen. ...@@ -56,8 +58,7 @@ zu entnehmen.
\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)
\item \textbf{version-\textit{X}}: Wählt ältere Versionen der Posterklasse \item \textbf{layout2018, layout2020}: Layoutvarianten
(z.\,B.\ "`version-1"') aus, um das Layout älterer Dokumente zu bewahren.
\end{itemize} \end{itemize}
Ohne Angabe einer Sprachoption werden die Trennregeln für "`ngerman"' (neue Ohne Angabe einer Sprachoption werden die Trennregeln für "`ngerman"' (neue
......
No preview for this file type
\documentclass[landscape]{ptbposter} \documentclass[
%\documentclass[english]{ptbposter} ,landscape
%,english
%,a4paper
,layout2018
]{ptbposter}
\phone{+49-30-3481-7316} \phone{+49-30-3481-7316}
\fax{+49-30-3481-7503} \fax{+49-30-3481-7503}
......
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
\def\PTB@layout{1}% \def\PTB@layout{1}%
} }
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{babel}} \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{babel}}
\ExecuteOptions{serif,layout2020} \ExecuteOptions{serif,raggedTitle,layout2020}
\ProcessOptions\relax \ProcessOptions\relax
\RequirePackage{hyphsubst}% Trennregeln austauschen \RequirePackage{hyphsubst}% Trennregeln austauschen
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment