Juergen Spitzmueller wrote:
Jean-Marc Lasgouttes wrote:

With other wordprocessors you can highlight text with a different
background. Isn't that something that we want to support?
First, I am not sure at all that there is a proper stable package for
doing that in LaTeX (colors are horrible in LaTeX because they are
done through \specials in the dvi/pdf).

soul.sty:

\usepackage{color,soul}
\definecolor{lightblue}{rgb}{.90,.95,1}
\sethlcolor{lightblue}
...
\hl{this is highlighted in light blue color}

This looks very easy to support and work out of the box on my system. The background height is equal to the maximum font height; exactly what I have in mind at LyX level. So I stand on my point, we should add a background() member to 'Font'. That's will solve our Pixmap problem and opens the way to supporting the soul package. Thanks for the hint Juergen.

Abdel.



Reply via email to