Saturday, 24 August 2013

Long code line wrapping in AUCTeX

Long code line wrapping in AUCTeX

I am writing slides in beamer with AUCTeX, I use visual line mode for
wrapping and it works fine for text. However, when I have long code for
example \includegraphics[height]{a long path and file name}, it doesn't
wrap properly and messes up the indentation (it basically makes a new line
pushes the code up against the wall). It doesn't affect the compiled
output but I would still like to know if there's a way to make it wrap
around properly.

1 comment: