LyXLyx Macros with text and linebreak

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
hnn
Posts: 2
Joined: Sun Dec 01, 2019 6:58 pm

Lyx Macros with text and linebreak

Post by hnn »

Hello,

I use the macro feature of lxy to define some special words in my thesis. So this works quite good. I was also able to get a line break inside the macros with "\allowbreak". But unluckily when a line break happens inside the macro than the space is still used and not all words are in one line at the right side of the text (see line 2 in pdf).

Attached a pdf, and an example with Lyx 2.2.3

Any ideas how to solve this?

Thanks, Kind regards, Markus
line_break_test.lyx
(5.12 KiB) Downloaded 171 times
line_break_test.pdf
(23.52 KiB) Downloaded 209 times

Recommended reading 2024:

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

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

hnn
Posts: 2
Joined: Sun Dec 01, 2019 6:58 pm

Lyx Macros with text and linebreak

Post by hnn »

solved: changing the order of space und allowbreak did it.
Post Reply