[texhax] Combining fontspec, fontsize, fontstretch

Peter Davis pfd at pfdstudio.com
Mon Dec 20 12:39:00 CET 2010


On Mon, Dec 20, 2010 at 5:41 AM, Ulrike Fischer <news3 at nililand.de> wrote:

> 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.
>
>

Aha!  Thank you.  I found surprisingly little information on \setstretch.

Thanks,

-pd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101220/f756987b/attachment.html>


More information about the texhax mailing list