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}

\scriptsizeinside thetableenvironment. The redefinition will be local and so only the table will be\scriptsize. – moewe Mar 08 '19 at 13:00scriptsizeis not an environment. correct use is to add\scriptsizeafter\begin{document}. – Zarko Mar 08 '19 at 13:04\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 https://tex.stackexchange.com/q/7312/35864. – moewe Mar 08 '19 at 13:16