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

Add More Colors #6

Open
cortner opened this issue Apr 30, 2019 · 4 comments
Open

Add More Colors #6

cortner opened this issue Apr 30, 2019 · 4 comments

Comments

@cortner
Copy link

cortner commented Apr 30, 2019

I learned on Stack Exchange that Keynote is using Blahtex to render Latex. I try to match colors in my latex equations with keynote colors, but this is proving impossible at the moment. Would it be possible to add more colors therefore - in particular some darker blues?

Maybe more ambitiously, could the keynote standard colors be matched exactly?

@gvanas
Copy link
Owner

gvanas commented May 18, 2020

Sorry for the (very) late answer, but yes, why not. The named colors are defined in the gColourArray array at the beginning of ParseTree3.cpp. Can you add the colors you want there and make a pull request?

@cortner
Copy link
Author

cortner commented May 25, 2020

thanks - happy to do so if/when I find the time.

Do you know how often Keynote pulls in updates to Blahtex?

@gvanas
Copy link
Owner

gvanas commented May 25, 2020

thanks - happy to do so if/when I find the time.

Cool! Matching colors with Keynote sounds like a useful idea.

Do you know how often Keynote pulls in updates to Blahtex?

No, sorry, I do not know. I would suggest to inform the Keynote developers somehow, as they otherwise probably do not expect frequent updates to blahtex…

@quark67
Copy link

quark67 commented Nov 14, 2021

Apple has added an extension to blahTeX, so you could specify a color with his hexadecimal code. On bottom of https://support.apple.com/en-us/HT202501, at the "Sample equations" section, you could see the exemple \sum_{\color{0A7C10}n=0}^{\color{red}\infty} a_n x^n, in which the bottom text "n=0" of the sum symbol is displayed with a custom green.

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

3 participants