I want to print a page with a smaller size than and A4 paper on a A4 size layout and I want to show the crop marks on it. I specify the page and layout size in the geometry package options but as you can see in the MWE, half of the page goes outside of the A4 paper. I am pretty sure I missing some options here.
\documentclass[a4paper]{book}
\usepackage{lipsum}
\usepackage[ layoutheight=297mm,layoutwidth=210mm,paperheight=197mm,paperwidth=130mm,showframe=true,showcrop=true]{geometry}
\usepackage[center,a4]{crop}
\begin{document}
\lipsum[1]
\end{document}
Best Answer
In the terminology of the
geometry
package, thepaper<*>
parameters refer to the physical size of the sheets of paper the document will be printed on. Thelayout<*>
parameters, by contrast, refer to the logical size of the "paper", which will (one hopes) be no larger than the physical size of the sheet of paper. (Put differently, with regard topaper
andlayout
, your terminology and that of thegeometry
package are exactly reversed...)You will need to use the parameters
layoutvoffset
andlayouthoffset
to indicate where on the physical page the logical page is supposed to be placed. Assuming that the logical page should be centered on the physical page, and given that the differences between the physical and logical dimensions are 100mm and 80mm, respectively, the values oflayoutvoffset
andlayouthoffset
should be 50mm and 40mm.By the way, if the logical page is supposed to be exactly centered on the physical page, you needn't load the
crop
package; specifying the optionshowcrop=true
(as you already do) suffices.Addendum, to address the follow-up request to make the text block margins be zero: To make the text block occupy the entire logical layout, while still showing the header and footer lines, you need to specify the options
margin=0pt
andincludeheadfoot
when loading the geometry package.