sourceserifpro/doc/latex/sourceserifpro/sourceserifpro-otf-specimen...

30 lines
982 B
TeX
Raw Permalink Normal View History

2014-10-28 18:48:51 +01:00
\documentclass[12pt]{standalone}
\usepackage{array}
\usepackage[opentype]{sourceserifpro}
\newcommand*\spA{abcde}
\newcommand*\spB{01469}
2018-11-10 17:41:48 +01:00
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 & #1\\}
2014-10-28 18:48:51 +01:00
\begin{document}
\begin{tabular}{
>{\sourceserifpro}l
2018-11-10 17:41:48 +01:00
>{}c
2015-01-11 17:37:14 +01:00
>{\sourceserifproextreme}c
>{\sourceserifprolight}c
2014-10-28 18:48:51 +01:00
>{\sourceserifpro}c
2015-01-11 17:37:14 +01:00
>{\sourceserifprolight\bfseries}c
>{\sourceserifpro\bfseries}c
>{\sourceserifproextreme\bfseries}c }
2018-11-10 17:41:48 +01:00
& Default & ExtraLight & Light & Regular & Semibold & Bold & Black \\
2014-10-28 18:48:51 +01:00
normal \spr
2018-09-05 11:01:31 +02:00
italic \spr[\itshape\spA]
small-caps \spr[\scshape\spA]
2014-10-28 18:48:51 +01:00
capitals \spr[\MakeUppercase\spA]
lining \spr[\spB]
2018-09-05 11:01:31 +02:00
lining italic \spr[\itshape\spB]
lining small-caps \spr[\scshape\spB]
2014-10-28 18:48:51 +01:00
old-style \spr[\oldstylenums{\spB}]
2018-09-05 11:01:31 +02:00
old-style italic \spr[\oldstylenums{\itshape \spB}]
old-style small-caps \spr[\oldstylenums{\scshape\spB}]
2014-10-28 18:48:51 +01:00
\end{tabular}
2018-09-05 11:01:31 +02:00
\end{document}