TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some of my style files, I would like to have a sans-serif typeface within my figures. I have code which seems to be working,


but surely there's a better way?

share|improve this question

I would use

  1. the caption package to control the font of (float) captions;
  2. the floatrow package to control the font of other float content (i.e. tabular material).




% \centering% Default for floatrow package
\begin{tabular}{cc} \hline
Author & Title \\ \hline
Knuth & The \TeX book \\
Lamport & \LaTeX \\ \hline
\caption{A table}

% \centering% Default for floatrow package
\caption{A figure}

share|improve this answer
Thank you for suggestion the floatrow package. That provided the tools I needed! – Ben Dec 28 '10 at 1:37
up vote 2 down vote accepted

lockstep suggested to use the floatrow package. Since I wanted to do a bit more than just \sf, I thought I'd post my solution here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.