[XeTeX] crop.sty

Tilman Hannemann tilmanh at uni-bremen.de
Sun Feb 12 20:52:24 CET 2006


Hello,

I use crop.sty in combination with typearea and geometry in order to  
produce a preview of a booksheet, which works quite fine with  
pdflatex. However, a first try with XeLaTeX messes up at the second  
page; the first page is, as it should be, in a4-size, the second  
takes up the value given by typearea. Would be glad if somebody could  
help, I have added a short example.

Tilman

---

\documentclass{scrbook}
\usepackage{typearea}
\setlength{\paperwidth}{17.3cm}
\setlength{\paperheight}{25.3cm}
\usepackage{geometry}
\geometry{bmargin=3cm,tmargin=25mm,rmargin=26mm,lmargin=32mm}
\usepackage{fontspec}
\usepackage{xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Numbers=Lining,Scale=1.05]{Hoefler Text}
\setsansfont[Scale=1.01]{Gill Sans}
\usepackage[frame,a4,center]{crop}

\begin{document}

Here some blind text, and a pagebreak:

\pagebreak

And now, something different.

\end{document}




More information about the XeTeX mailing list