Debian Codegraph @

texmf-dist/doc/latex/slantsc/testslantsc.tex

raw
1 \documentclass[a4paper]{article}
2 \usepackage[T1]{fontenc}
3 \usepackage{slantsc}
4 \usepackage{amsmath}
5 \parindent0mm
6 \def\ar#1{$\stackrel{\text{\normalfont #1}}{\Longrightarrow}$}
7 \def\test#1{%
8 {\normalfont#1:}\\
9 \begingroup
10 \csname #1\endcsname%
11 {This Is Arbitrary Text \upshape\ar{upshape} This Is Arbitrary Text} \\
12 {This Is Arbitrary Text \itshape\ar{itshape} This Is Arbitrary Text} \\
13 {This Is Arbitrary Text \slshape\ar{slshape} This Is Arbitrary Text} \\
14 {This Is Arbitrary Text \scshape\ar{scshape} This Is Arbitrary Text} \\
15 {This Is Arbitrary Text \noscshape\ar{noscshape} This Is Arbitrary Text}%
16 \par\bigskip
17 \endgroup
18 }
19 \begin{document}
20
21 non-small-caps shapes:\\
22 \test{upshape}
23 \test{itshape}
24 \test{slshape}
25
26 small-caps shapes:\\
27 \scshape
28 \test{upshape}
29 \test{itshape}
30 \test{slshape}
31 \end{document}