I would like to start writing in math display mode, and then continue on the next line, from the exact same . Something like this:

abc = defg on this line
                       and i continue on the next line

This will be used inside \frac.

What would be the best way to achieve this? Preferably without using any packages (I'm sure there must be a way to get this done directly in LaTeX)...

If this were in text mode I could save the current horizontal position, then do a \newline, and then restore the position, maybe, but it's math mode.

  • What do you mean by "This will be used inside \frac"?
    – Werner
    Jul 7 '17 at 16:51
  • I will write \frac{A}{B}, and inside B, I'll want to skip to the line below.
    – Jay
    Jul 7 '17 at 16:53
  • Must we tell a user for more than 6 years to show us a MWE? Nevertheless, see, e.g., multilined or gathered or aligned in mathtools and amsmath. Jul 7 '17 at 16:54
  • @Schweinebacke: I don't have a MWE, I couldn't even get close to what I need, so I included the output I wanted. The array approach in Werner's answer seems to work for me -- I'll check.
    – Jay
    Jul 7 '17 at 16:57

This is fairly trivial to obtain with just an array:

enter image description here



  \setlength{\arraycolsep}{0pt} % May be needed, depending on your requirements
  \begin{array}{ l l }
    abc = defg &       \\
               & hijkl

  • Yes -- of course! An array will work just fine (I'll check if no problems arise, but I thin it's perfect). Thank you!
    – Jay
    Jul 7 '17 at 16:58

Quite simple with align (or aligned):



  abc = defg\text{ on this line} & \\
                        & \text{and I continue on the next line}


enter image description here

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.