Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sorry guys for this silly question but I really don't understand the way to do this.

I would like to use the fonts I saw here in my documents.

I'm on Mac OS X, snow leopard using textmate as the editor and my TeX distribution is TeXLive-2010 installed via MacTeX. Normally I use pdftex as the rendering engine. Do I have to change it to xetex?

Could you please provide me some sample code to use, for example, "Avant Garde Book" or whatever other unusual font from that document?

share|improve this question
2  
Perhaps you are interested in using getnonfreefonts for installing further fonts which can be used freely though they cannot be distributed with TeX Live. –  Stefan Kottwitz Feb 15 '11 at 10:02
    
@Martin, really really really appreciated! –  microspino Feb 15 '11 at 10:30
add comment

1 Answer 1

up vote 11 down vote accepted

Here are all fonts available (with samples and source code) in TeX Live in Ubuntu:

http://www.tug.dk/FontCatalogue/

It isn't the latest complete font list of TeX Live/MacTeX 2010, but still very useful.

Another good source for free fonts in LaTeX, is

http://www.ctan.org/tex-archive/info/Free_Math_Font_Survey/survey.html

For a complete list of fonts in your computer, you have to check the installation path of TeX Live, say, somepath/texmf-dist/fonts/. But it is difficult to know how to use the fonts, since some fonts are not well-documented. You can also see this older question: What fonts are installed on my box?

You don't have to use XeTeX to access these fonts. On the other hand, XeTeX helps you to use font installed in your OS easily, like 'Times New Roman' in MacOS and Windows.


Usually, you may want to use a uniqe font theme in one document. There're many font package for this purpose. Use the packages to change the serif, sans serif and monosapce typefaces, and also the math font if there is. You can know many packages from the two big-lists I mentioned.

For example,

\documentclass{article}
\usepackage{fourier}

You'll get Utopia text font and Fourier math font in your document. Other common font packages include txfonts, pxfonts, mathdesign etc.


If you just want to use a special font for a few text, you will probably not want to change the typeface of whole document. Some font packages (especially fonts for symbols and non-latin alphabets) provide some commands for this. These packages are often well documented. An example:

% \usepackage{tipa} % font package for International Phonetic Alphabet
Pronounce \textipa{["lA:tEk]} or \textipa{["leItEk]}

However, there are many fonts without a .sty package with a PDF document, even no sample code and result. You have to use LaTeX's font commands to access the font by name. (See the big-lists to know the font names.)

In NFSS scheme, you may use, for example:

{\fontfamily{cmfib}\selectfont Computer Modern Fibonacci} % ref cmfonts.fdd

Another example:

{\usefont{OT1}{pbk}{db}{sc} Adobe Bookman Demibold Smallcaps} % ref psnfss

You may want to know more about LaTeX2e NFSS scheme. See fntguide or any book on LaTeX.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.