[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GDP: Colors in RGB?
From: |
Reinhold Kainhofer |
Subject: |
Re: GDP: Colors in RGB? |
Date: |
Thu, 29 Nov 2007 23:10:35 +0100 |
User-agent: |
KMail/1.9.7 |
Am Donnerstag, 29. November 2007 schrieb Erlend Aasland:
> Yes, the internal color format is hidden from the user on purpose. The
> reason for this is that if we need to change the internal format
> sometime in the future, the format change will not be noticed by the
> user. With the default color macros and the X11 color macros, the user
> won't have to care about the internal color representation.
In commit f53ab6d1106f692e08afa51152f9bfd51852aa0f (Oct 22, 2007), Erlend
Aasland added the rgb-color macro, which you can use like
c' ^\markup{ \with-color #(rgb-color 1.0 0.5 0.0) {colored text} }
Using such a macro will also continue working when the internal data format
changes.
Cheers,
Reinhold
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/