%% %% This is file `fontsize.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% fontsize.dtx (with options: `package') %% %% The 'fontsize' package %% Copyright (C) 2020-2024 Ivan Valbusa %% %% %% All rights reserved. %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% The latest version of this license is in %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. %% %% This work consists of all files listed in README %% %% This work has the LPPL maintenance status "author-maintained". %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{fontsize} [2024/12/04 v0.9 'fontsize' package. Set main font sizes (Ivan Valbusa)] \@ifpackageloaded{xkeyval}{}{\RequirePackage{xkeyval}} \unless\ifdefined\fpeval\RequirePackage{xfp}\fi \DeclareOptionX{cloname}[fontsize]{\def\@fontsizefilebase{#1}} \DeclareOptionX{parindent}[\fscalc{1.5\@tempdimb}]{\def\@fontsizeparindent{#1}} \DeclareOptionX{fsround}[5]{\def\@fsround{#1}} \DeclareOptionX{fontsize}[10]{% \expandafter\@defaultunits\expandafter\@tempdima#1 pt\relax\@nnil \edef\@tempa{#1}% \setlength{\@tempdimb}{\@tempdima}% \edef\@tempb{\strip@pt\@tempdimb}% \addtolength{\@tempdimb}{-10\p@}% \edef\@ptsize{\strip@pt\@tempdimb}% \edef\@tempa{% \noexpand\makeatletter \noexpand\InputIfFileExists{\@fontsizefilebase\@tempa.clo}{% \noexpand\PackageInfo{fontsize}{% File `\@fontsizefilebase\@tempa.clo' used to setup font sizes}% }{% \noexpand\InputIfFileExists{\@fontsizefilebase\@tempb pt.clo}{% \noexpand\PackageInfo{fontsize}{% File `\@fontsizefilebase\@tempb pt.clo' used instead of% \noexpand\MessageBreak file `\@fontsizefilebase\@tempa.clo' to setup font sizes}% }{% \noexpand\changefontsize{#1}% }% }% \noexpand\catcode`\noexpand\@=\the\catcode`\@ }% \@ifundefined{changefontsize}{% \expandafter\AtEndOfPackage\expandafter{\@tempa}% }{% \@tempa } } \ExecuteOptionsX{cloname,fontsize,parindent,fsround} \ProcessOptionsX*\relax \NewDocumentCommand{\fscalc}{m}{\fpeval{round(#1,\@fsround)}pt} \newcommand*\ctm@setlength[4]{% \ifdim #2<\ifdim #2=\z@ \z@ \else \p@\fi \ifdim #3<\ifdim #3=\z@ \z@ \else \p@\fi \ifdim #4<\ifdim #4=\z@ \z@ \else \p@\fi \setlength{#1}{\p@ \@plus\p@ \@minus\p@}% \else \setlength{#1}{\p@ \@plus\p@ \@minus\fscalc{#4}}% \fi \else \ifdim #4<\ifdim #4=\z@ \z@ \else \p@\fi \setlength{#1}{\p@ \@plus\fscalc{#3} \@minus\p@}% \else \setlength{#1}{\p@ \@plus\fscalc{#3} \@minus\fscalc{#4}}% \fi \fi \else \ifdim #3<\ifdim #3=\z@ \z@ \else \p@\fi \ifdim #4<\ifdim #4=\z@ \z@ \else \p@\fi \setlength{#1}{\fscalc{#2} \@plus\p@ \@minus\p@}% \else \setlength{#1}{\fscalc{#2} \@plus\p@ \@minus\fscalc{#4}}% \fi \else \ifdim #4<\ifdim #4=\z@ \z@ \else \p@\fi \setlength{#1}{\fscalc{#2} \@plus\fscalc{#3} \@minus\p@}% \else \setlength{#1}{\fscalc{#2} \@plus\fscalc{#3} \@minus\fscalc{#4}}% \fi \fi \fi } \providecommand*{\changefontsize}[2][\fscalc{1.2*\@tempdima}]{% \@defaultunits\@tempdima#2pt\relax\@nnil \setlength{\@tempdimc}{\@tempdima}% \addtolength{\@tempdimc}{-10\p@}% \edef\@ptsize{\strip@pt\@tempdimc}% \@defaultunits\@tempdimb#1pt\relax\@nnil \setlength{\@tempdimc}{\fpeval{100*\@tempdimb/\@tempdima}pt}% \edef\@tempb{\the\@tempdimc}% \setlength{\@tempdimc}{\@tempdima}% \def\@tempa##1##2##3##4##5\@nnil{\def##1{##2.##3##4}}% \expandafter\@tempa\expandafter\@tempb\@tempb\@nnil% \ctm@setlength{\abovedisplayskip}% {.8333\@tempdimb}{.1667\@tempdimb}{.5\@tempdimb}% \ctm@setlength{\abovedisplayshortskip}{\z@}{.25\@tempdimb}{\z@}% \ctm@setlength{\belowdisplayshortskip}% {.5\@tempdimb}{.25\@tempdimb}{.25\@tempdimb}% \setlength{\belowdisplayskip}{\abovedisplayskip}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\normalsize {\the\@tempdima}{\the\@tempdimb}% \abovedisplayskip \the\abovedisplayskip \abovedisplayshortskip \the\abovedisplayshortskip \belowdisplayskip \the\belowdisplayskip \belowdisplayshortskip \the\belowdisplayshortskip \let\noexpand\@listi\noexpand\@listI }% \let\normalsize\@undefined \expandafter\DeclareRobustCommand\expandafter\normalsize\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.9125\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \ctm@setlength{\abovedisplayskip}% {.8333\@tempdimb}{.1667\@tempdimb}{.5\@tempdimb}% \ctm@setlength{\abovedisplayshortskip}{\z@}{.25\@tempdimb}{\z@}% \ctm@setlength{\belowdisplayshortskip}% {.5\@tempdimb}{.25\@tempdimb}{.25\@tempdimb}% \setlength{\belowdisplayskip}{\abovedisplayskip}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\small {\the\@tempdima}{\the\@tempdimb}% \abovedisplayskip \the\abovedisplayskip \abovedisplayshortskip \the\abovedisplayshortskip \belowdisplayskip \the\belowdisplayskip \belowdisplayshortskip \the\belowdisplayshortskip \let\noexpand\@listi\noexpand\@listi@small }% \let\small\@undefined \expandafter\DeclareRobustCommand\expandafter\small\expandafter{\reserved@a} % \setlength{\@tempdima}{\fscalc{.83334\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \ctm@setlength{\abovedisplayskip}% {.8333\@tempdimb}{.1667\@tempdimb}{.5\@tempdimb}% \ctm@setlength{\abovedisplayshortskip}{\z@}{.25\@tempdimb}{\z@}% \ctm@setlength{\belowdisplayshortskip}% {.5\@tempdimb}{.25\@tempdimb}{.25\@tempdimb}% \setlength{\belowdisplayskip}{\abovedisplayskip}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\footnotesize {\the\@tempdima}{\the\@tempdimb}% \abovedisplayskip \the\abovedisplayskip \abovedisplayshortskip \the\abovedisplayshortskip \belowdisplayskip \the\belowdisplayskip \belowdisplayshortskip \the\belowdisplayshortskip \let\noexpand\@listi\noexpand\@listi@footnotesize }% \let\footnotesize\@undefined \expandafter\DeclareRobustCommand\expandafter\footnotesize\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{.66667\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\scriptsize {\the\@tempdima}{\the\@tempdimb}% }% \let\scriptsize\@undefined \expandafter\DeclareRobustCommand\expandafter\scriptsize\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{.5\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\tiny {\the\@tempdima}{\the\@tempdimb}% }% \let\tiny\@undefined \expandafter\DeclareRobustCommand\expandafter\tiny\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.2\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\large {\the\@tempdima}{\the\@tempdimb}% }% \let\large\@undefined \expandafter\DeclareRobustCommand\expandafter\large\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.44\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Large {\the\@tempdima}{\the\@tempdimb}% }% \let\Large\@undefined \expandafter\DeclareRobustCommand\expandafter\Large\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.728\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\LARGE {\the\@tempdima}{\the\@tempdimb}% }% \let\LARGE\@undefined \expandafter\DeclareRobustCommand\expandafter\LARGE\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.074\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\huge {\the\@tempdima}{\the\@tempdimb}% }% \let\huge\@undefined \expandafter\DeclareRobustCommand\expandafter\huge\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.488\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Huge {\the\@tempdima}{\the\@tempdimb}% }% \let\Huge\@undefined \expandafter\DeclareRobustCommand\expandafter\Huge\expandafter{\reserved@a}% \def\fontsize@pre{% \ctm@setlength{\abovedisplayskip}% {.8333\@tempdimb}{.1667\@tempdimb}{.5\@tempdimb}% \ctm@setlength{\abovedisplayshortskip}{\z@}{.25\@tempdimb}{\z@}% \ctm@setlength{\belowdisplayshortskip}% {.5\@tempdimb}{.25\@tempdimb}{.25\@tempdimb}% \setlength{\belowdisplayskip}{\abovedisplayskip}% } \def\fontsize@app{% \abovedisplayskip \the\abovedisplayskip% \abovedisplayshortskip \the\abovedisplayshortskip% \belowdisplayskip \the\belowdisplayskip% \belowdisplayshortskip \the\belowdisplayshortskip% } \setlength{\@tempdima}{\fscalc{0.934375\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\smallr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listi@small }% \let\smallr\@undefined \expandafter\DeclareRobustCommand\expandafter\smallr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.95625\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\smallrr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listi@small }% \let\smallrr\@undefined \expandafter\DeclareRobustCommand\expandafter\smallrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.978125\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\smallrrr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listi@small }% \let\smallrrr\@undefined \expandafter\DeclareRobustCommand\expandafter\smallrrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.85313\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\footnotesizer {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listi@footnotesize }% \let\footnotesizer\@undefined \expandafter\DeclareRobustCommand\expandafter\footnotesizer\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.87292\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\footnotesizerr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listi@footnotesize }% \let\footnotesizerr\@undefined \expandafter\DeclareRobustCommand\expandafter\footnotesizerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.89271\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\footnotesizerrr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listi@footnotesize }% \let\footnotesizerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\footnotesizerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.7083375\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\scriptsizer {\the\@tempdima}{\the\@tempdimb}% }% \let\scriptsizer\@undefined \expandafter\DeclareRobustCommand\expandafter\scriptsizer\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.750005\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\scriptsizerr {\the\@tempdima}{\the\@tempdimb}% }% \let\scriptsizerr\@undefined \expandafter\DeclareRobustCommand\expandafter\scriptsizerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.7916725\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\scriptsizerrr {\the\@tempdima}{\the\@tempdimb}% }% \let\scriptsizerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\scriptsizerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.5416675\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\tinyr {\the\@tempdima}{\the\@tempdimb}% }% \let\tinyr\@undefined \expandafter\DeclareRobustCommand\expandafter\tinyr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.583335\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\tinyrr {\the\@tempdima}{\the\@tempdimb}% }% \let\tinyrr\@undefined \expandafter\DeclareRobustCommand\expandafter\tinyrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{0.6250025\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\tinyrrr {\the\@tempdima}{\the\@tempdimb}% }% \let\tinyrrr\@undefined \expandafter\DeclareRobustCommand\expandafter\tinyrrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.05\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\normalsizer {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listI }% \let\normalsizer\@undefined \expandafter\DeclareRobustCommand\expandafter\normalsizer\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.1\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\normalsizerr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listI }% \let\normalsizerr\@undefined \expandafter\DeclareRobustCommand\expandafter\normalsizerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.15\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \fontsize@pre \edef\reserved@a{% \noexpand\@setfontsize\noexpand\normalsizerrr {\the\@tempdima}{\the\@tempdimb}% \fontsize@app \let\noexpand\@listi\noexpand\@listI }% \let\normalsizerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\normalsizerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.26\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\larger {\the\@tempdima}{\the\@tempdimb}% }% \let\larger\@undefined \expandafter\DeclareRobustCommand\expandafter\larger\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.32\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\largerr {\the\@tempdima}{\the\@tempdimb}% }% \let\largerr\@undefined \expandafter\DeclareRobustCommand\expandafter\largerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.38\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\largerrr {\the\@tempdima}{\the\@tempdimb}% }% \let\largerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\largerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.512\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Larger {\the\@tempdima}{\the\@tempdimb}% }% \let\Larger\@undefined \expandafter\DeclareRobustCommand\expandafter\Larger\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.584\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Largerr {\the\@tempdima}{\the\@tempdimb}% }% \let\Largerr\@undefined \expandafter\DeclareRobustCommand\expandafter\Largerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.656\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Largerrr {\the\@tempdima}{\the\@tempdimb}% }% \let\Largerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\Largerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.8145\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\LARGEr {\the\@tempdima}{\the\@tempdimb}% }% \let\LARGEr\@undefined \expandafter\DeclareRobustCommand\expandafter\LARGEr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.901\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\LARGErr {\the\@tempdima}{\the\@tempdimb}% }% \let\LARGErr\@undefined \expandafter\DeclareRobustCommand\expandafter\LARGErr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{1.9875\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\LARGErrr {\the\@tempdima}{\the\@tempdimb}% }% \let\LARGErrr\@undefined \expandafter\DeclareRobustCommand\expandafter\LARGErrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.1775\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\huger {\the\@tempdima}{\the\@tempdimb}% }% \let\huger\@undefined \expandafter\DeclareRobustCommand\expandafter\huger\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.281\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\hugerr {\the\@tempdima}{\the\@tempdimb}% }% \let\hugerr\@undefined \expandafter\DeclareRobustCommand\expandafter\hugerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.3845\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\hugerrr {\the\@tempdima}{\the\@tempdimb}% }% \let\hugerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\hugerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.611\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Huger {\the\@tempdima}{\the\@tempdimb}% }% \let\Huger\@undefined \expandafter\DeclareRobustCommand\expandafter\Huger\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.734\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Hugerr {\the\@tempdima}{\the\@tempdimb}% }% \let\Hugerr\@undefined \expandafter\DeclareRobustCommand\expandafter\Hugerr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{2.857\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\Hugerrr {\the\@tempdima}{\the\@tempdimb}% }% \let\Hugerrr\@undefined \expandafter\DeclareRobustCommand\expandafter\Hugerrr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{3.006\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\HUGE {\the\@tempdima}{\the\@tempdimb}% }% \let\HUGE\@undefined \expandafter\DeclareRobustCommand\expandafter\HUGE\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{3.155\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\HUGEr {\the\@tempdima}{\the\@tempdimb}% }% \let\HUGEr\@undefined \expandafter\DeclareRobustCommand\expandafter\HUGEr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{3.304\@tempdimc}}% \setlength{\@tempdimb}{\fscalc{\@tempb\@tempdima}}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\HUGErr {\the\@tempdima}{\the\@tempdimb}% }% \let\HUGErr\@undefined \expandafter\DeclareRobustCommand\expandafter\HUGErr\expandafter{\reserved@a}% \setlength{\@tempdima}{\fscalc{3.453\@tempdimc}}% \setlength{\@tempdimb}{\@tempb\@tempdima}% \edef\reserved@a{% \noexpand\@setfontsize\noexpand\HUGErrr {\the\@tempdima}{\the\@tempdimb}% }% \let\HUGErrr\@undefined \expandafter\DeclareRobustCommand\expandafter\HUGErrr\expandafter{\reserved@a}% \normalsize% \setlength\parindent{\@fontsizeparindent}% \setlength\smallskipamount{ \fpeval{1.090909091\@tempdimb/4}pt \@plus 1\p@ \@minus 1\p@}% \setlength\medskipamount{ \fpeval{1.090909091\@tempdimb/2}pt \@plus 2\p@ \@minus 2\p@}% \setlength\bigskipamount{ \fpeval{1.090909091\@tempdimb}pt \@plus 4\p@ \@minus 4\p@}% \setlength{\@tempdimb}{\f@baselineskip}% \ctm@setlength{\parsep}% {.3333\@tempdimb}{.1667\@tempdimb}{.0833\@tempdimb}% \ctm@setlength{\topsep}% {.6667\@tempdimb}{.1667\@tempdimb}{.3333\@tempdimb}% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listi\endcsname \endgroup \edef\@listi{\leftmargin\leftmargini \topsep \the\topsep \parsep \the\parsep \itemsep \parsep \if@tempswa\noexpand\@list@extra\fi }% \let\@listI\@listi \ctm@setlength{\parsep}% {.1667\@tempdimb}{.0833\@tempdimb}{.0833\@tempdimb}% \ctm@setlength{\topsep}% {.3333\@tempdimb}{.1667\@tempdimb}{.1667\@tempdimb}% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listi\endcsname \endgroup \edef\@listi@small{\leftmargin\leftmargini \topsep \the\topsep \parsep \the\parsep \itemsep \parsep \if@tempswa\noexpand\@list@extra\fi }% \ctm@setlength{\parsep}% {.125\@tempdimb}{.0625\@tempdimb}{.0625\@tempdimb}% \ctm@setlength{\topsep}% {.25\@tempdimb}{.125\@tempdimb}{.125\@tempdimb}% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listi\endcsname \endgroup \edef\@listi@footnotesize{\leftmargin\leftmargini \topsep \the\topsep \parsep \the\parsep \itemsep \parsep \if@tempswa\noexpand\@list@extra\fi }% \ctm@setlength{\parsep}% {.1667\@tempdimb}{.0833\@tempdimb}{.0833\@tempdimb}% \ctm@setlength{\topsep}% {.3333\@tempdimb}{.1667\@tempdimb}{.0833\@tempdimb}% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listii\endcsname \endgroup \edef\@listii{\leftmargin\leftmarginii \labelwidth=\dimexpr \leftmargin-\labelsep \topsep \the\topsep \parsep \the\parsep \itemsep \parsep \if@tempswa\noexpand\@list@extra\fi }% \ctm@setlength{\topsep}% {.1667\@tempdimb}{.0833\@tempdimb}{.0833\@tempdimb}% \setlength{\partopsep}{\z@ \@plus\z@ \@minus\p@}% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listiii\endcsname \endgroup \edef\@listiii{\leftmargin\leftmarginiii \labelwidth=\dimexpr \leftmargin-\labelsep \topsep \the\topsep \parsep \z@ \partopsep \the\partopsep \itemsep \topsep \if@tempswa\noexpand\@list@extra\fi }% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listiv\endcsname \endgroup \edef\@listiv{\leftmargin\leftmarginiv \labelwidth=\dimexpr \leftmargin-\labelsep\relax \if@tempswa\noexpand\@list@extra\fi }% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listv\endcsname \endgroup \edef\@listv{\leftmargin\leftmarginv \labelwidth=\dimexpr \leftmargin-\labelsep\relax \if@tempswa\noexpand\@list@extra\fi }% \@tempswafalse \begingroup \def\@list@extra{\aftergroup\@tempswatrue}% \csname @listvi\endcsname \endgroup \edef\@listvi{\leftmargin\leftmarginvi \labelwidth=\dimexpr \leftmargin-\labelsep\relax \if@tempswa\noexpand\@list@extra\fi }% \@listi \setlength{\@tempdimb}{\f@baselineskip}% \setlength{\footnotesep}{.555\@tempdimb}% \ctm@setlength{\skip\footins}% {.75\@tempdimb}{.3333\@tempdimb}{.1667\@tempdimb}% \ctm@setlength{\floatsep}% {\@tempdimb}{.1667\@tempdimb}{.1667\@tempdimb}% \ctm@setlength{\textfloatsep}% {1.6667\@tempdimb}{.1667\@tempdimb}{.3333\@tempdimb}% \setlength{\intextsep}{\floatsep}% \setlength{\dblfloatsep}{\floatsep}% \setlength{\dbltextfloatsep}{\textfloatsep}% \setlength{\@fptop}{\z@ \@plus 1fil}% \setlength{\@fpsep}{.6667\@tempdimb \@plus 2fil}% \setlength{\@fpbot}{\@fptop}% \setlength{\@dblfptop}{\@fptop}% \setlength{\@dblfpsep}{\@fpsep}% \setlength{\@dblfpbot}{\@fptop}% \ctm@setlength{\partopsep}{.2\@tempdimb}{.1\@tempdimb}{.1\@tempdimb}% } \newcommand*{\generateclofile}[1]{% \kernel@ifnextchar [{\@generatefontfile{#1}}{\@@generatefontfile{#1}}% } \newcommand*{\@generatefontfile}{} \def\@generatefontfile#1[#2]#3{% \begingroup \setlength{\parskip}{0pt}% \changefontsize[#2]{#3}% \generate@fontfile{#1}{#3}% \endgroup } \newcommand\@@generatefontfile[2]{% \begingroup \setlength{\parskip}{0pt}% \changefontsize{#2}% \generate@fontfile{#1}{#2}% \endgroup } \newcommand*{\@@@generatefontfile}[2][]{} \newcommand*{\@fontfile}{} \let\@fontfile\@mainaux \newcommand*{\generate@fontfile}[2]{% \def\@ind{\space\space}% \immediate\openout\@fontfile #1#2.clo \immediate\write\@fontfile{\@percentchar^^J% \@percentchar\space This is file `#1#2.clo', generated with^^J% \@percentchar\space fontsize \csname ver@fontsize.\@pkgextension\endcsname,^^J% \@percentchar\space Copyright (c) Ivan Valbusa.^^J% \@percentchar^^J% \string\ProvidesFile{#1#2.clo}[% \the\year/\ifnum\month<10 0\fi\the\month/\ifnum\day<10 0\fi\the\day% \space generated font size class option (#2)]}% \immediate\write\@fontfile{% \string\let\string\normalsize\string\@undefined^^J% \string\DeclareRobustCommand\string\normalsize{\@percentchar^^J% \@ind\string\@setfontsize\string\normalsize{\f@size}{\f@baselineskip}% \@percentchar^^J% \@ind\string\abovedisplayskip\space \the\abovedisplayskip^^J% \@ind\string\abovedisplayshortskip\space \the\abovedisplayshortskip^^J% \@ind\string\belowdisplayskip\space \the\belowdisplayskip^^J% \@ind\string\belowdisplayshortskip\space \the\belowdisplayshortskip^^J% \@ind\string\let\string\@listi\string\@listI^^J% }\@percentchar% }% \begingroup\small\@listi \immediate\write\@fontfile{% \string\let\string\small\string\@undefined^^J% \string\DeclareRobustCommand\string\small{\@percentchar^^J% \@ind\string\@setfontsize\string\small{\f@size}{\f@baselineskip}% \@percentchar^^J% \@ind\string\abovedisplayskip\space \the\abovedisplayskip^^J% \@ind\string\abovedisplayshortskip\space \the\abovedisplayshortskip^^J% \@ind\string\belowdisplayskip\space \the\belowdisplayskip^^J% \@ind\string\belowdisplayshortskip\space \the\belowdisplayshortskip^^J% \@ind\string\def\string\@listi{\@percentchar^^J% \@ind\@ind\string\leftmargin\string\leftmargini^^J% \@ind\@ind\string\topsep \the\topsep^^J% \@ind\@ind\string\parsep \the\parsep^^J% \@ind\@ind\string\itemsep \string\parsep^^J% \@ind}\@percentchar^^J% }\@percentchar% }% \endgroup \begingroup\footnotesize\@listi \immediate\write\@fontfile{% \string\let\string\footnotesize\string\@undefined^^J% \string\DeclareRobustCommand\string\footnotesize{\@percentchar^^J% \@ind\string\@setfontsize\string\footnotesize{\f@size}{\f@baselineskip}% \@percentchar^^J% \@ind\string\abovedisplayskip\space \the\abovedisplayskip^^J% \@ind\string\abovedisplayshortskip\space \the\abovedisplayshortskip^^J% \@ind\string\belowdisplayskip\space \the\belowdisplayskip^^J% \@ind\string\belowdisplayshortskip\space \the\belowdisplayshortskip^^J% \@ind\string\def\string\@listi{\@percentchar^^J% \@ind\@ind\string\leftmargin\string\leftmargini^^J% \@ind\@ind\string\topsep \the\topsep^^J% \@ind\@ind\string\parsep \the\parsep^^J% \@ind\@ind\string\itemsep \string\parsep^^J% \@ind}\@percentchar^^J% }\@percentchar% }% \endgroup \begingroup\scriptsize \immediate\write\@fontfile{% \string\let\string\scriptsize\string\@undefined^^J% \string\DeclareRobustCommand\string\scriptsize{\@percentchar^^J% \string\@setfontsize\string\scriptsize{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\tiny \immediate\write\@fontfile{% \string\let\string\tiny\string\@undefined^^J% \string\DeclareRobustCommand\string\tiny{\@percentchar^^J% \string\@setfontsize\string\tiny{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\large \immediate\write\@fontfile{% \string\let\string\large\string\@undefined^^J% \string\DeclareRobustCommand\string\large{\@percentchar^^J% \string\@setfontsize\string\large{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Large \immediate\write\@fontfile{% \string\let\string\Large\string\@undefined^^J% \string\DeclareRobustCommand\string\Large{\@percentchar^^J% \string\@setfontsize\string\Large{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\LARGE \immediate\write\@fontfile{% \string\let\string\LARGE\string\@undefined^^J% \string\DeclareRobustCommand\string\LARGE{\@percentchar^^J% \string\@setfontsize\string\LARGE{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\huge \immediate\write\@fontfile{% \string\let\string\huge\string\@undefined^^J% \string\DeclareRobustCommand\string\huge{\@percentchar^^J% \string\@setfontsize\string\huge{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Huge \immediate\write\@fontfile{% \string\let\string\Huge\string\@undefined^^J% \string\DeclareRobustCommand\string\Huge{\@percentchar^^J% \string\@setfontsize\string\Huge{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\tinyr \immediate\write\@fontfile{% \string\let\string\tinyr\string\@undefined^^J% \string\DeclareRobustCommand\string\tinyr{\@percentchar^^J% \string\@setfontsize\string\tinyr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\tinyrr \immediate\write\@fontfile{% \string\let\string\tinyrr\string\@undefined^^J% \string\DeclareRobustCommand\string\tinyrr{\@percentchar^^J% \string\@setfontsize\string\tinyrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\tinyrrr \immediate\write\@fontfile{% \string\let\string\tinyrrr\string\@undefined^^J% \string\DeclareRobustCommand\string\tinyrrr{\@percentchar^^J% \string\@setfontsize\string\tinyrrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\scriptsizer \immediate\write\@fontfile{% \string\let\string\scriptsizer\string\@undefined^^J% \string\DeclareRobustCommand\string\scriptsizer{\@percentchar^^J% \string\@setfontsize\string\scriptsizer{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\scriptsizerr \immediate\write\@fontfile{% \string\let\string\scriptsizerr\string\@undefined^^J% \string\DeclareRobustCommand\string\scriptsizerr{\@percentchar^^J% \string\@setfontsize\string\scriptsizerr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\scriptsizerrr \immediate\write\@fontfile{% \string\let\string\scriptsizerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\scriptsizerrr{\@percentchar^^J% \string\@setfontsize\string\scriptsizerrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \def\fs@appnormal{ \@percentchar^^J% \@ind\string\abovedisplayskip\space \the\abovedisplayskip^^J% \@ind\string\abovedisplayshortskip\space \the\abovedisplayshortskip^^J% \@ind\string\belowdisplayskip\space \the\belowdisplayskip^^J% \@ind\string\belowdisplayshortskip\space \the\belowdisplayshortskip^^J% \@ind\string\let\string\@listi\string\@listI^^J% } \def\fs@appsmall{% \@percentchar^^J% \@ind\string\abovedisplayskip\space \the\abovedisplayskip^^J% \@ind\string\abovedisplayshortskip\space \the\abovedisplayshortskip^^J% \@ind\string\belowdisplayskip\space \the\belowdisplayskip^^J% \@ind\string\belowdisplayshortskip\space \the\belowdisplayshortskip^^J% \@ind\string\def\string\@listi{\@percentchar^^J% \@ind\@ind\string\leftmargin\string\leftmargini^^J% \@ind\@ind\string\topsep \the\topsep^^J% \@ind\@ind\string\parsep \the\parsep^^J% \@ind\@ind\string\itemsep \string\parsep^^J% \@ind}\@percentchar^^J% } \begingroup\smallr\@listi \immediate\write\@fontfile{% \string\let\string\smallr\string\@undefined^^J% \string\DeclareRobustCommand\string\smallr{\@percentchar^^J% \@ind\string\@setfontsize\string\smallr{\f@size}{\f@baselineskip}% \fs@appsmall% }\@percentchar% }% \endgroup \begingroup\smallrr\@listi \immediate\write\@fontfile{% \string\let\string\smallrr\string\@undefined^^J% \string\DeclareRobustCommand\string\smallrr{\@percentchar^^J% \@ind\string\@setfontsize\string\smallrr{\f@size}{\f@baselineskip}% \fs@appsmall% }\@percentchar% }% \endgroup \begingroup\smallrrr\@listi \immediate\write\@fontfile{% \string\let\string\smallrrr\string\@undefined^^J% \string\DeclareRobustCommand\string\smallrrr{\@percentchar^^J% \@ind\string\@setfontsize\string\smallrrr{\f@size}{\f@baselineskip}% \fs@appsmall% }\@percentchar% }% \endgroup \begingroup\footnotesizer\@listi \immediate\write\@fontfile{% \string\let\string\footnotesizer\string\@undefined^^J% \string\DeclareRobustCommand\string\footnotesizer{\@percentchar^^J% \@ind\string\@setfontsize\string\footnotesizer{\f@size}{\f@baselineskip}% \fs@appsmall% }\@percentchar% }% \endgroup \begingroup\footnotesizerr\@listi \immediate\write\@fontfile{% \string\let\string\footnotesizerr\string\@undefined^^J% \string\DeclareRobustCommand\string\footnotesizerr{\@percentchar^^J% \@ind\string\@setfontsize\string\footnotesizerr{\f@size}{\f@baselineskip}% \fs@appsmall% }\@percentchar% }% \endgroup \begingroup\footnotesizerrr\@listi \immediate\write\@fontfile{% \string\let\string\footnotesizerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\footnotesizerrr{\@percentchar^^J% \@ind\string\@setfontsize\string\footnotesizerrr{\f@size}{\f@baselineskip}% \fs@appsmall% }\@percentchar% }% \endgroup \begingroup\normalsizer \immediate\write\@fontfile{% \string\let\string\normalsizer\string\@undefined^^J% \string\DeclareRobustCommand\string\normalsizer{\@percentchar^^J% \@ind\string\@setfontsize\string\normalsizer{\f@size}{\f@baselineskip}% \fs@appnormal% }\@percentchar% }% \endgroup \begingroup\normalsizerr \immediate\write\@fontfile{% \string\let\string\normalsizerr\string\@undefined^^J% \string\DeclareRobustCommand\string\normalsizerr{\@percentchar^^J% \@ind\string\@setfontsize\string\normalsizerr{\f@size}{\f@baselineskip}% \fs@appnormal% }\@percentchar% }% \endgroup \begingroup\normalsizerrr \immediate\write\@fontfile{% \string\let\string\normalsizerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\normalsizerrr{\@percentchar^^J% \@ind\string\@setfontsize\string\normalsizerrr{\f@size}{\f@baselineskip}% \fs@appnormal% }\@percentchar% }% \endgroup \begingroup\larger \immediate\write\@fontfile{% \string\let\string\larger\string\@undefined^^J% \string\DeclareRobustCommand\string\larger{\@percentchar^^J% \string\@setfontsize\string\larger{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\largerr \immediate\write\@fontfile{% \string\let\string\largerr\string\@undefined^^J% \string\DeclareRobustCommand\string\largerr{\@percentchar^^J% \string\@setfontsize\string\largerr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\largerrr \immediate\write\@fontfile{% \string\let\string\largerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\largerrr{\@percentchar^^J% \string\@setfontsize\string\largerrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Larger \immediate\write\@fontfile{% \string\let\string\Larger\string\@undefined^^J% \string\DeclareRobustCommand\string\Larger{\@percentchar^^J% \string\@setfontsize\string\Larger{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Largerr \immediate\write\@fontfile{% \string\let\string\Largerr\string\@undefined^^J% \string\DeclareRobustCommand\string\Largerr{\@percentchar^^J% \string\@setfontsize\string\Largerr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Largerrr \immediate\write\@fontfile{% \string\let\string\Largerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\Largerrr{\@percentchar^^J% \string\@setfontsize\string\Largerrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\LARGEr \immediate\write\@fontfile{% \string\let\string\LARGEr\string\@undefined^^J% \string\DeclareRobustCommand\string\LARGEr{\@percentchar^^J% \string\@setfontsize\string\LARGEr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\LARGErr \immediate\write\@fontfile{% \string\let\string\LARGErr\string\@undefined^^J% \string\DeclareRobustCommand\string\LARGErr{\@percentchar^^J% \string\@setfontsize\string\LARGErr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\LARGErrr \immediate\write\@fontfile{% \string\let\string\LARGErrr\string\@undefined^^J% \string\DeclareRobustCommand\string\LARGErrr{\@percentchar^^J% \string\@setfontsize\string\LARGErrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\huger \immediate\write\@fontfile{% \string\let\string\huger\string\@undefined^^J% \string\DeclareRobustCommand\string\huger{\@percentchar^^J% \string\@setfontsize\string\huger{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\hugerr \immediate\write\@fontfile{% \string\let\string\hugerr\string\@undefined^^J% \string\DeclareRobustCommand\string\hugerr{\@percentchar^^J% \string\@setfontsize\string\hugerr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\hugerrr \immediate\write\@fontfile{% \string\let\string\hugerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\hugerrr{\@percentchar^^J% \string\@setfontsize\string\hugerrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Huger \immediate\write\@fontfile{% \string\let\string\Huger\string\@undefined^^J% \string\DeclareRobustCommand\string\Huger{\@percentchar^^J% \string\@setfontsize\string\Huger{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Hugerr \immediate\write\@fontfile{% \string\let\string\Hugerr\string\@undefined^^J% \string\DeclareRobustCommand\string\Hugerr{\@percentchar^^J% \string\@setfontsize\string\Hugerr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\Hugerrr \immediate\write\@fontfile{% \string\let\string\Hugerrr\string\@undefined^^J% \string\DeclareRobustCommand\string\Hugerrr{\@percentchar^^J% \string\@setfontsize\string\Hugerrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\HUGE \immediate\write\@fontfile{% \string\let\string\HUGE\string\@undefined^^J% \string\DeclareRobustCommand\string\HUGE{\@percentchar^^J% \string\@setfontsize\string\HUGE{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\HUGEr \immediate\write\@fontfile{% \string\let\string\HUGEr\string\@undefined^^J% \string\DeclareRobustCommand\string\HUGEr{\@percentchar^^J% \string\@setfontsize\string\HUGEr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\HUGErr \immediate\write\@fontfile{% \string\let\string\HUGErr\string\@undefined^^J% \string\DeclareRobustCommand\string\HUGErr{\@percentchar^^J% \string\@setfontsize\string\HUGErr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \begingroup\HUGErrr \immediate\write\@fontfile{% \string\let\string\HUGErrr\string\@undefined^^J% \string\DeclareRobustCommand\string\HUGErrr{\@percentchar^^J% \string\@setfontsize\string\HUGErrr{\f@size}{\f@baselineskip}% }\@percentchar% }% \endgroup \immediate\write\@fontfile{\string\normalsize}% \begingroup \immediate\write\@fontfile{% \string\setlength{\string\parindent}{\the\parindent}^^J% \string\setlength{\string\headheight}{\the\headheight}^^J% \string\setlength{\string\smallskipamount}{\the\smallskipamount}^^J% \string\setlength{\string\medskipamount}{\the\medskipamount}^^J% \string\setlength{\string\bigskipamount}{\the\bigskipamount}^^J% }% \endgroup \immediate\write\@fontfile{% \string\setlength{\string\footnotesep}{\the\footnotesep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\skip\string\footins}{\the\skip\footins}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\floatsep}{\the\floatsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\textfloatsep}{\the\textfloatsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\intextsep}{\the\intextsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\dblfloatsep}{\the\dblfloatsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\dbltextfloatsep}{\the\dbltextfloatsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\@fptop}{\the\@fptop}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\@fpsep}{\the\@fpsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\@fpbot}{\the\@fpbot}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\@dblfptop}{\the\@dblfptop}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\@dblfpsep}{\the\@dblfpsep}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\@dblfpbot}{\the\@dblfpbot}\@percentchar }% \immediate\write\@fontfile{% \string\setlength{\string\partopsep}{\the\partopsep}\@percentchar }% \begingroup \@listi \immediate\write\@fontfile{% \string\def\string\@listi{\@percentchar^^J% \@ind\string\leftmargin\string\leftmargini^^J% \@ind\string\topsep \the\topsep^^J% \@ind\string\parsep \the\parsep^^J% \@ind\string\itemsep \string\parsep^^J% }\@percentchar }% \endgroup \immediate\write\@fontfile{% \string\let\string\@listI\string\@listi }% \begingroup \@listii \immediate\write\@fontfile{% \string\def\string\@listii{\@percentchar^^J% \@ind\string\leftmargin\string\leftmarginii^^J% \@ind\string\labelwidth\string\leftmarginii^^J% \@ind\string\advance\string\labelwidth-\string\labelsep^^J% \@ind\string\topsep \the\topsep^^J% \@ind\string\parsep \the\parsep^^J% \@ind\string\itemsep \string\parsep^^J% }\@percentchar }% \endgroup \begingroup \@listiii \immediate\write\@fontfile{% \string\def\string\@listiii{\@percentchar^^J% \@ind\string\leftmargin\string\leftmarginiii^^J% \@ind\string\labelwidth\string\leftmarginiii^^J% \@ind\string\advance\string\labelwidth-\string\labelsep^^J% \@ind\string\topsep \the\topsep^^J% \@ind\string\parsep \the\parsep^^J% \@ind\string\partopsep \the\partopsep^^J% \@ind\string\itemsep \string\topsep^^J% }\@percentchar }% \endgroup \begingroup \@listiv \immediate\write\@fontfile{% \string\def\string\@listiv{\@percentchar^^J% \@ind\string\leftmargin\string\leftmarginiv^^J% \@ind\string\labelwidth\string\leftmarginiv^^J% \@ind\string\advance\string\labelwidth-\string\labelsep^^J% }\@percentchar }% \endgroup \begingroup \@listv \immediate\write\@fontfile{% \string\def\string\@listv{\@percentchar^^J% \@ind\string\leftmargin\string\leftmarginv^^J% \@ind\string\labelwidth\string\leftmarginv^^J% \@ind\string\advance\string\labelwidth-\string\labelsep^^J% }\@percentchar }% \endgroup \begingroup \@listvi \immediate\write\@fontfile{% \string\def\string\@listvi{\@percentchar^^J% \@ind\string\leftmargin\string\leftmarginvi^^J% \@ind\string\labelwidth\string\leftmarginvi^^J% \@ind\string\advance\string\labelwidth-\string\labelsep^^J% }\@percentchar }% \endgroup \immediate\write\@fontfile{% \string\@listi^^J% \string\endinput^^J% \@percentchar^^J% \@percentchar\space End of file `#1#2.clo'. } \immediate\closeout\@fontfile } \@onlypreamble\generateclofile \newcommand{\sampletext}[1]{\def\fs@sampletext{#1}} \def\fs@sampletext{% As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding. The paralogisms of practical reason are what first give rise to the architectonic of practical reason. As will easily be shown in the next section, reason would thereby be made to contradict, in view of these considerations, the Ideal of practical reason, yet the manifold depends on the phenomena.} \ExplSyntaxOn \NewDocumentCommand{\printsamples} { m m O{tiny,tinyr,tinyrr,tinyrrr, scriptsize,scriptsizer,scriptsizerr,scriptsizerrr, footnotesize,footnotesizer,footnotesizerr,footnotesizerrr, small,smallr,smallrr,smallrrr, normalsize,normalsizer,normalsizerr,normalsizerrr, large,larger,largerr,largerrr, Large,Larger,Largerr,Largerrr, LARGE,LARGEr,LARGErr,LARGErrr, huge,huger,hugerr,hugerrr, Huge,Huger,Hugerr,Hugerrr, HUGE,HUGEr,HUGErr,HUGErrr, } } { \fontsize_printsamples:nnn { #1 } { #2 } { #3 } } \cs_new:Nn \__fontsize_round_f:n { \fp_eval:n { round(\use:c{f@#1},1) } pt } \cs_new_protected:Nn \fontsize_printsamples:nnn { % group to bound the font changes \group_begin: % set the size \changefontsize[#1]{#2}\selectfont % header \subsubsection*{Text~samples~for~\symbol{92}normalsize~#2~on~#1} % map through the desired sizes \clist_map_inline:nn { #3 } { \use:c{##1} % set the font size \noindent\texttt{\symbol{92}##1}:~ % print the font size command \__fontsize_round_f:n {size}~on~ % print the size in points \__fontsize_round_f:n {baselineskip}.~ % print the baseline skip in points \fs@sampletext % sample text \par\addvspace{\medskipamount} % finish up } % close the group \group_end: } \ExplSyntaxOff \endinput %% %% End of file `fontsize.sty'.