Open zetyty opened 1 year ago
as Ulrike comments there, the package injects low level pdf specials in to the font, which means the font is always grey and not subject to the current color.
It is probably hard to make the font pick up a local \color
but easier to allow a specific rgb color to be used in the font not just grey, but it is not currently supported.
Thank you very much for your support on this crucial question ;) Would you mind if I start a bounty one day on the TeX.SE question to see if anyone wanted to modify your code? If it bothers you a little bit (because it's your package after all), please tell me because it's not a subject of capital importance, it's just for the sake of not leaving this question unanswered... Let's say it's just for fun now (because I find a kind of workaround for my needs), if I knew a little bit about Lua I would try something but this is absolutely not the case... So again no worries for me if it bothers you, but please just tell me.
No that's fine (as long as @eg9 doesn't get the bounty points:-)
Ok thanks a lot, but I think I will try to post a workaround before starting a bounty.
see this TeX.SE question for details : How to change text color with typewriter package?.
It seems that the
xcolor
package doesn't work to get colored text with the typewriter package.