Since Keynote 8.x support latex equations natively, I wonder whether it is possible to assign colours to parts of an equation to match the color scheme used in the presentation. E.g., I like to highlight just parts of an equation such as

  \int_a^b {\color{red} f(x)} dx

I'd like to use the keynote colours to match the presentation, instead of the "plain" latex red.

  • Welcome to TeX SX! This should be easy with xcolor, but what are the Keynote colours? – Bernard Mar 26 '19 at 20:23
  • Keynote has some standard colours that I use in the presentation. It would be nice to use the same colours in the latex formulas – Christoph Ortner Mar 27 '19 at 21:14
  • In this case, see in the documentation of xcolor, looking at the sections on colours by names, you find more or less the same colours as you need. In addition, xcolor lets you mix colours (and give them a name if needed). – Bernard Mar 27 '19 at 21:49

The Keynote app use internally blahTeX.

In section 2.4 of the blahTeX manual, all supported colors with the \color command are listed:

GreenYellow Yellow yellow Goldenrod Dandelion Apricot Peach Melon YellowOrange Orange BurntOrange Bittersweet RedOrange Mahogany Maroon BrickRed Red red OrangeRed RubineRed WildStrawberry Salmon CarnationPink Magenta magenta VioletRed Rhodamine Mulberry RedViolet Fuchsia Lavender Thistle Orchid DarkOrchid Purple Plum Violet RoyalPurple BlueViolet Periwinkle CadetBlue CornflowerBlue MidnightBlue NavyBlue RoyalBlue Blue blue Cerulean Cyan cyan ProcessBlue SkyBlue Turquoise TealBlue Aquamarine BlueGreen Emerald JungleGreen SeaGreen Green green ForestGreen PineGreen LimeGreen YellowGreen SpringGreen OliveGreen RawSienna Sepia Brown Tan Gray Black black White white

The manual also say that there is no support for color models, so you cannot use \color[rgb]{0.2,0.3,0.4} for example.

As you are using a Mac, if you have installed MacTeX, in the Applications folder, there is a folder TeX who contains the app LaTeXit, and from it, you can create transparency PNG or PDF of formulas with all features from LaTeX (with the packages you need), and adding it to the Keynote document. This app allow you to reopen the equation from Keynote.app to modify it, so you don't have frozen formulas in you document.

  • This is very helpful information. Thank you. – Christoph Ortner Mar 27 '19 at 21:13
  • As (briefly) exemplified in the Keynote documentation, you can also include HEX colour codes (e.g. #FFA500) instead of colour names (e.g. blue), such as 2 + \color{FFA500}a – Nuno Jan 3 '20 at 12:52

I created the following list of blahtex colors which I am finding useful to pick colors for latex equations.

enter image description here

  • 4
    ...but does it answer the question? Not at the moment. – Werner Apr 30 '19 at 21:08
  • 1
    What is the concern? – Christoph Ortner May 1 '19 at 22:41
  • 3
    It is useful information that is relevant to anybody who is looking at this. What a nice way to put people off... – Christoph Ortner May 3 '19 at 4:43
  • 1
    Don't take it personally. This style of post just doesn't fit the site model. – Werner May 3 '19 at 4:49
  • 1
    This is an extremely useful supplement to the accepted answer. Knowing \color is not useful in of itself without knowing what colors one can use and how they look. – ɲeuroburɳ Jul 8 '19 at 23:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.