3

I have 2 sets à 2 equations which I want to print side by side with a centered arrow in between, and equation numbers (1a), (1b) on the right. But I cannot get the numbering right. The closest I was able to get is with

\begin{subequations}
\begin{align}
    \begin{aligned}
        a &= b \\ c &=d
    \end{aligned}
    && \implies &&
    \begin{aligned}
        x &=y \\ z &= w
    \end{aligned}
\end{align}
\end{subequations}

Which obviously only prints one equation number....

1 Answer 1

3

You could use empheq for that.

\documentclass{article}
\usepackage{empheq}
\begin{document}
\begin{subequations}
\begin{empheq}[left={\begin{aligned}
        a &= b \\ c &=d
    \end{aligned}}\quad\implies\quad]{align}
    x &=y \\ z &= w
\end{empheq}
\end{subequations}
\end{document}

enter image description here

2
  • 1
    Damn! I was just going to post it :) +1 Aug 21, 2018 at 10:17
  • This feels a little cheesy (since it doesn't generalize well to more complicated cases), but I guess I'm gonna go with it anyway.
    – Hyperplane
    Aug 22, 2018 at 7:20

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.