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

"scaleFont"

parent 66953e17
No related branches found
No related tags found
No related merge requests found
......@@ -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}
}
......
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