[XeTeX] problem xelatex+tikz

Herbert Schulz herbs at wideopenwest.com
Thu Sep 11 23:47:45 CEST 2014

On Sep 11, 2014, at 4:39 PM, François Patte <francois.patte at mi.parisdescartes.fr> wrote:

> Hash: SHA1
> Le 11/09/2014 22:33, Zdenek Wagner a écrit :
>> Why do you change \hoffset and \voffset in LaTeX? It is the plain
>> TeX way, not a LaTeX way of setting page layout. LaTeX does not
>> advise you to change these registers and there may be other
>> packages relying on their zero values. If you use LaTeX but do not
>> follow LaTeX guidelines, you can expect problems.
> I have done this some years ago because I did not find any other
> information about the "origin" of the calculation for the page layout:
> if you use the latex companion (2nd edition) on page 200 you can read:
> "The circle is at 1 inch from the top and left of the page. Dashed lines
> represent (\hoffset + 1 inch) and (\voffset + 1 inch) from the top"
> And everywhere else (for instance p 194) dimensions 1 and 2 are
> described as : one inch + \hoffset, one inch + \voffset
> These \hoffset and \voffset are not reported (in latex companion) as
> specifically TeX commands!
> I wanted to get rid of these "one inch" to provide the publisher a
> "camera ready" file and the way I did was an easy way to give a
> centered text with the text width and height given by the publisher...
> When I have done this, it was the first edition of the latex companion
> and in the second edition, the offset commands are still there!
> - -- 
> François Patte
> UFR de mathématiques et informatique
> Laboratoire CNRS MAP5, UMR 8145
> Université Paris Descartes
> 45, rue des Saints Pères
> F-75270 Paris Cedex 06
> Tél. +33 (0)1 8394 5849
> http://www.math-info.univ-paris5.fr/~patte


May I suggest using the geometry package? It will take care of all the necessary calculations.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the XeTeX mailing list