使用几何包时这些虚假线是什么?

使用几何包时这些虚假线是什么?

成品书尺寸为 170mm x 240mm。连续的黑色矩形仅显示文本周围的边界。是什么原因导致侧面和底部出现两条额外的单独线条?此外,是否可以显示逻辑页面所在的 A4 页面,以便可以看到裁切标记?

\documentclass{book}
\usepackage[showframe]{geometry}
\geometry{
    paperwidth=170mm,
    paperheight=240mm,
    lmargin=12.5mm,
    rmargin=12.5mm,
    bindingoffset=12.5mm,
    bottom=12mm,
    nohead
    }
\usepackage[cam,center,dvips]{crop} %
\begin{document}
\parindent=0mm
Some random text. Some random text. Some random text. Some random. Some ran

\vspace{58mm}
Some random text. Some random text. Some random text. Some random. Some ran

\vspace{58mm}
Some random text. Some random text. Some random text. Some random. Some ran

\vspace{58mm}
Some random text. Some random text. Some random text. Some random. Some ran

\clearpage

Some random text. Some random text. Some random text. Some random. Some ran

\vspace{58mm}
Some random text. Some random text. Some random text. Some random. Some ran

\vspace{58mm}
Some random text. Some random text. Some random text. Some random. Some ran

\vspace{58mm}
Some random text. Some random text. Some random text. Some random. Some ran

\end{document}

答案1

额外的线条来自页脚和边距区域,因此 geometry 中没有 headfoot 和 nomarginpar。要查看裁剪标记,您需要在 crop 中指定比 geometry 中更大的纸张尺寸。而且由于我使用 pdflatex 而不是 dvips...

\documentclass{book}
\usepackage[showframe]{geometry}
\geometry{
    paperwidth=170mm,
    paperheight=240mm,
    lmargin=12.5mm,
    rmargin=12.5mm,
    bindingoffset=12.5mm,
    bottom=12mm,
    noheadfoot,
    nomarginpar
    }
\usepackage[cam,center,pdflatex,a4]{crop}
\usepackage{lipsum}% MWE only

\parindent=0mm
\begin{document}
\lipsum[1-8]
\end{document}

演示

相关内容