For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table.
Here's my code. I hope anyone can help!
%begin table
\begin{scriptsize}
\begin{table}[h]
\centering
\captionsetup{skip=0.5\baselineskip,size=footnotesize}
\caption{Test table}
\label{table:7}
\begin{tabular}{ l | l }
\textbf{Entry 1} & \textbf{Entry 2} \\ \cline{1-2}
Entry 3 & Entry 4 \\
\end{tabular}
\end{table}
\end{scriptsize}
\scriptsize
inside thetable
environment. The redefinition will be local and so only the table will be\scriptsize
.scriptsize
is not an environment. correct use is to add\scriptsize
after\begin{document}
.\begin{scriptsize} foo \end{scriptsize}
usually works fine for text because of the way environments are implemented in LaTeX, but I would usually suggest to go with{\scriptsize foo}
instead. See also tex.stackexchange.com/q/7312/35864.