最小フォントサイズ 8 ポイントの LaTeX 表テンプレートの例

最小フォントサイズ 8 ポイントの LaTeX 表テンプレートの例

最小フォントサイズが 8 ポイントの LaTeX テーブル テンプレートの例を教えてもらえませんか?

例えば、次のような表を作りたいのですが、フォントサイズを 9 ポイントにするにはどうしたらよいかわかりません。何かコマンドを挿入する必要がある場合、教えていただけますか?

\documentclass[a4paper,11pt]{article}

\begin{document}
\begin{table}[h!]
  \begin{center}
    \caption{Your first table.}
    \label{tab:table1}
    \begin{tabular}{l|c|r} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between
      \textbf{Value 1} & \textbf{Value 2} & \textbf{Value 3}\\
      $\alpha$ & $\beta$ & $\gamma$ \\
      \hline
      1 & 1110.1 & a\\
      2 & 10.1 & b\\
      3 & 23.113231 & c\\
    \end{tabular}
  \end{center}
\end{table}

\end{document}

Thanking you.

答え1

オプションを使用したので11pt、9pt(タイトルでは8ptと記載されているにもかかわらず、質問では9ptを求めています)\footnotesizeをテーブルの前に追加するだけです。

\documentclass[a4paper,11pt]{article}

\begin{document}

\begin{table}[htp] % don't use [h!] it usually generates a warning.
  % better to use \centering than `center` in a float as `table` already adds space.
    \centering
    \caption{Your first table.}
    \label{tab:table1}
     \footnotesize
     %^^^^^^^^^^^^%
    \begin{tabular}{l|c|r} % <-- Alignments: 1st column left, 2nd middle and 3rd right, with vertical lines in between
      \textbf{Value 1} & \textbf{Value 2} & \textbf{Value 3}\\
      $\alpha$ & $\beta$ & $\gamma$ \\
      \hline
      1 & 1110.1 & a\\
      2 & 10.1 & b\\
      3 & 23.113231 & c\\
    \end{tabular}
\end{table}

\end{document}

関連情報