I want to type an equation as attached in the image, but not sure which equation environment can achieve the exact outcome,
split
, align
, {eqnarray}
, {array}
?Anyone knows? Thanks in advance.

split
, align
, {eqnarray}
, {array}
?Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
align
environment if both equations should be numbered, align*
if there should not be a number, split
within an {equation}
environment if both lines should get one number together.cases
.Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
A &= B\\
&=
\begin{cases}
C, & \text{D},\\
\text{E}, & \text{F}.
\end{cases}
\end{align}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis