diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/substitutefont/test-txtt.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/substitutefont/test-txtt.tex | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/substitutefont/test-txtt.tex b/Master/texmf-dist/doc/latex/substitutefont/test-txtt.tex new file mode 100644 index 00000000000..43ea44b17f2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/substitutefont/test-txtt.tex @@ -0,0 +1,49 @@ +% Example and test for the substitutefont package: +\documentclass{minimal} +\usepackage{lmodern} +\usepackage{parskip} +\usepackage[T1]{fontenc} +\pagestyle{empty} + +\usepackage{substitutefont} +\substitutefont{T1}{txtt}{cmtt} + +% Teststring +\newcommand{\alphabet}{ +ABGDEZHJIKLMNXOPRSTUFQYW +abgdezhjiklmnxoprsctufqyw +} + +\begin{document} + +The Computer Modern and Latin Modern fonts provide a monospaced font only in +upright shape. The \emph{txfonts} package comes with a nice monospaced font +in the common shapes and real small caps.\\ + + +Normal: \alphabet + +Italic: \textit{\alphabet} + +Slanted: \textsl{\alphabet} + +Bold: \textbf{\alphabet} + +Bold Italic: \textbf{\textit\alphabet} + +Small-Caps: \textsc{\alphabet} + +Monospaced: \texttt{\alphabet} + +Monospaced Bold: \texttt{\textbf \alphabet} + +Monospaced Italic: \texttt{\textit \alphabet} + +Monospaced Slanted: \texttt{\textsl \alphabet} + +Monospaced Bold Slanted: \texttt{\textbf{\textit \alphabet}} + +Monospaced Small-Caps: \texttt{\textsc \alphabet} + + +\end{document} |