summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex')
-rw-r--r--Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex33
1 files changed, 33 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex
new file mode 100644
index 00000000000..ed1c9d619ad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex
@@ -0,0 +1,33 @@
+\documentclass[11pt,a4paper,english]{article}
+\usepackage[margin=0mm,paperheight=25mm,paperwidth=145mm]{geometry}
+\usepackage{babel,array}
+\usepackage[default]{sourcecodepro-otf}
+
+
+\newcommand*\spA{abcde}
+\newcommand*\spB{01469}
+\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 \\}
+
+\begin{document}
+\centering
+\begin{tabular}{
+ l
+ >{\sourcecodeproextreme}c
+ >{\sourcecodeprolight}c
+ >{\sourcecodepro}c
+ >{\sourcecodeprolight\bfseries}c
+ >{\sourcecodepro\bfseries}c
+ >{\sourcecodeproextreme\bfseries}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} \ No newline at end of file