[XeTeX] XeTeX equivalent to \pdfpagewidth ?
Ulrike Fischer
news3 at nililand.de
Fri Jul 2 16:22:18 CEST 2010
Am Fri, 02 Jul 2010 13:09:36 +0100 schrieb Philip Taylor (Webmaster,
Ret'd):
> Dear Colleagues --
>
> Studying
>
> http://xml.web.cern.ch/XML/lgc2/xetexmain.pdf
>
> I can see no mention of "page width". What is the XeTeX method
> for setting the page width, analogous to PdfTeX's \pdfpagewidth,
> please ?
\pdfpagewidth ;-) or \special{papersize=width,height}
But if you set \pdfpagewidth you should also set \pdfpageheight. At
least on my system (miktex 2.7) xetex will otherwise \pdfpagewidth
setting.
\documentclass{article}
\pdfpagewidth=20cm
%\pdfpageheight=15cm %needed too.
\begin{document}
abc
\end{document}
--
Ulrike Fischer
More information about the XeTeX
mailing list