我最近遇到了一个问题,计算机显示以下错误
Argument of \@sect has an extra }. [}}]
Paragraph ended before \@sect was complete.
当我要求它运行以下代码时
\subsection{{\setstretch{1.2}Show that $e^D = \begin{bmatrix}
e^{d_1} & 0 & \ldots & 0 \\
0 & e^{d_2} & \ldots & 0 \\
\vdots & \vdots & \ddots & \vdots\\
0 & 0 & \ldots & e^{d_n}
\end{bmatrix}$
}}
哪里出了问题?我已经匹配了括号,但为什么结果不理想?