최소 글꼴 크기가 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

옵션을 사용했기 때문에 11pt9pt(제목에 8pt라고 적혀 있음에도 불구하고 질문에서 요청함) \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}

관련 정보