答案1
我假设您感兴趣的不仅仅是排版一个或两个高花括号,还有您发布的屏幕截图中显示的一些其他内容。
如果是这种情况,请考虑使用Bmatrix*
由数学工具包,该包的超集amsmath
。
\documentclass{article} % or some other suitable document class
\usepackage{mathtools} % for 'Bmatrix*' environment
\begin{document}
\begingroup % limit scope of the next instruction
\centering
\hrule % draw a horizontal rule across the width of the text block
$\begin{Bmatrix*}[l] % 'l': left-aligned contents
(123)(45),(123)(45),(123)(45),(123)(45),(123)(45),\\
(123)(45),(123)(45),(123)(45),(123)(45),(123)(45),\\
(123)(45),(123)(45),(123)(45),(123)(45),(123)(45),\\
(123)(45),(123)(45),(123)(45),(123)(45),(123)(45)\\
\end{Bmatrix*}$
\hrule
$\begin{Bmatrix*}[l]
(123),(123),(123),(123),(123),\\
(123),(123),(123),(123),(123),\\
(123),(123),(123),(123),(123),\\
(123),(123),(123),(123),(123)\\
\end{Bmatrix*}$
\hrule
\endgroup % end of scope of '\centering' instruction
\smallskip\noindent
Hello World. % optional
\end{document}
附录回答 OP 的后续疑问:下面是我修复 OP 在评论中发布的代码的方法,以便 (a) 使其可编译且无错误,以及 (b) 创建全高花括号。观察 和 的\left\{
使用\right\}
。
\documentclass{article}
\usepackage{makecell,adjustbox}
\usepackage{amsmath} % for '\text' macro
\begin{document}
\begin{adjustbox}{width = 1\textwidth}
%\large % why??
% use 'array', not 'tabular', environment:
$\begin{array}{c|c|c|c}
\hline
(2,1,1) := 1^1 2^2 &
(1,2) &
\left\{ % full-height left-hand curly brace
\text{\makecell[l]{% % process contents of \makecell in text mode
(2 4)(3 5), (1 2)(3 4), (1 5)(3 4), (1 4)(2 5), (1 5)(2 3), \\
(1 2)(4 5), (1 3)(2 5), (1 3)(2 4), (1 4)(3 5), (1 2)(3 5), \\
(2 5)(3 4), (1 5)(2 4), (1 4)(2 3), (1 3)(4 5), (2 3)(4 5) }}
\right\} & % full-height right-hand curly brace
15 \\
\hline
\end{array}$
\end{adjustbox}
\end{document}