LyX ⇒ Changing or applying different colors to the text font
-
documenter3
- Posts: 1
- Joined: Fri Sep 13, 2013 2:54 pm
Changing or applying different colors to the text font
I'm using LYX 2.0.6 and would like to use different colors in order to highlight specific words. I know I can do that by right clicking and choosing 'customize' and then apply a different color to the font but I would rather like to use some kind of template (like the attribute 'bold' etc.) so that I would be able to adjust the colors later by one click again (for example from blue to red).
Is that possible? Does anybody have a recommendation? Maybe in combination with the preamble?
Thanks!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
GerlofVito
- Posts: 27
- Joined: Wed May 16, 2012 8:24 pm
Changing or applying different colors to the text font
Edit the LaTeX preamble: Document > Settings ... > LaTeX Preamble
And then add something like the following:
Code: Select all
\usepackage{color}
\definecolor{blue}{RGB}{52,90,138}I'm not sure what color models the 'color' package has, but I know you can specify a color using RGB as shown above.