When using lineno
for linenumbering, the following code
\documentclass{article}
\usepackage[columnwise]{lineno}
\usepackage{lipsum}
\usepackage{showframe}
\usepackage{multicol}
\usepackage{blindtext}
\usepackage{adjmulticol}
\setlength{\columnsep}{2em}
\begin{document}
\begin{multicols}{2}
Text that exists outside of line numbering environment.
\bigskip
\begin{linenumbers}
\blindtext
\blindtext
\blindtext
\end{linenumbers}
\end{multicols}
\end{document}
adds line numbers outside of the page frame, as shown below:
I need the line numbers to appear within the frame, to the left of the column (no switch
option).
I've tried internallinenumbers
, but since I'm using columns with content that will occupy both columns, an environment like parbox
won't work.
I've also tried the adjmulticol
package to resize the columns, but it moves the entire columns' contents over, not just the content with line numbering.
Any thoughts on a viable solution?