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

...

parent 22e474a3
Branches
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -19,6 +19,8 @@
%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen!
%%\scaleTitleFontSize{0.92}% Werte nahe an "1" wählen!
\scaleFontSizes{0.97}
\newcommand*\columnNumbers{3}
\title{Die \LaTeX"=Dokumentenklasse "`ptbposter"'}
......
......@@ -17,7 +17,7 @@
\newdimen\PTB@textvsep % Abstand Textbereich zum blauen Rahmen
\newdimen\PTB@framewidth % Breite des blauen Rahmens
\newdimen\PTB@frameheight % Höhe des blauen Rahmens
\newdimen\PTB@scale@basis % Bezugsgröße für papierabhängige Größenberechnung
\newdimen\PTB@scale@base % Bezugsgröße für papierabhängige Größenberechnung
\newcommand*\authorFontSize{}
\newcommand*\footFontSize{}
......@@ -76,22 +76,21 @@
\RequirePackage{geometry}% Papiergröße steht fest (Standard: A0)
\ifdim\paperheight>\paperwidth
\setlength\PTB@scale@basis{\paperheight}
\setlength\PTB@scale@base{\paperheight}
\PTB@is@landscapefalse
\else
\setlength\PTB@scale@basis{\paperwidth}
\setlength\PTB@scale@base{\paperwidth}
\PTB@is@landscapetrue
\fi
\setlength\PTB@default@fsize@base{0.0130170299199\PTB@scale@basis}% 11pt bei A4
\setlength\PTB@default@afsize{0.0157550946737\PTB@scale@basis}% 53.3pt bei A0
\setlength\PTB@default@tfsize{0.0315101893474\PTB@scale@basis}% 106.6pt bei A0
\setlength\PTB@default@ffsize{0.00567538119577\PTB@scale@basis}% 19.2pt bei A0
\setlength\PTB@topmargin{0.180824222418\PTB@scale@basis}% 612pt (215mm) bei A0
\setlength\PTB@default@fsize@base{0.0130170299199\PTB@scale@base}% 11pt bei A4
\setlength\PTB@default@afsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0
\setlength\PTB@default@tfsize{0.0315101893474\PTB@scale@base}% 106.6pt bei A0
\setlength\PTB@default@ffsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0
\setlength\PTB@topmargin{0.180824222418\PTB@scale@base}% 612pt (215mm) bei A0
\newcommand*\scaleFontSizes[1]{%
\PTB@default@fsize=#1\PTB@default@fsize@base
%%%\changefontsizes{\PTB@default@fsize}% ???
}
\newcommand*\scaleTitleFontSize[1]{%
......@@ -105,6 +104,11 @@
\scaleFontSizes{1}% wird ggf. in Präambel noch mal angepasst
\scaleTitleFontSize{1}% wird ggf. in Präambel noch mal angepasst
\edef\authorFontSize{\noexpand\@setfontsize\noexpand\authorFontSize{%
\the\PTB@default@afsize}{\the\dimexpr1.2\PTB@default@afsize}}
\edef\footFontSize{\noexpand\@setfontsize\noexpand\footFontSize{%
\the\PTB@default@ffsize}{\the\dimexpr1.2\PTB@default@ffsize}}
\RequirePackage[svgnames]{xcolor}
\RequirePackage[newcommands,newparameters]{ragged2e}% ???
\RequirePackage{multicol,graphicx}
......@@ -164,18 +168,18 @@
\RequirePackage{qrcode}
\AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante)
\PTB@tempdima=-0.08023549218\PTB@scale@basis
\PTB@tempdima=-0.08023549218\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\includegraphics[width=.401\PTB@scale@basis]{ptbposter-logo.pdf}}%
\PTB@tempdima=-0.134566863195\PTB@scale@basis
\includegraphics[width=.401\PTB@scale@base]{ptbposter-logo.pdf}}%
\PTB@tempdima=-0.134566863195\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){\sffamily\titleFontSize\@title}%
\PTB@tempdima=-0.159798150044\PTB@scale@basis
\PTB@tempdima=-0.159798150044\PTB@scale@base
\def\and{, }%
\put(\PTB@leftmargin,\PTB@tempdima){\sffamily\authorFontSize\@author}%
% hier wird \@thanks gefüllt
\PTB@tempdima=0.00168208578994\PTB@scale@basis
\PTB@tempdima=0.00168208578994\PTB@scale@base
\linethickness{\PTB@tempdima}\color{PTBcolor}
\PTB@tempdima=-0.0883095039717\PTB@scale@basis
\PTB@tempdima=-0.0883095039717\PTB@scale@base
\put(\PTB@leftmargin,\PTB@tempdima){%
\line(1,0){\dimexpr\paperwidth-2\PTB@leftmargin}}%
\put(\PTB@leftmargin,\dimexpr-\textheight-2\PTB@textvsep-\PTB@topmargin)%
......@@ -186,12 +190,12 @@
\AddToShipoutPictureBG*{% Fuß (relativ zur unteren Kante des Textbereichs)
\AtTextLowerLeft{%
\put(-\PTB@texthsep,-\PTB@textvsep){%
\PTB@tempdimb=0.000420521447484\PTB@scale@basis
\PTB@tempdimb=0.000420521447484\PTB@scale@base
\linethickness{\PTB@tempdimb}\normalcolor
\PTB@tempdima=-0.0420521447484\PTB@scale@basis
\PTB@tempdima=-0.0420521447484\PTB@scale@base
\put(-.5\@wholewidth,\PTB@tempdima){%
\PTB@tempdima=0.0386879731686\PTB@scale@basis
\PTB@tempdimb=0.00168208578994\PTB@scale@basis
\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
......@@ -204,9 +208,9 @@
{\dimexpr\PTB@tempdima+2\@wholewidth}}%
\hspace{\PTB@tempdimb}\framebox(\PTB@tempdima,\PTB@tempdima){}%
}
\PTB@tempdimb=-0.00841042894969\PTB@scale@basis
\PTB@tempdimb=-0.00841042894969\PTB@scale@base
\footFontSize\sffamily\normalcolor
\PTB@tempdima=0.122792262665\PTB@scale@basis
\PTB@tempdima=0.122792262665\PTB@scale@base
\put(\PTB@tempdima,\PTB@tempdimb){%
\begin{tabular}[t]{@{}l@{}}
Physikalisch-Technische Bundesanstalt \\
......@@ -216,7 +220,7 @@
\ifx\PTB@workingGroup\@empty\else \PTB@workingGroup\\\fi
\end{tabular}%
}
\PTB@tempdima=0.263246426125\PTB@scale@basis
\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
......@@ -227,7 +231,7 @@
\multicolumn{2}{@{}l@{}}{\href{http://www.ptb.de/}{www.ptb.de}}
\end{tabular}%
}
\PTB@tempdima=0.378469302736\PTB@scale@basis
\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.
......@@ -332,27 +336,23 @@
\changefontsizes{\the\PTB@default@fsize}%
\setlength\PTB@texthsep{.5em}%
\setlength\PTB@textvsep{.75em}%
\edef\authorFontSize{\noexpand\@setfontsize\noexpand\authorFontSize{%
\the\PTB@default@afsize}{\the\dimexpr1.2\PTB@default@afsize}}
\edef\footFontSize{\noexpand\@setfontsize\noexpand\footFontSize{%
\the\PTB@default@ffsize}{\the\dimexpr1.2\PTB@default@ffsize}}
\ifPTB@is@landscape
\setlength\PTB@framewidth{0.950378471315\PTB@scale@basis}% 3215pt (1130mm) bei A0
\setlength\PTB@frameheight{0.462573592233\PTB@scale@basis}% 1565pt (550mm) bei A0
\setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) bei A0
\setlength\PTB@frameheight{0.462573592233\PTB@scale@base}% 1565pt (550mm) bei A0
\else
\setlength\PTB@framewidth{0.656013458076\PTB@scale@basis}% 2219pt (780mm) bei A0
\setlength\PTB@frameheight{0.740117747573\PTB@scale@basis}% 2504pt (880mm) 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
\fi
\setlength\PTB@leftmargin{0.5\dimexpr\paperwidth-\PTB@framewidth}%
\edef\PTB@tempa{\noexpand\newgeometry{%
columnsep=2em,hcentering,%
top=\the\dimexpr\PTB@topmargin+\PTB@textvsep,%
textwidth=\the\dimexpr\PTB@framewidth-2\PTB@texthsep,%
textheight=\the\dimexpr\PTB@frameheight-2\PTB@texthsep
textheight=\the\dimexpr\PTB@frameheight-2\PTB@textvsep
}%
}%
\PTB@tempa
\normalsize \KOMAoptions{parskip=half}
\PTB@tempa\normalsize
\KOMAoptions{parskip=half}
\setlength\leftmargini{1.5em}
\setlength\leftmarginii{1.4em}
\setlength\leftmarginiii{1.3em}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment