[OS X TeX] Proportional typewriter?

Will Robertson will at mecheng.adelaide.edu.au
Thu May 27 21:19:43 EDT 2004


On 27 May 2004, at 21:40, Hans van Maanen wrote:

> I'd like to use Proportional typewriter instead of the regular \texttt 
> throughout my document. How do I do this?

Read fntguide.dvi for details. What you want is:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{lettrine}

% The all important line:
\renewcommand{\ttdefault}{lmvtt}

\begin{document}
\lettrine{L}{atin} Modern fonts are enabled with the \texttt{lmodern} 
package. Note that they use the T1 encoding so you also need 
\verb|\usepackage[T1]{fontenc}| in your preamble.
\end{document}

HTH

W

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the MacOSX-TeX mailing list