如何在每页中间放置纸张裁切线。这是我的 MWE。
\documentclass[]{article}
\usepackage{tikz}
\usepackage{bbding,lipsum}
\begin{document}
\lipsum{1-10}
\noindent \raisebox{-1.0ex}{\ScissorHollowRight} \hfill \tikz \draw [dashed] (-12,0) -- (7,0);\rotatebox{180}{\raisebox{-1ex}{\ScissorHollowRight}}
\lipsum{1-10}
\end{document}
答案1
包裹eso-pic
可以用来放东西每一个页:
\documentclass[]{article}
\usepackage{tikz}
\usepackage{bbding,lipsum}
\usepackage{eso-pic,picture}
\AddToShipoutPicture{%
\AtPageLowerLeft{%
\put(0,.5\paperheight){\makebox(0,0)[cl]{\ScissorHollowRight}}%
\put(1.5em,.5\paperheight){\tikz\draw[dashed] (0,0) --
(\paperwidth-3em,0);}
\put(\dimexpr\paperwidth-1.5em\relax,0.5\paperheight){\makebox(0,0)[cl]{\reflectbox{\ScissorHollowRight}}}
}%
}
\begin{document}
\lipsum[1-20]
\end{document}
或者用一个\tikz
而不是三个\put
:
\documentclass[]{article}
\usepackage{tikz}
\usepackage{bbding,lipsum}
\usepackage{eso-pic,picture}
\AddToShipoutPicture{%
\AtPageLowerLeft{%
\put(0,.5\paperheight){\tikz\draw[dashed] (0,0) node
{\ScissorHollowRight} -- (\paperwidth-1.5em,0) node {
\reflectbox{\ScissorHollowRight} };
}
}%
}
\begin{document}
\lipsum[1-20]
\end{document}