diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/slantsc/testslantsc.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/slantsc/testslantsc.tex')
-rw-r--r-- | macros/latex/contrib/slantsc/testslantsc.tex | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/macros/latex/contrib/slantsc/testslantsc.tex b/macros/latex/contrib/slantsc/testslantsc.tex new file mode 100644 index 0000000000..f6004d2236 --- /dev/null +++ b/macros/latex/contrib/slantsc/testslantsc.tex @@ -0,0 +1,31 @@ +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage{slantsc} +\usepackage{amsmath} +\parindent0mm +\def\ar#1{$\stackrel{\text{\normalfont #1}}{\Longrightarrow}$} +\def\test#1{% + {\normalfont#1:}\\ + \begingroup + \csname #1\endcsname% + {This Is Arbitrary Text \upshape\ar{upshape} This Is Arbitrary Text} \\ + {This Is Arbitrary Text \itshape\ar{itshape} This Is Arbitrary Text} \\ + {This Is Arbitrary Text \slshape\ar{slshape} This Is Arbitrary Text} \\ + {This Is Arbitrary Text \scshape\ar{scshape} This Is Arbitrary Text} \\ + {This Is Arbitrary Text \noscshape\ar{noscshape} This Is Arbitrary Text}% + \par\bigskip + \endgroup +} +\begin{document} + +non-small-caps shapes:\\ +\test{upshape} +\test{itshape} +\test{slshape} + +small-caps shapes:\\ +\scshape +\test{upshape} +\test{itshape} +\test{slshape} +\end{document} |