1

I want to add \Rightarrow into my align environment (or something similar) all the way to the left of a specific line. However whenever I try to do this I either get that the arrow sticks with the line or it pushes the rest of the line all the way to the right instead of the preferred behaviour.

\documentclass{article}
\usepackage{mathtools}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{align*}
y &= mx+c \\
\leftalign{\Rightarrow} \\
y - c &= mx \\
\leftalign{\Rightarrow}\\
&\text{blah...blah...blah...}
\end{align*}
\end{document}
4
  • Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Jul 30, 2019 at 8:52
  • Hi Stefan, thanks for your swift comment, I've added a MWE for you to look at, as you can see the \Rightarrow symbol remains in the middle with the rest of the stuff I want to keep centered, I would really like it to be all the way or at least partially to the left. Thanks!
    – Andymoo00
    Jul 30, 2019 at 9:10
  • I think it'll look strange to the far left. But have a look at the \ArrowBetweenLines macro in mathtools
    – daleif
    Jul 30, 2019 at 9:13
  • Thanks daleif, that looks useful
    – Andymoo00
    Jul 30, 2019 at 9:45

1 Answer 1

2

I'd normally just switch to alignat* and then use \ArrowBetweenLines from mathtools:

\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{alignat*}{2}
&&y &= mx+c \\
\ArrowBetweenLines[\Downarrow]
&&y - c &= mx \\
\ArrowBetweenLines[\Downarrow]
&&&\text{blah...blah...blah...}
\end{alignat*}
\end{document}

enter image description here

1
  • Thanks so much, that's exactly the sort of thing I was looking for.
    – Andymoo00
    Jul 30, 2019 at 10:18

You must log in to answer this question.

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