| 1 |
\documentclass[12pt]{standalone} |
| 2 |
\usepackage{array} |
| 3 |
\usepackage[default,opentype]{sourcecodepro} |
| 4 |
|
| 5 |
\newcommand*\spA{abcde} |
| 6 |
\newcommand*\spB{01469} |
| 7 |
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 & #1 \\} |
| 8 |
|
| 9 |
\begin{document} |
| 10 |
\begin{tabular}{ |
| 11 |
>{\sourcecodepro}l |
| 12 |
>{\sourcecodeproextreme}c |
| 13 |
>{\sourcecodeprolight}c |
| 14 |
>{\sourcecodepro}c |
| 15 |
>{\sourcecodepromedium}c |
| 16 |
>{\sourcecodeprolight\bfseries}c |
| 17 |
>{\sourcecodepro\bfseries}c |
| 18 |
>{\sourcecodeproextreme\bfseries}c } |
| 19 |
& ExtraLight & Light & Regular & Medium & Semibold & Bold & Black \\ |
| 20 |
normal \spr |
| 21 |
italic \spr[\itshape\spA] |
| 22 |
% small-caps \spr[\scshape\spA] |
| 23 |
capitals \spr[\MakeUppercase\spA] |
| 24 |
lining \spr[\spB] |
| 25 |
lining italic \spr[\itshape\spB] |
| 26 |
% lining small-caps \spr[\scshape\spB] |
| 27 |
old-style \spr[\oldstylenums{\spB}] |
| 28 |
old-style italic \spr[\oldstylenums{\itshape\spB}] |
| 29 |
% old-style small-caps \spr[\oldstylenums{\scshape\spB}] |
| 30 |
\end{tabular} |
| 31 |
\end{document} |