[texhax] Combining fontspec, fontsize, fontstretch

Ulrike Fischer news3 at nililand.de
Mon Dec 20 11:41:40 CET 2010


Am Sun, 19 Dec 2010 10:52:51 -0500 schrieb Peter Davis:

> I'm trying to use XeLaTeX with the fontspec and setspace packages.  However,
> using \setstretch seems to override the previously specified \fontsize.  So,
> for example
> 
> \fontsize{20}{20}
> \selectfont
> \setstretch{1.2}
> \fontspec{Lucida Sans Unicode}
> 
> I would expect to produce 20 point Lucida Sans on 24 point leading, but I'm
> *not* getting 20 pt text.  Is there some magical order in which I have to
> specify these? Thanks!

\setstretch calls \normalsize. So move it before your \fontsize
command. 


-- 
Ulrike Fischer 



More information about the texhax mailing list