Discussion:
Background color of Text.
nikunj .
2009-11-17 05:05:47 UTC
Permalink
Hi,

I have Lyx 1.6 running of windows.I am using Beamer class to make a
presentation. I want to change the background color of some text like this
is blue

How do I do that ?

Regards,
Nikunj
nikunj .
2009-11-17 05:18:00 UTC
Permalink
Post by nikunj .
Hi,
I have Lyx 1.6 running of windows.I am using Beamer class to make a
presentation. I want to change the background color of some text like this
is blue
I could do it. Include the package 'color' in preamble, i.e. add
\usepackage{color} in the preamble. (Document->settings->latex preamble)
After that go to tex mode/ERT (ctrl-L on windows ) and write "
\colorbox{green}{the text} " within the ERT. More info at
http://en.wikibooks.org/wiki/LaTeX/Colors
Post by nikunj .
How do I do that ?
Regards,
Nikunj
Uwe Stöhr
2009-11-17 13:32:47 UTC
Permalink
Post by nikunj .
I could do it. Include the package 'color' in preamble, i.e. add
\usepackage{color} in the preamble. (Document->settings->latex preamble)
After that go to tex mode/ERT (ctrl-L on windows ) and write "
\colorbox{green}{the text} " within the ERT. More info at
http://en.wikibooks.org/wiki/LaTeX/Colors
For more info look at sec. 5.7 "Colored Boxes" of the EmbeddedObjects manual that you find in LyX's
Help menu.

regards Uwe

Loading...