0

Just as the title says, I want to change the text color for the entire subsection. The subsection includes paragraphs, math mode, regular text bla bla.

6

Put \color{red} at the start of the section and \color{black} at the end.

In the standard classes at least, section headings pick up the current colour.

This of course requires the color or xcolor packages to be loaded.

| improve this answer | |
  • May be you have to add \everymath{\color{his_color}} and \everydisplay{\color{his_color}} to your answer... But not sure if needed and not sure if can be inside the document environment – koleygr Sep 15 '17 at 22:18
  • @koleygr the OP provided no test file so hard to guess, but by default math does not normalize the colour so if the section is red the math will be as well. – David Carlisle Sep 15 '17 at 22:22
  • thanks David... I thought that math doesn't really follow the text color... But may be I remember wrong and they just don't follow the \bfseries... And this is why I thought so... (Because I had to put a \bm there... but this is another subject ) – koleygr Sep 15 '17 at 22:25

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.