1

I have two column document in which I wish insert line numbers. I have used \usepackege{lineno}, I used \linenumbers for inserting line numbers at the left of the left column, and \rightlinenumbers for inserting line numbers at the right of the right column. But there are several problems:

1- I wish to have automatically left and right numbering and not manually. In the above mentioned procedure, we have to manually insert for example \rightlinenumbers.

2- I could not understand how we can insert some numbers and not all numbers: For example, 1, 5, 15, 20,... and not 1,2,3,4,....

How can I do these wishes?!

Also, upon below answer, we used \usepackage[switch]{lineno} but result is as

enter image description here

Unfortunately it does not work!!! Numbers does not emerge at the left of the left column!!!

1 Answers1

1

To accomplish this, you can invoke lineno with the option switch. Be sure to run twice for the correct outcome.

\documentclass[11pt,twocolumn]{article}
\usepackage{lipsum}
\usepackage[switch]{lineno}

\begin{document}
\linenumbers
\lipsum{1-24}

\end{document}  

enter image description here

John
  • 2,400