\rbrace の垂直方向の配置

\rbrace の垂直方向の配置

私はしばらくの間、以下の問題を解決しようとしましたが、まだ解決策を見つけることができませんでした。2つの\rbracesを垂直に揃えたいです。このコード

\begin{align}
  L = &\left. \text{short eq} \right\rbrace &&\text{description 1} \\
      &\left. \begin{aligned}
                \text{very long equation}\\
                \text{over multiple lines}
              \end{aligned}
       \right\rbrace &&\text{description 2}
\end{align} 

生産する

ここに画像の説明を入力してください

しかし、私はそれらが互いに下にあるように調整したい

ここに画像の説明を入力してください

誰かが私を助けてくれることを願っています。 ありがとうございます!

答え1

このようなもの?

ここに画像の説明を入力してください

\documentclass{article} 
\usepackage{amsmath} % for 'align' environment and '\text' macro
\newlength\mylen     % create a "length" variable
\settowidth\mylen{very long equation} % calculate default width of '\mybox'
\newcommand\mybox[2][\mylen]{\parbox{#1}{\raggedright #2}}

\begin{document}
\begin{align}
L = &\left.\mybox{short eq}\right\rbrace &&
     \text{description 1} \\
    &\left.\mybox{very long equation over multiple lines}\right\rbrace &&
     \text{description 2}
\end{align} 
\end{document}

答え2

こんな感じはどうでしょうか?

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{equation}
\begin{alignedat}{4}
 L = & \text{short eq } && \left. \text{ }  \right\rbrace  && \qquad \text{description 1} \\
     &\begin{aligned}
         &\text{22244 very long equation 5555}\\
         &\text{over multiple lines }
      \end{aligned} && \left. 
      \begin{aligned}
           \text{ }\\
           \text{ }
      \end{aligned}  \right\rbrace && \qquad \text{description 2}
\end{alignedat}
\end{equation}

\end{document}

こんな感じです ここに画像の説明を入力してください

すべての線は 1 つの方程式として扱われます。このアイデアは次の投稿から拝借しました。

複数行の式の垂直配置

関連情報