# How can you change the font for the contents of all tables in a document

Is there a simple way to set the default font for all tables in a document?

-

Either amend the definition of \table directly or use the floatrow package and its \floatsetup macro. (Note: floatrow by default also centers the content of floats.)

\documentclass{article}

\makeatletter
\makeatother

\begin{document}

\begin{table}
(Table contents)
\end{table}

Some text outside a table.

\end{document}

\documentclass{article}

\usepackage{floatrow}
\floatsetup[table]{font=sf}

\begin{document}

\begin{table}
(Table contents)
\end{table}

Some text outside a table.

\end{document}
-
Thanks, I've got the captions under more control. –  Darling Oct 7 '11 at 9:14