Skip to main content

Latex Table

\usepackage{multirow}
\usepackage{multicol}
\usepackage{makecell}
\usepackage{array}

\newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}}
  • C{2cm}: centered column with 2 cm width
  • \multicolumn{3}{c}{Text}
    • \multicolumn{3}{|c|}{Text}:with border
  • \multirow{3}{*}{Text}

Pasted image 20230911222052.png

  • \toprule\midrule\buttomrule
  • \checkmark
  • \quad\qquad

Big Table

REF: How do I change column or row separation in LaTeX tables?

\begin{table*}
\centering
\setlength{\tabcolsep}{1.7pt}
\renewcommand{\arraystretch}{1}
\begin{tabular}{}


\end{tabular}
\end{table*}
  • \setlength{\tabcolsep}{1.7pt}: horizontal spacing (column separation)
  • \renewcommand{\arraystretch}{1}: the vertical spacing (row separation)

Pasted image 20230911222704.png