summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontscale/fontscale-table-font-steps.tex
blob: 687736625e7e2669a25760e55426f906c9179d5a (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
34
35
36
37
\ProvidesFile{fontscale-table-font-steps.tex}[2024-10-20]

\begin{table}
  \centering
  \caption
    {%
      The font step of each font size command from \cs{tiny} to \cs{Huge}.
      These are constants and cannot be changed.%
      \label{table:fontsteps}%
    }
  \bigskip
  \begin{tblr}
    {
        colspec=
          {
            l
            Q[si={table-format=3.2},c]
          }
      , cell{1}{2}={guard}
      , cell{2-Z}{1}={cmd=\cs}
    }
    \toprule
      font size command & font step \\
    \midrule
      tiny         & -4 \\
      scriptsize   & -3 \\
      footnotesize & -2 \\
      small        & -1 \\
      normalsize   &  0 \\
      large        &  1 \\
      Large        &  2 \\
      LARGE        &  3 \\
      huge         &  4 \\
      Huge         &  5 \\
    \bottomrule
  \end{tblr}
\end{table}