Debian Codegraph @

texmf-dist/doc/latex/onedown/Examples/Fontsizes.tex

raw
1 %\documentclass[onedown-examples]{subfiles}
2 \documentclass[10pt]{report}
3 %
4 \usepackage{libertine}
5 \usepackage{onedown}
6
7 %
8 \makeatletter
9 \newcommand{\mysize}[1]{%
10 \bgroup\noindent\csname#1\endcsname The #1 size is: \textbf{\csname#1\endcsname\f@size\,pt}.\\The baselineskip is \the\baselineskip\par\vskip2mm\egroup}
11 \makeatother
12
13 \begin{document}
14 \noindent
15 Here we show the different fontsizes with values and output. \\
16 For the size commands \emph{ssmall} and \emph{HUGE} refer to package \textsf{moresizes}.
17 \\[1em]
18 %%%%%
19 \mysize{tiny}
20 \mysize{ssmall}
21 \mysize{scriptsize}
22 \mysize{footnotesize}
23 \mysize{small}
24 \mysize{normalsize}
25 \mysize{large}
26 \mysize{Large}
27 \mysize{LARGE}
28 \mysize{huge}
29 \mysize{Huge}
30 \mysize{HUGE}
31 %%%%%
32 \end{document}
33 \endinput