The following MWE using fancyvrb produces line numbers every other line, starting on the second line, like so:
Writing some test
2
third line
4 fourth line
fifth line
so the numbers are 2, 4, 6,.... I would like the numbers to start on the first line and go every other line, as in:
1 Writing some test
3 third line
fourth line
5 fifth line
How can I achieve this?
MWE:
\documentclass{article}
\usepackage{fancyvrb}
\begin{document}
\begin{Verbatim}[numbers=left,firstnumber=1,stepnumber=2]
Writing some test
third line
fourth line
fifth line
\end{Verbatim}
\end{document}

fancyvrb:-) – darthbith Apr 20 '14 at 18:00