I am trying to follow this example to change the font in a table. It's a partial solution for the code below. I just can't get the values to change fonts, too.
\documentclass{article}\usepackage{booktabs}\usepackage{etoolbox}\usepackage[format=plain, labelformat=simple, font={small,sf,bf}, indention=0cm, labelsep=period, justification=centering, singlelinecheck=true, tableposition=top, figureposition=bottom]{caption}\makeatletter\appto\@floatboxreset{% \ifx\@captype\andy@table \ttfamily \fi}\def\andy@table{table}\makeatother\begin{document}Blah blah. Should be a serif font.\begin{table}\caption{My title}\begin{center}\begin{tabular}{l c c c }\hline& treat x time & treat x time x female & treat x time x female \\\hline(Intercept) & $-0.03$ & $0.01$ & $-0.83^{*}$ \\& $[-0.16;\ 0.10]$ & $[-0.13;\ 0.15]$ & $[-0.93;\ -0.73]$ \\v1 & $-0.06$ & $-0.06$ & $-0.07$ \\& $[-0.23;\ 0.11]$ & $[-0.23;\ 0.11]$ & $[-0.18;\ 0.05]$ \\v2 & $0.05$ & $-0.03$ & \\& $[-0.04;\ 0.15]$ & $[-0.16;\ 0.11]$ & \\\hline\multicolumn{4}{l}{\scriptsize{$^*$ 0 outside the confidence interval. Fixed effect of time treated as factor.}}\end{tabular}\label{m123}\end{center}\end{table}Blah blah. Should be a serif font.\end{document}