annotate-equations
annotate-equations copied to clipboard
Suggestion for \eqnmarkbox - Customisable background and text colours
It could be useful to allow the setting of background and text colours for\eqnmarkbox.
Thanks for your package.
Hi, you can already set the background colour of \eqnmarkbox, as described in the documentation, for example
\eqnmarkbox[blue]{node-label}{...}
This will leave the text colour unchanged, but you can manually set it with the \color command:
\eqnmarkbox[blue]{node-label}{\color{red}...}
so you can render things as follows:
My suggestion would be to allow something like :
\eqnmarkbox[back=blue, text=red]{node-label}{...}
That seems like a good suggestion. Figuring out how to do it without overly increasing the code complexity is something I won't have the capacity for anytime soon. But if you're willing to help figure out how to actually implement that, I'd be happy to consider a pull request!
I will look at your code. With LaTeX3, it is easy to play with key=valoptions.