summaryrefslogtreecommitdiff
path: root/fonts/sourcesanspro/doc/sourcesanspro-type1-specimen.tex
blob: cc30d339b2b3336bdd93b8d69cb680aa0943bf43 (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
\documentclass[11pt]{standalone}
\usepackage{array}
\usepackage[default,type1]{sourcesanspro}
\usepackage[T1]{fontenc}

\newcommand*\spA{abcde}
\newcommand*\spB{01469}
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 \\}
\begin{document}
\begin{tabular}{
		l
		>{\fontseries{el}\fontshape{n}\selectfont}c
		>{\fontseries{l}\fontshape{n}\selectfont}c
		>{\fontseries{m}\fontshape{n}\selectfont}c
		>{\fontseries{sb}\fontshape{n}\selectfont}c
		>{\fontseries{b}\fontshape{n}\selectfont}c
		>{\fontseries{eb}\fontshape{n}\selectfont}c }
	& ExtraLight & Light & Regular & Semibold & Bold & Black \\
	normal               \spr
	italic               \spr[\itshape\spA]
	small-caps           \spr[\scshape\spA]
	capitals             \spr[\MakeUppercase\spA]
	lining               \spr[\spB]
	lining italic        \spr[\itshape\spB]
	lining small-caps    \spr[\scshape\spB]
	old-style            \spr[\oldstylenums{\spB}]
	old-style italic     \spr[\oldstylenums{\itshape \spB}]
	old-style small-caps \spr[\oldstylenums{\scshape\spB}]
\end{tabular}
\end{document}