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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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