Hi,
I do not understand why my lstlisting snippets become inconsistent (i.e., the listing code displays line numbers every "n" lines) when I use a predefined template. "n" changes among the different listings I have.
I have indicated "stepnumber=1" however the error persists.
The predefined template is quite tricky, I do not know if there exists kind of macro breaking my listings. How can I figure out such a macro?
My listings work when I use (for example) llncs.cls. My latex editor is TexnicCenter, and the latex compiler is miktex.
Please let me know if you have an idea about what is happening.
Thank you.
General ⇒ inconsistent listing line numbers
NEW: TikZ book now 40% off at Amazon.com for a short time.

inconsistent listing line numbers
Hi,
without some code we cannot provide effective help. Please post a minimal working example allowing us to reproduce the problem mentioned.
without some code we cannot provide effective help. Please post a minimal working example allowing us to reproduce the problem mentioned.
1,1,2,3,5,8,13,21,34,55,89,144,233,...