TransWikia.com

Line numbering within pages with listings package

TeX - LaTeX Asked by user224876 on March 17, 2021

When I use listings package as is, line numbers appear in the margin and the listing lines start at the margin. I know a workaround of putting each listing into a minipage with noindent, but it is tedious.

It there a global setting that could push the line numbers right to begin at the margin?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP