[XeTeX] substitution of font family

Peter Dyballa Peter_Dyballa at Web.DE
Mon Aug 15 13:57:09 CEST 2005


Am 15.08.2005 um 13:14 schrieb Yves Codet:

> \renewcommand\section{\@startsection {section}{1}{\z@}%
>      {-1.75ex \@plus -0.5ex \@minus -.2ex}%
>      {0.5ex \@plus .2ex}%
>      {\reset at font\large\bfseries\sffamily}}
>
> I would like to typeset XML files, converted to LaTeX, using "Sanskrit 
> 2003" which is, as far as Latin script is concerned, a serif font. 
> Most of the text is in Devanagari but a few titles are in 
> transliteration. Since those titles are defined as above, XeTeX 
> doesn't use "Sanskrit 2003" for them and so some glyphs are missing. 
> Is there a (simple) way to override that \sffamily command and to say 
> "use for everything the font called by \setromanfont even if it's no 
> sans-serif font"?
>

Since the above code is LaTeX why can't you use:

	\setsansfont{Devanagari ...}

Or you re-renewcommand the above and change sf to rm.

--
Greetings
                                  <]
    Pete      o        __o         |__    o           recumbo
     ___o    /I       -\<,         |o \  -\),-%       ergo sum!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________



More information about the XeTeX mailing list