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

...

parent 154b211a
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -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,%
......
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