summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/fontspec/testsuite/F-feat-numbers.ltx
blob: 2fab9c6660ef9dfebe0bf139ba7f480c0531dfeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\documentclass{testsuite}
\usepackage{fontspec}
\begin{document}

\fontspec[Numbers={Proportional,OldStyle}]
         {TeX Gyre Adventor}
`In 1842, 999 people sailed 97 miles in
 13 boats. In 1923, 111 people sailed 54
 miles in 56 boats.'            \bigskip

{\addfontfeatures{Numbers={Monospaced,Lining}}
\begin{tabular}{@{} cccc @{}}
          Year & People & Miles & Boats \\
  \hline  1842 &  999   &  75   &  13   \\
          1923 &  111   &  54   &  56
\end{tabular}}

\end{document}