2

I am using TeXStudio in Ubuntu 18.04 as a LaTeX editor.

I need to set hard line breaks which are not just on the screen, but also written to the file.

0

1 Answer 1

2

Go to "Options", click in "Show advanced options" (below on the left). Then, on the "Adv. Editor" tab, choose "Line wrapping" as "Hard line wrapping after max. characters" and, finally, set "Maximal characters" to the value of your liking.

enter image description here

1
  • As cool as this option is, it ruins lstlisting environments as sometimes you don't want a line break there... do you happen to know of any workaround? May 27, 2019 at 14:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .