Como posso alterar o tamanho da fonte da minha tabela?

Como posso alterar o tamanho da fonte da minha tabela?

Para minha tese estou tentando ajustar o tamanho da fonte das minhas tabelas em LaTeX. No entanto, tenho dificuldade em ter um tamanho de fonte script para minha legenda e para as entradas em minha tabela.

Aqui está meu código. Espero que alguém possa ajudar!

%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}

Responder1

Este código funciona:

\documentclass{article}
\usepackage{caption, array}

\begin{document}

\begin{table}[!htb]
    \centering
    \scriptsize
\setlength{\extrarowheight}{2pt}
    \captionsetup{skip=0.5\baselineskip,size=scriptsize}
     \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{document} 

insira a descrição da imagem aqui

informação relacionada