[XeTeX] Page Number Font Issue

Herbert Schulz herbs at wideopenwest.com
Thu Jan 6 20:57:37 CET 2011


On Jan 6, 2011, at 12:57 PM, William Voelker wrote:

> Thank you for the response.
> 
> Here's a link to a sample file (it's a bit long for the mailing list): http://voelker.wordpress.com/2011/01/06/xetex-problem/
> 
> I did notice two things in paring down the header (to see what did and did not make a difference). Removing the Geometry package + commands as configured made it go away, and eliminating  \linespread{1.2} did the same; this was the case if they were removed independently. (As I write this I see what I'm doing that could be screwing things up, here and in the italics cases: could it be that I'm making a mistake by using \setromanfont in the \memo command, and should instead use another command?)
> 
> I am curious as to what I may be doing wrong, and also why this would be happening (even without changing the way the font is changed). It's nice to know why an engine does what it does!
> 
> Thank you again.
> 
> Wm 

Howdy,

Why do you continually reset the roman font? First the \setromanfont (or \setmainfont) should already set the italic to that italic font so \textit{...} will work out of the bag. If you need a special font use the \fontspec command to define it, don't set the roman font all over again.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the XeTeX mailing list