% 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}