1

I am using the tufte-book class and want to have the captions of the figure enviroment in a different color, especially the word 'figure 1.1'. How can you do that?

1
  • 1
    Since configuration and package choice hugely influence the answer to this question, we need to to provide a minimal example of the setup you are currently using. You will see this request on most questions posed by new users.
    – daleif
    Aug 23, 2015 at 19:56

1 Answer 1

2

You can change the color of the caption using the \setcaptionfont macro provided by Tufte-LaTeX:

\documentclass{tufte-handout}

\usepackage{graphicx}
\usepackage{lipsum}% provides dummy text

% Change the color of the captions (but not sidenotes, margin notes, etc.)
\setcaptionfont{%
  \normalfont\footnotesize
  \color{red}% <-- set color here
}

\begin{document}

\lipsum[1]

\begin{figure}
  \includegraphics[width=\linewidth]{example-image}
  \caption{This is an example figure.}
\end{figure}

\lipsum[2]

\end{document}

You must log in to answer this question.

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