[XeTeX] xelatex and geometry
Peter Dyballa
Peter_Dyballa at Web.DE
Wed Mar 26 12:54:44 CET 2008
Am 26.03.2008 um 12:19 schrieb Ulrike Fischer:
> No not really. Geometry is quite clever and resets the driver to
> pdftex
> if it realize.
>
> So \usepackage[<dvidriver>]{geometry} is a short and convenient way
> for
> \ifpdf
> \usepackage{geometry}
> \else
> \usepackage[<dvidriver>]{geometry}
> \fi
>
> which is tiresome and redundant as geometry can find out if
> pdflatex is
> running itself.
>
> And so -- if possible -- I would like to avoid to have to write
>
> \ifxetex
> \usepackage{geometry}
> \else
> \usepackage[<dvidriver>]{geometry}
> \fi
Why not simply use
\usepackage{geometry}
and in cases (La|Xe)TeX cannot know which output driver will be used,
start with:
\documentclass[dvips|dvipdfm|...]{article}
--
Mit friedvollen Grüßen
Pete
Banken sprengen heißt Sonne rein lassen.
More information about the XeTeX
mailing list