On Wed, 08 Nov 2000, [EMAIL PROTECTED] wrote:
> Hi there,
> Looks like I can't change any colours. Is that true?
> Regards,
> H. Haase
Not at all. You just need to put lines like this in your lyxrc file. (In
$HOME/.lyx/lyxrc. If this file doesn't exist, copy lyxrc.example from the
system lyxdir/lib.)
# To change the colors for footnotes:
\set_color footnote green
# for mathed you may also want to change the coloring of lines and brackets:
\set_color math yellow
\set_color mathlines yellow
Currently, it's not very easy to get hold of names of LyX variables that can
be altered. The stuff below is cut out of LColor.C. You are looking for the
1st and 4th items; ie, the identifying LyX name and the X11 colour name.
A list of all available X11 colour names can be found in /usr/lib/X11/rgb.txt
Note that not all of the LyX names "background", "foreground" etc are
currently used as this is code that is in need of a clean up. Try it and see.
We hope that things will change soon and that the user will be able to assign
these things easily from within LyX.
Good luck,
Angus
{ background, N_("background"), "background", "linen", "background" },
{ foreground, N_("foreground"), "foreground", "black", "foreground" },
{ selection, N_("selection"), "selection", "LightBlue", "selection" },
{ latex, N_("latex"), "latex", "DarkRed", "latex" },
{ floats, N_("floats"), "floats", "red", "floats" },
{ note, N_("note"), "note", "black", "note" },
{ notebg, N_("note background"), "notebg", "yellow", "notebg" },
{ noteframe, N_("note frame"), "noteframe", "black", "noteframe" },
{ depthbar, N_("depth bar"), "depthbar", "IndianRed", "depthbar" },
{ language, N_("language"), "language", "Blue", "language" },
{ command, N_("command-inset"), "command", "black", "command" },
{ commandbg, N_("command-inset background"), "commandbg", "grey80",
"commandbg" },
{ commandframe, N_("inset frame"), "commandframe", "black", "commandframe" },
{ accent, N_("accent"), "accent", "black", "accent" },
{ accentbg, N_("accent background"), "accentbg", "offwhite", "accentbg" },
{ accentframe, N_("accent frame"), "accentframe", "linen", "accentframe" },
{ minipageline, N_("minipage line"), "minipageline", "violet",
"minipageline" },
{ special, N_("special char"), "special", "RoyalBlue", "special" },
{ math, N_("math"), "math", "DarkBlue", "math" },
{ mathbg, N_("math background"), "mathbg", "AntiqueWhite", "mathbg" },
{ mathframe, N_("math frame"), "mathframe", "Magenta", "mathframe" },
{ mathcursor, N_("math cursor"), "mathcursor", "black", "mathcursor" },
{ mathline, N_("math line"), "mathline", "Blue", "mathline" },
{ footnote, N_("footnote"), "footnote", "DarkRed", "footnote" },
{ footnotebg, N_("footnote background"), "footnotebg", "grey60",
"footnotebg" },
{ footnoteframe, N_("footnote frame"), "footnoteframe", "IndianRed",
"footnoteframe" },
{ ert, N_("ert"), "ert", "DarkRed", "ert" },
{ inset, N_("inset"), "inset", "black", "inset" },
{ insetbg, N_("inset background"), "insetbg", "grey60", "insetbg" },
{ insetframe, N_("inset frame"), "insetframe", "IndianRed", "insetframe" },
{ error, N_("error"), "error", "Red", "error" },
{ eolmarker, N_("end-of-line marker"), "eolmarker", "Brown", "eolmarker" },
{ appendixline, N_("appendix line"), "appendixline", "Brown", "appendixline"
},
{ vfillline, N_("vfill line"), "vfillline", "Brown", "vfillline" },
{ topline, N_("top/bottom line"), "topline", "Brown", "topline" },
{ tableline, N_("table line"), "tableline", "black", "tableline" },
{ tabularline, N_("tabular line"), "tabularline", "black",
"tabularline" },
{ tabularonoffline, N_("tabularonoff line"), "tabularonoffline",
"LightSteelBlue", "tabularonoffline" },
{ bottomarea, N_("bottom area"), "bottomarea", "grey40", "bottomarea" },
{ pagebreak, N_("page break"), "pagebreak", "RoyalBlue", "pagebreak" },
{ top, N_("top of button"), "top", "grey80", "top" },
{ bottom, N_("bottom of button"), "bottom", "grey40", "bottom" },
{ left, N_("left of button"), "left", "grey80", "left" },
{ right, N_("right of button"), "right", "grey40", "right" },
{ buttonbg, N_("button background"), "buttonbg", "grey60", "buttonbg" },