From 0f1da84e840ece0e236f15fbe78fb07e3387a11f Mon Sep 17 00:00:00 2001 From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de> Date: Thu, 27 Jun 2019 10:44:52 +0200 Subject: [PATCH] "@onlypreamble" --- ptbposter/ptbposter.cls | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index f43e664..30b5070 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -3,7 +3,7 @@ \setcounter{errorcontextlines}{100} \listfiles \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{ptbposter}[2019/06/27 v0.9e PTB-Poster (RN)] +\ProvidesClass{ptbposter}[2019/06/27 v0.9f PTB-Poster (RN)] \newif\ifPTB@useCMYK \PTB@useCMYKfalse % vorerst \newif\ifPTB@german@ \PTB@german@true @@ -143,9 +143,11 @@ \newcommand*\scaleFontSizes[1]{% \global\PTB@default@fsize=#1\PTB@default@fsize@base } +\@onlypreamble\scaleFontSizes \newcommand*\scaleTitleFontSize[1]{% \global\PTB@default@tfsize=#1\PTB@default@tfsize@base } +\@onlypreamble\scaleTitleFontSize \setlength\PTB@default@tfsize{0.0315101893474\PTB@scale@base}% 106.6pt bei A0 @@ -158,7 +160,7 @@ } \scaleFontSizes{1}% wird ggf. in Präambel noch mal geändert. -\scaleTitleFontSize{1}% wird ggf. in Präambel noch mal geändert. +\scaleTitleFontSize{1}% wird ggf. in Präambel noch mal geändert. \edef\authorFontSize{\noexpand\@setfontsize\noexpand\authorFontSize{% \the\PTB@default@afsize}{\the\dimexpr1.2\PTB@default@afsize}} -- GitLab