I'm currently writing a document that contains several code samples. I included them as lstlistings and played around with the colors and everything, so they loot quite nice now. My only problem is that in bigger code blocks it gets quite hard to keep track of the indentations, so I'd like to have those vertical lines that many IDEs and text editors have. Is there a way of including those automatically?

closed as unclear what you're asking by TeXnician, user31729, Stefan Pinnow, Bobyandbob, Andrew Swann Jan 1 '18 at 10:30

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.