Closed skymal4ik closed 6 years ago
A configuration switch would be preferable but, as a temporary workaround, you can disable numbering by editing the source template (approx line 580):
$if(listings)$
\lstdefinestyle{eisvogel_listing_style}{
[...]
% numbers = left,
[...]
% xleftmargin = 2.7em,
[...]
% framexleftmargin = 2.5em,
(Left margin parameters are commented-out too in order to bring code text near frame border)
Thank you @gpantanetti for the correct explanation. I want to integrate this feature in the near future but currently I don't have the time.
I've added the new option listings-disable-line-numbers
to disable the line numbers.
Would be great to have an option to have nice listings (including background color, syntax highlight, border, etc), but without line numbering, or have them in a separate column.
The problem is I have some Linux commands listed in those listings, and I wish just to copy them entirely. But they are selected and copied with numbers, so I cannot paste them into terminal directly.
Maybe just need to edit source a bit to disable them?
Thanks for amazing document tho, great job!