我想要一个有两列的文本,每 5 行按行号编号,每行从新页开始。有命令或包可以实现这个功能吗?
答案1
像这样?
% V-------V - Two colum
\documentclass[twocolumn]{article}
\setlength{\columnsep}{1cm}% Space between two columns
% V------V - Reset each page
\usepackage[pagewise]{lineno}% https://ctan.org/pkg/lineno?lang=en
\usepackage{lipsum}% Just for dummy text
\begin{document}
\modulolinenumbers[5]% each 5th line
\linenumbers% Turn line numbering on
\lipsum[1-20]% Dummy text
\end{document}