在独立版手册中,有说明删除了边距,这样页面就可以裁剪到内容中。此外,由于“multi=my”,我们可以使用多个页面,这正是我想要的。不幸的是,行数\usepackage{lineno}
不计算在内,因为边距被删除了。但我需要两者:
- 能够制作多个页面,并将页面裁剪为内容
- 使用 lineno 包
\documentclass[multi=my,preview,9.5pt]{standalone} \usepackage[ngerman]{babel} \usepackage[paperwidth=210 mm,left=0mm,right=0mm,top=0mm,bottom=0mm]{geometry} \usepackage{lineno} \usepackage{scrextend} %addmargin \begin{document} \begin{my} blabla text text \end{my} \begin{my} \begin{linenumbers} \modulolinenumbers[1] \resetlinenumber some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text \end{linenumbers} \end{my} \begin{my} \begin{addmargin}[20mm]{20mm} \begin{linenumbers} \modulolinenumbers[1] \resetlinenumber some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text some text \end{linenumbers} \end{addmargin} \end{my} \end{document}
即使我添加,\begin{addmargin}[20mm]{20mm}...\end{addmargin}
我也得不到数字。有解决方法吗?