改编自问题:
在表格环境(非数学上下文)中,如何拥有仅 1 个花括号(例如只有左边的)跨越多行文本,可以吗?
\documentclass[12pt]{article}
\usepackage[a4paper]{geometry}
\begin{document}
I don't want the right curly bracket,
$\left\{
\begin{tabular}{c}
list item 1 \\
list item 2 \\
list item 3
\end{tabular}
\right\}$
only the left one please.
\end{document}
答案1
只需改为 即可\right\}
。\right.
(.
后面的“ ”\right
代表“此处什么也没有”。)
\documentclass[12pt,a4paper]{article}
\usepackage{geometry}
\begin{document}
I'm getting a left-hand curly brace
$\left\{
\begin{tabular}{@{}c@{}}
list item 1 \\
list item 2 \\
list item 3
\end{tabular}
\right.$
and none on the right.
\end{document}