2

I need neither of the following:

\begin{equation}
\begin{cases} 
ab =st \\ 
a-b =s+t 
\end{cases}
\end{equation}

\begin{equation}
\begin{cases} 
ab &=st \\ 
a-b &=s+t 
\end{cases}
\end{equation}

enter image description here

Instead, I want something like this with bracket on the left:

 ab=st
a-b=s+t

How to achieve this? Thanks.

0

1 Answer 1

4

Inspired by Mico's answer.

\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{equation}
\left\{
\begin{array}{@{} r @{{}={}} l}
ab &st\\
a-b &s+t 
\end{array} \right.
\end{equation}
\end{document}

enter image description here

3
  • 1
    If you want to emulate cases, add \renewcommand{\arraystretch}{1.2} after \left\{.
    – egreg
    May 12, 2018 at 6:31
  • if loading mathtools, it's redundant to load amsmath`. May 13, 2018 at 22:05
  • @barbarabeeton Thanks! (I know that but I feel it's "fairer" to load a package that defines the macro I am using.)
    – user121799
    May 13, 2018 at 22:10

You must log in to answer this question.

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