From 214304212f2935823418b3a8b5d9c553850fa0ca Mon Sep 17 00:00:00 2001
From: Rolf Niepraschk <Rolf.Niepraschk@ptb.de>
Date: Mon, 17 Feb 2020 17:17:04 +0100
Subject: [PATCH] "scaleFont"

---
 ptbposter/ptbposter.cls | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls
index 2b759a7..05c807d 100644
--- a/ptbposter/ptbposter.cls
+++ b/ptbposter/ptbposter.cls
@@ -24,6 +24,9 @@
 \newdimen\PTB@scale@base     % Bezugsgröße für papierabhängige Größenberechnung
 \newdimen\PTB@maxtitleheight % Maximale Höhe des Titels
 
+\newdimen\PTB@tempdima
+\newdimen\PTB@tempdimb
+
 \newcommand*\authorFontSize{}
 \newcommand*\footFontSize{}
 \newcommand*\titleFontSize{}
@@ -167,6 +170,17 @@
   \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}}
+  
+\newcommand*\scaleFont[1]{%
+  \PTB@tempdima=\f@size pt %
+  \PTB@tempdima=#1\PTB@tempdima
+  \PTB@tempdimb=\f@baselineskip 
+  \PTB@tempdimb=#1\PTB@tempdimb
+  \edef\f@size{\strip@pt\PTB@tempdima}%
+  \edef\f@baselineskip{\the\PTB@tempdimb}%
+  \fontsize{\f@size}{\f@baselineskip}
+  \selectfont
+} 
 
 \RequirePackage[dvipsnames,svgnames,x11names]{xcolor}
 \RequirePackage{multicol,graphicx}
@@ -524,7 +538,7 @@
   }{}%
 
   \RequirePackage{enumitem}
-  \setlist{leftmargin=.5em,nosep,topsep=.5em,itemsep=.25em}
+  \setlist{leftmargin=.6em,labelsep=.3em,nosep,topsep=.5em,itemsep=.25em}
   \setlist[1]{labelindent=1em}
 }
 
-- 
GitLab