How can I adjust line spacing of numbers to be in front of text lines within description list: I couldn't managed to solve the problem with lineno package.
\documentclass[10pt]{article}
\usepackage{setspace}
\usepackage{fancyhdr,lipsum}
\makeatletter
\newsavebox{\@linebox}
\savebox{\@linebox}[3em][t]{\parbox[t]{3em}{%
\@tempcnta\@ne\relax
\loop{\underline{\scriptsize\the\@tempcnta}}\\
\advance\@tempcnta by \@ne\ifnum\@tempcnta<48\repeat}}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[CO]{\scriptsize How to Count Lines}
\fancyhead[RO,LE]{\footnotesize\thepage}
%% insert this block within a conditional
\fancyhead[LE]{\footnotesize\thepage\begin{picture}(0,0)%
\put(-26,-25){\usebox{\@linebox}}%
\end{picture}}
\fancyhead[LO]{%
\begin{picture}(0,0)%
\put(-18,-25){\usebox{\@linebox}}%
\end{picture}}
\fancyfoot[C]{\scriptsize Draft copy}
%% end conditional
\makeatother
\begin{document}
\section*{Lorem Ipsum}
{\setstretch{2.8}
\begin{tabular}{ll}
$ALDF$ & Average annual load factor of a DT or HV substation\\
$ALSF$ & Average annual loss factor of a DT or HV substation\\
$APF$ & Average power factor\\
$B$ & Number of all load blocks\\
\end{tabular}
}
\end{document}
I modified the code in (https://tex.stackexchange.com/a/16012/104963) to ask this question.




linenopackage. – Thruston May 06 '16 at 19:57linenoworks fine for me with description lists. Please post a complete minimal working example that shows your problem. – Thruston May 06 '16 at 20:04