# How to change color for a block of texts?

I am editing a LaTeX paper with Emacs. Sometimes, just for myself, I want to make a block of texts less obvious (or less important to see). Instead of totally hide them, I still want them to be there. So I am wondering if there is an easy way to embed them in something so that it changes color (to grey for instance) and looks less important.

Could anyone help?

By the way, besides changing color, do you have other suggestions for this kind of need (making easily a block of texts look less important)?

-

You can use the xcolor package. It provides \textcolor{<color>}{<text>} as well as \color{<color>} to switch the color for some give text or until the end of the group/environment. You can get different shades of gray by using black!x as a color where x is a number from 0 to 100, taken as a percentage.
No, \textcolor{green}{a couple of words} colors the entire second argument. \color{green} is a declaration, which changes the text color of everything that follows (in that scope, or group as its called in TeX). It is analogous to \textbf versus \bfseries. \color should also work in math mode. But some of the amsmath environments do rather complicated things in order to work (reading the contents several times, for example). But then you could try {\color{green} \begin{align*} blabla \end{align*} } (note the outer braces). –  Villemoes May 2 '11 at 0:40
@SoftTimur: Like Villemoes said, \color` should work in mathmode. It would be best if you give an example so we can see where the problem lies. You could edit your question for this. –  Martin Scharrer May 2 '11 at 8:39