3

For a system of equations, I would like to have a notation with a left curly bracket. Usually, I am using

\begin{equation}
\left\{ 
\begin{array}{ll} 
f(x)=&x^2+\ldots\\
g(x)=&x^3+\ldots\end{array}\right.
\end{equation}

But this makes a strange empty space between the "=" and the right-hand sides which i do not like since.

Is there a way to improve this easily?

3
  • You should consider the package systeme. – F. Pantigny Feb 28 at 11:17
  • Welcome to TeX.SE. – Mico Feb 28 at 11:27
  • @F.Pantigny This seems to be nice. However, if I have, for example, a left hand side as $z_k'$ it is not displayed. – C.D. Feb 28 at 11:34
5

I suggest you (a) employ an aligned environment instead of an array enviroment and (b) change both instances of =& to &=.

enter image description here

\documentclass{article}
\usepackage{amsmath} % for 'aligned' env.
\begin{document}

\begin{equation}
\left\{ \begin{aligned} 
  f(x) &= x^2+\ldots\\
  g(x) &= x^3+\ldots
\end{aligned} \right.
\end{equation}
\end{document}
1
  • 2
    Fantastic, thanks a lot! – C.D. Feb 28 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.