The issue is as follows:
- I am laying out an approximately square page on A3 stock using geometry.
- Because it is duplexed, it has to be centered and the cropping is critical
If the layout does not go to the paper edge there is not an issue. MWE1
\documentclass[a4paper]{book} \usepackage{lipsum} \usepackage{geometry} \geometry{twoside=true,landscape,% layoutwidth=300mm,layoutheight=217mm,layouthoffset=60mm,layoutvoffset=30mm,showcrop,showframe, bindingoffset=5mm,left=32mm, textwidth=197mm,marginparsep=4mm,marginparwidth=47mm,% top=35mm, bottom=49mm,heightrounded,headheight=10mm,headsep=7mm,footskip=10.5mm,% a3paper,} \begin{document} \lipsum[1] \end{document}
However I think it is often the case that layouts within bigger stock will extend to the full dimension of the stock along one axis (so only 2 cuts needed). In this case the crop marks are not really usable, and the critical part of them falls off the stock (and won't print either as it is on the paper edge): MWE2
\geometry{twoside=true,landscape,% layoutwidth=300mm,layoutheight=297mm,layouthoffset=60mm,layoutvoffset=0mm,showcrop,showframe, bindingoffset=5mm,left=32mm, textwidth=197mm,marginparsep=4mm,marginparwidth=47mm,% top=35mm, bottom=49mm,heightrounded,headheight=10mm,headsep=7mm,footskip=10.5mm,% a3paper,}
So I want to create some sort of crop mark at the layout edge (even a small dot or a line segment ending at the edge. How can I do this? I really want to manage the layout with geometry and not with the crop package.
I thought to use Tikz to draw something, but this raises another issue with setting a layout with geometry. Tikz "current page" does not locate to the page layout but rather to the stock edges (as shown in MWE below). So this also breaks all my existing Tikz code that uses the page position. How to correct for this as well as produce the crop mark at the page edge as opposed to the paper edge. MWE3
\documentclass[a4paper]{book}
\usepackage{lipsum}
\usepackage{geometry}
\usepackage{tikz}
\geometry{twoside=true,landscape,%
layoutwidth=300mm,layoutheight=297mm,layouthoffset=60mm,layoutvoffset=0mm,showcrop,showframe,
bindingoffset=5mm,left=32mm, textwidth=197mm,marginparsep=4mm,marginparwidth=47mm,%
top=35mm, bottom=49mm,heightrounded,headheight=10mm,headsep=7mm,footskip=10.5mm,%
a3paper,}
\begin{document}
\lipsum[1]
\tikz[remember picture,overlay] {%
\draw [blue,line width=5mm]
(current page.south west)
rectangle
(current page.north east)
}%
\end{document}