2

I hope this question is not duplicate: How is it possible to align all of these equals signs? The main problem is the cases environment, because I don't know how to reference the &-Operator.

Thank you very much in advance!

\documentclass{scrartcl}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}

\begin{align*}
a+b&=0
\intertext{some text a}
c+d&=0
\intertext{some text b}
\begin{rcases}
\lambda_a &= x\\
\lambda_b &= y
\end{rcases} \quad \text{some text c}
\end{align*}

\end{document}
1
  • 1
    Please, provide MWE beginning with `\documentclass{...} \usepackage{..} ... \begin{document} <your code>\end{document}.
    – Zarko
    Commented Jul 26, 2015 at 17:58

2 Answers 2

1

Another possibilities is use split environment instead rcases and added curly brace after it:

\documentclass{scrartcl}
    \usepackage{mathtools}

\begin{document}
    \begin{align*}
a+b &=0
\intertext{some text a}
c+d &=0
\intertext{some text b}
\begin{split}
\lambda_a &= x\\
\lambda_b &= y
\end{split}\;\bigg\} \quad \text{some text c}
    \end{align*}
\end{document}

Result: enter image description here

3
  • this works best for me. thank you very much!
    – capron
    Commented Jul 26, 2015 at 19:39
  • Perhaps using \shortintertext would look nicer.
    – Bernard
    Commented Jul 26, 2015 at 19:48
  • @Bernard, I agree with you, however, this wasn't question of OP, so I suppose that maybe text in real case probably is longer and intertext is suitably selection.
    – Zarko
    Commented Jul 26, 2015 at 19:51
0

This is one way to obtain the same formula structure and have the equal signs line up.

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

\begin{align*}
& a+b =0 \text{ some text a } \\
& c+d =0 \text{ some text b } \\
& \hspace{1.5mm} \left. \begin{array}{l} \lambda_{a} = x \\
  \lambda_{b} = y \end{array} \right\} \quad \text{ some text c } 
\end{align*}

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .