![我可以更改显示相同裁剪区域的几何裁剪标记的位置吗?](https://linux22.com/image/327643/%E6%88%91%E5%8F%AF%E4%BB%A5%E6%9B%B4%E6%94%B9%E6%98%BE%E7%A4%BA%E7%9B%B8%E5%90%8C%E8%A3%81%E5%89%AA%E5%8C%BA%E5%9F%9F%E7%9A%84%E5%87%A0%E4%BD%95%E8%A3%81%E5%89%AA%E6%A0%87%E8%AE%B0%E7%9A%84%E4%BD%8D%E7%BD%AE%E5%90%97%EF%BC%9F.png)
我想知道我是否可以在geometry
裁切标记和文本本身之间留出更多空间。我不想更改裁切区域。
MWE 显示出明显的农作物痕迹行为geometry
。
\documentclass{book}
\usepackage{lipsum}
\usepackage[ paperheight =297mm,paperwidth =210mm,
layoutheight =197mm,layoutwidth =130mm,
layoutvoffset= 50mm,layouthoffset= 40mm,
margin=0pt, includeheadfoot,
showcrop=true]{geometry}
\begin{document}
\chapter{In the Beginning}
\lipsum
\end{document}
答案1
宏 \cropmarkgap 可调范围为 0 至 20 (mm)。
\documentclass{book}
\usepackage{lipsum}
\usepackage[ paperheight =297mm,paperwidth =210mm,
layoutheight =197mm,layoutwidth =130mm,
layoutvoffset= 50mm,layouthoffset= 40mm,
margin=0pt, includeheadfoot,
showcrop=true]{geometry}
\def\cropmarkgap{10}% mm
\makeatletter
\def\Gm@cropmark(#1,#2,#3,#4){% #1 = x direction, #2 = y direction, #3 & #4 no longet used
\begin{picture}(0,0)
\setlength\unitlength{1truemm}%
\linethickness{0.25pt}%
\put(\the\numexpr #1*\cropmarkgap\relax,0){\line(#1,0){\the\numexpr 20-\cropmarkgap}}%
\put(0,\the\numexpr #2*\cropmarkgap\relax){\line(0,#2){\the\numexpr 20-\cropmarkgap}}%
\end{picture}}%
\makeatother
\begin{document}
\chapter{In the Beginning}
\lipsum
\end{document}
答案2
将其更改20
为您需要的任何内容:
\documentclass{book}
\usepackage{lipsum}
\usepackage[paperheight =197mm,paperwidth =130mm,
margin=0pt, includeheadfoot]{geometry}
\usepackage[a4,center]{crop}
\thinlines\unitlength1pt
\newcommand*\CROPmarkLT{%
\begin{picture}(0,0)
\put(-20,0){\line(-1,0){50}}\put(0,20){\line(0,1){50}}
\end{picture}}
\newcommand*\CROPmarkRT{%
\begin{picture}(0,0)
\put(20,0){\line(1,0){50}}\put(0,20){\line(0,1){50}}
\end{picture}}
\newcommand*\CROPmarkLB{%
\begin{picture}(0,0)
\put(-20,0){\line(-1,0){50}}\put(0,-20){\line(0,-1){50}}
\end{picture}}
\newcommand*\CROPmarkRB{%
\begin{picture}(0,0)
\put(20,0){\line(1,0){50}}\put(0,-20){\line(0,-1){50}}
\end{picture}}
\newcommand*\CROPinfo{\jobname\ \today}
\cropdef[\CROPinfo]\CROPmarkLT\CROPmarkRT\CROPmarkLB\CROPmarkRB{CROP}
\crop[CROP]
\begin{document}
\chapter{In the Beginning}
\lipsum
\end{document}