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.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityGo 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.
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