Skip to main content

The PreTeXt Guide

Subsection 4.9.6 Color in Mathematics

There is a temptation to use color to indicate or highlight portions of mathematics, especially for electronic outputs where color is easy and cheap. But before you leap, how will this work in black-and-white printed output? How will it work for a blind reader using a screen-reader or a braille version?
With careful use of grouping ({...}) you can make the two behaviors of \color effective. For example, go:
{\color{blue}{x^2}}