summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/slantsc/testslantsc.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
committerKarl Berry <karl@freefriends.org>2006-01-09 00:49:07 +0000
commit007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch)
tree90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/slantsc/testslantsc.tex
parent950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff)
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/slantsc/testslantsc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/slantsc/testslantsc.tex31
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/slantsc/testslantsc.tex b/Master/texmf-dist/doc/latex/slantsc/testslantsc.tex
new file mode 100644
index 00000000000..f6004d2236c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/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}