LyXAutomatic line breaks within LaTeX source file

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
kirillov81
Posts: 1
Joined: Fri Mar 31, 2017 2:02 pm

Automatic line breaks within LaTeX source file

Post by kirillov81 »

Hi all,
I'd like to know if there's a way for avoiding undesidered automatic line breaks within an exported LaTeX file (LyX file --> LaTeX)...
Many thanks
Alex

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Automatic line breaks within LaTeX source file

Post by rais »

as long as those line breaks happen to appear between words, they shouldn't be a problem, because a single line break is handled like a space:

Code: Select all

one two
and

Code: Select all

one
two
are both equivalent for (La)TeX.

Should you really get those line breaks in different positions (like within a word or after an opening brace, for example), you should provide a Infominimal working example in LyX code and append your exported .tex file, as well, so that the LyX users here can have a look into it.

disclaimer: I'm no LyX user, so far be it from me to speculate about what its export routine might do---or not.

KR
Rainer
Post Reply