LibreOffice Math supports only few pre-defined colours to use in the equation. It is very inconvenient itself, but moreover the colours defined there are too dark to be used for usual tasks (at least, in my case).
It would be nice to have an ability to use custom colours in equations, and it looks like a lot of people wish such a feature.
Here is the corresponding OOo bug: http://openoffice.org/bugzilla/show_bug.cgi?id=5156
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Dear bug submitter!
Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.
To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement
Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.
It seems the bug is still present. At least I've not found any evidence that there's a way to use custom colors in LO Math.
(I'm using Version 184.108.40.206.alpha0+ (Build ID: 6869aaa2b36316e50b512e0ba4819743d834cea)).
The new URL of the corresponding Apache OpenOffice bug is https://issues.apache.org/ooo/show_bug.cgi?id=5156.
@marcos, do you have implemented it right?
(In reply to comment #8)
> @marcos, do you have implemented it right?
No, what I did was introducing a more easy way to users can change the colors of the formula.
We need to take a look in the code for trying to extend to more colors...
It seems that a first step is made with regards to custom colours in Math:
Now, 16 colours are possible instead of 8.
However, I think it is not yet accessible from the UI, is it? (I mean the left formula bar in Math which shows the eight colours)
I have no build system for LibreOffice (I'm still on MSVC 2008) and Apache OpenOffice does not have this side pane. Therefore I could not adapt the pane in my patch.
The patch is about the named colors on MathML. The #rrggbb and #rgb cases are still missing. But 16 colors are better then 8 ;)
@Regina: thanks for the increase to 16 colors in Math. Marcos Souza has put them to the Math elements bar, so they will be accessible from the UI in LibreOffice 4.4. See here: https://wiki.documentfoundation.org/ReleaseNotes/4.4#Color_support
There might be a small bug, though: Magenta and Fuchsia look exactly the same. On screen and PDF output one cannot tell a difference. Also, Cyan and Aqua are the same. Do you also see this problem on your system?
They must be the same, see table in http://www.w3.org/TR/SVG/types.html#ColorKeywords. The table handles more color names than allowed in MathML, but W3C holds naming consistent throughout the standards, only some standards have more names than others. We should follow the color names used by W3C.
I have kept cyan and magenta in the UI although they do not belong to the color names allowed in MathML, because that names are used in StarMath, and people are nowadays used to that names because of inks in color printer.
in 4.4 was added 16 HTML colors for Math. this is not enough? =)
In my opinion, and for my use, it is definitely not enough.
LibreOffice is great program; I use it for desktop publishing. And in this case, it is a great downside that the colors for formulas are limited and not precisely customizable.
In the OpenOffice-Bugzilla (https://bz.apache.org/ooo/show_bug.cgi?id=5156), Mathias Bauer (Comment 12) wrote that it would be possible to use RGB values, and he asked if that was what users want. – I would say: Definitely!
benji2, in Comment 13, suggested a "hex-tuple like #FFCC00". I think this would be good, as well.
Is it possible to implement one – or even both – of these ways?
Some news ?
*** Bug 130779 has been marked as a duplicate of this bug. ***
Please also allow hexadecimal values. Currently you can enter something like "color red 1 = color blue 2" but not "color #FF0000 1 = color #0000FF 2". See bug 130779.
(In reply to Heiko Tietze from comment #18)
> Please also allow hexadecimal values. Currently you can enter something like
> "color red 1 = color blue 2" but not "color #FF0000 1 = color #0000FF 2".
> See bug 130779.
I would prefer a sytax like this too.