[OS X TeX] Multiple fonts using otfinst

Peter Dyballa Peter_Dyballa at Web.DE
Mon Jun 21 09:55:20 EDT 2010


Am 21.06.2010 um 12:10 schrieb Theo Moore:

> My question is, suppose I wanted to have a different text for say,
> figure captions. How would I, midway through the document, redefine
> the font to use?


You have a lot of options with NFSS2 (New Font Selection Scheme).

	\renewcommand{\familydefault}{\sfdefault}

switches from whatever to sans-serif.

	\renewcommand{\sfdefault}{ma1}

sets Arial as standard sans-serif font.

	\fontsize{18}{20}\selectfont

just selects the given dimensions. The complete command of selecting a  
particular font at a particular size and shape is:

	\fontfamily{f!#}\fontencoding{U}\fontseries{x}\fontshape{ul} 
\fontsize{18}{20}\selectfont

You can create your own short commands...

--
Greetings

   Pete
               <\
                 \__     O                       __O
                 | O\   _\\/\-%                _`\<,
                 '()-'-(_)--(_)               (_)/(_)




More information about the MacOSX-TeX mailing list