我尝试使用以下右括号类型:
$$\begin{rcases}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{rcases}$$
但是我注意到括号离方程式太近了,我是否可以在两者之间留出一些间距?
答案1
两种解决方案:
\documentclass[12pt,a4paper]{report}
\usepackage{empheq}
\begin{document}
\begin{empheq}[right=\enspace\empheqrbrace]{align*}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{empheq}
\vskip 3ex
\[ \begin{rcases}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l \;
\end{rcases} \]%
\end{document}
答案2
您不想用于rcases
此,但是aligned
。
\documentclass{article}
\usepackage{mathtools}
\begin{document}
This is not the best way to cope with a system
\[
\begin{rcases}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{rcases}
\]
A better way is to use \texttt{aligned} as in the example below
\[
\left.
\begin{aligned}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{aligned}
\right\rbrace
\]
or, if you want some more space next to the brace,
\[
\left.
\begin{aligned}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{aligned}
\;\right\rbrace
\]
Never use \verb|$$| in \LaTeX. Ever.
\end{document}