summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/onedown/examples/Fontsizes.tex
blob: 24f4fd4ced8dbe6f731125baaf3aa1e6638e775f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%\documentclass[onedown-examples]{subfiles}
\documentclass[10pt]{report}
%
\usepackage{libertine}
\usepackage{onedown}

%
\makeatletter
\newcommand{\mysize}[1]{%
  \bgroup\noindent\csname#1\endcsname The #1 size is: \textbf{\csname#1\endcsname\f@size\,pt}.\\The  baselineskip is \the\baselineskip\par\vskip2mm\egroup}
\makeatother

\begin{document}
\noindent
Here we show the different fontsizes with values and output. \\
For the size commands \emph{ssmall} and \emph{HUGE} refer to package \textsf{moresizes}.
\\[1em]
%%%%%
\mysize{tiny}
\mysize{ssmall}
\mysize{scriptsize}
\mysize{footnotesize}
\mysize{small}
\mysize{normalsize}
\mysize{large}
\mysize{Large}
\mysize{LARGE}
\mysize{huge}
\mysize{Huge}
\mysize{HUGE}
%%%%%
\end{document}
\endinput