LaTeX forum ⇒ LyXLyx Macros with text and linebreak

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

Lyx Macros with text and linebreak

Postby hnn » Sun Dec 01, 2019 7:18 pm

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 2 times
line_break_test.pdf
(23.52 KiB) Downloaded 4 times

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

Postby hnn » Sun Dec 01, 2019 11:08 pm

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


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 9 guests