Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Consider the following example:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
  \[
  1+2=3
  \implies
  \left\{
    \begin{aligned}
    &a+b=c, \\
    &x=y+z.
    \end{aligned}
  \right.
  \]
\end{document}

enter image description here

Is there a way to set up two equation tags, one per line in the aligned environment?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

You can do this by using the empheq package from the mh bundle. See code below for an example.

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}       % loads »amsmath«
\usepackage{empheq}

\begin{document}
  \begin{empheq}[left={1+2=3\implies\empheqlbrace}]{align}
    a+b &= c \\
    x &= y+z
  \end{empheq}
\end{document}

enter image description here

share|improve this answer
add comment

Just a different way of obtaining the same result:

enter image description here

\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\begin{document}
\begin{align}
  \smash{
      \raisebox{\dimexpr-.5\normalbaselineskip-.5\jot}
          {$1+2=3\implies\left\{\begin{array}{@{}c@{}}\null\\\null\end{array}\right.$}}
    a+b &= c, \\
  x &= y+z.
\end{align}
\end{document}

The key here is to set the "left-hand side" separately from the "right-hand side" and align the two using some vertical movement.

share|improve this answer
    
Note that this works great only if the two lines have "usual" height; e.g., it breaks if they contain fractions. –  Hendrik Vogt Oct 13 '12 at 6:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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