Search found 1 match

by LexConstantine
Fri Aug 23, 2019 5:52 pm
Forum: Text Formatting
Topic: Use of Color in Sub-Figure Caption
Replies: 6
Views: 6764

Use of Color in Sub-Figure Caption

Hi, it may be too late to provide this answer... But I was having this exact issue and figured out that the solution was to protect the caption like so:

Code: Select all

\subfigure[Observations \protect\textcolor{red}{$\mathbf{y}_j$}.]{\includegraphics[scale=0.8]{obs1.png}
Hope this helps!