[XeTeX] OS X fonts.

Alain Schremmer Schremmer.Alain at verizon.net
Fri Jul 23 05:44:11 CEST 2004


I tried but I ran into the "couldn't find `XeLaTeX.xfmt'!" issue.
(Small caps no problem.)
Regards
--schremmer

On Jul 22, 2004, at 7:15 PM, Bruno Voisin wrote:

> Le 23 juil. 04, à 00:07, Alain Schremmer a écrit :
>
>> Of course, if only you could modify your suggestion so that I can use  
>> Futura Condensed only for these "units" within a plain-vanilla LaTeX,  
>> I mentioned in the above-mentioned response, I would be overjoyed.  
>> Somehow, I don't think it is easily done.
>>
>> On Jul 22, 2004, at 2:26 AM, Bruno Voisin wrote:
>>
>>> For your specific need above, and assuming you're planning to use  
>>> Futura Condensed Medium as the main text font (i.e., the one  
>>> corresponding to \textrm, not \textsf), you may try putting in your  
>>> document's preamble:
>>>
>>> \DeclareFontFamily{U}{FuturaCondensed}{}
>>> \DeclareFontShape{U}{FuturaCondensed}{m}{n}%
>>>   {<-> "Futura\space Condensed\space Medium"}{}
>>> \DeclareFontShape{U}{FuturaCondensed}{bx}{n}%
>>>   {<-> "Futura\space Condensed\space ExtraBold"}{}
>>> \DeclareFontShape{U}{FuturaCondensed}{b}{n}%
>>>   {<-> ssub * FuturaCondensed/bx/n}{}
>>> \renewcommand{\encodingdefault}{U}
>>> \renewcommand{\rmdefault}{FuturaCondensed}
>
> It turns out that's not difficult to do, based on the information in  
> /Library/teTeX/share/texmf.tetex/doc/latex/base/fntguide.dvi:
>
> - Forget the two above lines:
>
> 	\renewcommand{\encodingdefault}{U}
> 	\renewcommand{\rmdefault}{FuturaCondensed}
>
> - Define a new command \unit (assuming there's no pre-existing LaTeX  
> command of the same name, I'm not sure) by:
>
> 	\DeclareTextFontCommand{\unit}%
> 		 
> {\fontencoding{U}\fontfamily{FuturaCondensed}\fontseries{m}\fontshape{n 
> }}
>
> This will be used as \unit{KILOMeter}. In case you prefer a  
> declarative-style command, to be used as {\unit KILOMeter}, define  
> instead:
>
> 	\DeclareRobustCommand{\unit}{\usefont{U}{FuturaCondensed}{m}{n}}
>
> By the way, you can't get small caps with Futura Condensed, as this  
> font simply does not include any small caps form. This may be verified  
> by typesetting -- in plain TeX -- the XeTeX sample file AAT-info.tex  
> after adding in it the line:
>
> 	\def\fontname{Futura Condensed Medium}
>
> Compare, for example, with the result obtained after defining  
> \fontname as Hoefler Text.
>
> Bruno Voisin
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>



More information about the XeTeX mailing list