[OS X TeX] Font in TeXShop
Morten Høgholm
morten.hoegholm at gmail.com
Thu Feb 23 14:49:47 CET 2006
On Thu, 23 Feb 2006 14:38:07 +0100, Arthur Snoke <snoke at vt.edu> wrote:
> I would appreciate examples showing how I sould use the Helvetica and
> Courier. I have a command to make headers:
>
> \newcommand{\heading}[1]{\begin{center}\large\bf #1\end{center}}
>
> To make it use Helvetica instead of the default font, does this work?
>
> \newcommand{\heading}[1]{\begin{center}\textsf\large\bf #1\end{center}}
No, \textsf is a command taking an argument. Use the declaration form
\sffamily instead. Also, \bf is long deprecated - use \bfseries instead.
> If so, does the order matter?
Not if declarations are used.
> Will the \texttt or the \verbatim environment automatically use Courier?
Yes, \texttt uses \ttfamily and that is what the courier package changes.
> Finally, what in these commands tells it to use Times rather than cm?
For the text font it is simple and rather more complicated for the math
setup but I won't go into it. Instead I urge you to check out the newest
edition of the PracTeX Journal <http://www.tug.org/pracjourn/>. The
articles by Walter Schmidt and David Walden should answer most of your
questions.
--
Morten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list