TeX - LaTeX Asked on June 11, 2021
I have two equations, one of which is very long. I would like to have a single alignment, at the =
sign. At the same time, I would like to split the long equation into multiple lines. I have tried to use multlined
, but I am not able to obtain the desired result.
Here is a minimal working example:
documentclass[12pt]{amsart}
usepackage{mathtools}
begin{document}
begin{align*}
F &= a + b
G &= begin{multlined}[b](c + d
{} + e + f + g + h)
end{multlined}
end{align*}
end{document}
It typesets as shown below:
I am aware of this question, yet the presence of G
before the alignment point makes its solution not directly applicable to my case.
As @leandriis pointed out, just change [b]
with [t]
in the multlined
environment. Adding another line does not break anything.
documentclass[12pt]{amsart}
usepackage{mathtools}
begin{document}
begin{align*}
F &= a + b
G &= begin{multlined}[t]
(c + d
{} + e + f + g + h)
end{multlined}
H &= i + j + k
end{align*}
end{document}
Correct answer by sRaviolii on June 11, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP