2018-05-04 13:27 GMT+02:00 Mario D :
> Is there a simple way in lyx to change the background color of some text,
> maybe a paragraph?
>
> I have not been able to find a way to do this natively: the only way I
> could obtain it is by using the "soul" package, then inserting the latex
> code "\hl{"
I tried box with colored background but they don't work properly if the
text is more than one line long as in this case the line is not wrapped
around.
It is possible to get this, but it is not straightforward.
Given that I do not use the feature quite often, the hack I proposed is
fine for me.
Y
A couple of years ago, I tried to use Insert/Box/... with colored background. I
wanted to have greyed background for Examples. Didn’t work well... if I
included floating objects (Figures, Tables, etc.), the preview got messed up.
Maybe it works better with floats in ordinary paragraphs – I haven