Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color problem with typewriter package #40

Open
zetyty opened this issue May 31, 2023 · 4 comments
Open

color problem with typewriter package #40

zetyty opened this issue May 31, 2023 · 4 comments

Comments

@zetyty
Copy link

zetyty commented May 31, 2023

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.

@davidcarlisle
Copy link
Owner

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.

@zetyty
Copy link
Author

zetyty commented Jun 1, 2023

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.

@davidcarlisle
Copy link
Owner

No that's fine (as long as @eg9 doesn't get the bounty points:-)

@zetyty
Copy link
Author

zetyty commented Jun 1, 2023

Ok thanks a lot, but I think I will try to post a workaround before starting a bounty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants