[XeTeX] Page is "stuck" in A4 type

Herbert Schulz herbs at wideopenwest.com
Wed Jan 27 23:09:13 CET 2010


On Jan 27, 2010, at 3:49 PM, Peter Dyballa wrote:

> 
> Am 27.01.2010 um 09:42 schrieb Maxim Cournoyer:
> 
>> \documentclass[10pt]{article}
> 
> 
> Here's the fault – and not loading geometry.
> 
> From installing TeX Live (or Mac TeX) you have set a default paper format (see: tlmgr paper). To successfully change this on a per document basis you can set a differing paper size either in the options of \documentclass or when loading geometry. But the latter package has to be loaded.
> 
> --
> Greetings
> 
>  Pete
> 

Howdy,

AFAIK LaTeX, which is a large package of macros that sits ``on top' of (pdf/xe)tex always assumes letterpaper by default so you should use the a4paper option when using a4 paper but letterpaper is optional. On the other hand, (pdf/xe)tex set the default paper size based on an option in their configuration files (which is what tlmgr sets) or via special commands in the document file which may differ between different programs. LaTeX never sets these commands for the processor. Either you put the commands into your document or you can let the geometry package, which determines which processor you are using, can do it for you. Setting the option in the \documentclass command and using the geometry package is enough to get it set properly for the processor you are using.

Hope I got it right.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the XeTeX mailing list