## LaTeX forum ⇒ LyX ⇒ Lyx 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

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
line_break_test.pdf