如何使用大花括号将左侧表格的各行组合在一起?
\documentclass{article}
\begin{document}
\begin{center}
\textbf{$n=3$}
\begin{tabular}{ |c|c| }
\hline
Partition of $n$ & Conjugacy Class Representative\\
\hline
$1+1+1$ & $(1)$\\
\hline
$1+2$ & $(12)$\\
\hline
$3$ & $(123)$\\
\hline
\end{tabular}
\end{center}
\begin{center}
\textbf{$n=4$}
\begin{tabular}{ |c|c| }
\hline
Partition of $n$ & Conjugacy Class Representative\\
\hline
$1+1+1+1$ & $(1)$\\
\hline
$1+1+2$ & $(12)$\\
\hline
$2+2$ & $(12)(34)$\\
\hline
$1+3$ & $(123)$\\
\hline
$4$ & $(1234)$\\
\hline
\end{tabular}
\end{center}
\end{document}
答案1
您可以使用array
环境tabular
并将每个array
环境包裹在\left\{ ... \right.
包装器中。
\documentclass{article}
\usepackage{array,amsmath}
\begin{document}
\[
n=3
\left\{ \begin{array}{ |c|c| }
\hline
\text{Partition of $n$} & \text{Conjugacy Class Representative}\\
\hline
1+1+1 & (1)\\
\hline
1+2 & (12)\\
\hline
3 & (123)\\
\hline
\end{array}\right.
\]
\[
n=4
\left\{ \begin{array}{ |c|c| }
\hline
\text{Partition of $n$} & \text{Conjugacy Class Representative}\\
\hline
1+1+1+1 & (1)\\
\hline
1+1+2 & (12)\\
\hline
2+2 & (12)(34)\\
\hline
1+3 & (123)\\
\hline
4 & (1234)\\
\hline
\end{array} \right.
\]
\end{document}