I would like to add line numbers to an IEEE paper style.
I have tried using different approaches, however non was successful. For example, when using \usepackage[switch,columnwise]{lineno}
there will be line numbers missing when I have equations.
I have produced a sample latex file, could anyone help how to add line numbers to this document.
Thanks
\documentclass[journal,onecolumn,12pt]{IEEEtran}
\usepackage{amsmath}
\usepackage[switch,columnwise]{lineno}
\begin{document}
\linenumbers
\title{\huge LINE NUMBER TEST}
\author{FIRST~LAST,~\IEEEmembership{Member}
\thanks{FIRST LAST, IS WITH INSTITUTE OF TEST (e-mail: [email protected]).} }
\markboth{JOURNAL OF TEST}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}
\maketitle
\begin{abstract}
This is for testing the appearance of line number. This is for testing the appearance of line number.
\end{abstract}
\section{Introduction}
\IEEEPARstart{L}{line} number (LN) in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time.
\begin{align*}
z_{1}&=x_{1}+y_{1}\\
z_{2}&=x_{2}+y_{2}
\end{align*}
Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time.
\newpage
Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time. Line number in draft paper is a good option to locate exactly where you want. It helps you to find specific information in short time.
\end{document}
IEEEtran
is your question? I mean, are you able to add line number to document produced with other classes? Does thelineno
package works in other cases?