5

How to

enter image description here

My code

\documentclass[12pt,a4paper]{article}
\usepackage{amsmath}
\begin{document}
    \begin{alignat}{3}
        a_1x &+ b_1y &&+ c_1z &&= d_1 \label{eq1}\\
        a_2x &+ b_2y &&+ c_2z &&= d_2 \label{eq2}\\
        a_3x &+ b_3y &&+ c_3z &&= d_3 \label{eq3}
    \end{alignat}
    From the equation \eqref{eq1} we have
    \end{document}
1
  • 3
    Look at the documentation of empheq
    – egreg
    Sep 23 at 9:11

2 Answers 2

7

The following solution employs the empheq package and its eponymous environment.

enter image description here

Note that it's not necessary to employ {alignat}{3} for the equations at hand -- align will do just fine.

\documentclass[12pt,a4paper]{article}
\usepackage{empheq} % 'empheq' loads 'amsmath' automatically

\begin{document}
\begin{empheq}[left=\empheqlbrace]{align}
   a_1x + b_1y + c_1z &= d_1 \label{eq1} \\
   a_2x + b_2y + c_2z &= d_2 \label{eq2} \\
   a_3x + b_3y + c_3z &= d_3 \label{eq3}
\end{empheq}
From equation \eqref{eq1} we have \dots
\end{document}
6

With {DispWithArrows} of witharrows.

\documentclass[12pt,a4paper]{article}
\usepackage{witharrows}
\usepackage{amsmath}

\begin{document}
\begin{DispWithArrows}<>
   a_1x + b_1y + c_1z &= d_1 \label{eq1} \\
   a_2x + b_2y + c_2z &= d_2 \label{eq2} \\
   a_3x + b_3y + c_3z &= d_3 \label{eq3}
\end{DispWithArrows}
From equation \eqref{eq1} we have \dots
\end{document}

Output of the above code

You must log in to answer this question.

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