I tried to make the following word in Black and Red.

\textbf{ trans{\textcolor{red}IT}ion'10}

It gives me the following result -

enter image description here

But I want both IT in red. Why the T is not being red.

  • trans\textcolor{red}{IT}ion
    – egreg
    May 15, 2015 at 18:05
  • \textcolor{red}{IT} IT has to be the second argument of the command. May 15, 2015 at 18:05

1 Answer 1


You have wrong input:




However, the former is better. Note that \textcolor takes two arguments: the color and the text to colorize; to the contrary, \color takes only one argument and tells TeX to colorize text from that point on (respecting grouping).

The former is better because you are sure to confine the effect of coloring to the second argument, without worrying about grouping.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .