\small 环绕表不起作用

\small 环绕表不起作用

什么都没发生,尽管我已经\small在表格周围应用了。字体大小没有明显变化。为什么?

\documentclass{article}
\usepackage{booktabs}
\usepackage[T1]{fontenc}
\begin{document}
{\small
        \begin{table}[h]
            \centering
            \begin{tabular}{l l l l}
            \toprule
            Experiment  &   Enzyme              &   Substrate   &       Enzyme inhibitor\\
            \midrule
            A           &   Trypsin             &   Casein      &       Trypsin inhibitor\\
            B           &   Chymotrypsin        &   Casein      &       Trypsin inhibitor\\
            C           &   Chymotrypsinogen    &   Casein      &       Trypsin inihibitor\\
            \bottomrule
            \end{tabular}
        \end{table}
}
\end{document}

答案1

错误的位置\small

\documentclass{article}
\usepackage{booktabs}
\usepackage[T1]{fontenc}
\begin{document}

        \begin{table}[!htb]
            \centering\small
            \begin{tabular}{l l l l}
            \toprule
            Experiment  &   Enzyme              &   Substrate   &       Enzyme inhibitor\\
            \midrule
            A           &   Trypsin             &   Casein      &       Trypsin inhibitor\\
            B           &   Chymotrypsin        &   Casein      &       Trypsin inhibitor\\
            C           &   Chymotrypsinogen    &   Casein      &       Trypsin inihibitor\\
            \bottomrule
            \end{tabular}
        \end{table}

\end{document

相关内容