我有 10 个方程,排列方式如下。这些方程应按三个括号分组排列并对齐。它们应被赋予方程编号。
答案1
我写了此代码作为解决方案。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
&\quad Eq. line 1\\
&\quad Eq. line 2\\
&\quad\qquad Eq. line 3\\
&\quad\qquad Eq. line 4\\%[12pt]
&\quad\qquad\qquad Eq. line 5\\
&\quad\qquad\qquad Eq. line 6\\[-.45in]
&\qquad\qquad\left[\begin{array}{l}\mbox{}\\[.13in]\mbox{}\end{array}\right.\nonumber\\
&\quad\qquad Eq. line 7\\
&\quad\qquad Eq. line 8\\[-1.4in]
&\qquad\left[\begin{array}{l}\mbox{}\\[1in]\mbox{}\end{array}\right.\nonumber\\
&\quad Eq. line 9\\
&\quad Eq. line 10\\[-2.2in]
&\left[\begin{array}{l}\mbox{}\\[1.8in]\mbox{}\end{array}\right.\nonumber
\end{align}
\end{document}
很容易看出对齐和行距问题,并且不符合 LaTeX 排版标准。任何更好的解决方案都将不胜感激。
答案2
借助多行包,空格和括号对齐已得到改进。但是方程编号仍未修复。有人可以修复这个问题吗?
\documentclass{scrartcl}
\usepackage{amsmath,amssymb,multirow,bigdelim}
\begin{document}
\begin{align}
\begin{array}{llll}
\ldelim[{10}{0cm}[] &Eq. line 1\\
&Eq. line 2 \\
&\begin{array}{lll}
\ldelim[{6}{0cm}[] &Eq. line 3\\
&Eq. line 4\\
&\begin{array}{ll}
\ldelim[{2}{0cm}[] &Eq. line 5\\
&Eq. line 6 \end{array}\\
&Eq. line 7\\
&Eq. line 8\end{array}\\
&Eq. line 9\\
&Eq. line 10
\end{array}
\end{align}
\end{document}