I would like to achieve:
- the multline equation spans horizontally
.7\textwidth - the first line is aligned to the left side
- the second line is aligned to the right side
So far I have:
Could you explain me how to fix the problem of stretching the equations?
Code:
\documentclass[a4paper]{article}
\usepackage{mathtools}
\usepackage{lipsum}
\begin{document}
\lipsum*[2]
\begin{equation}
\begin{multlined}[.7\textwidth]
\shoveleft{a = b + }\\
\shoveright{+ c}
\end{multlined}
\end{equation}
\lipsum*[2]
\end{document}
The closest question that I found does not have this problem...


shoveleftandshoveright? From the documentation I was sure it is made for such things. – desa Mar 26 '17 at 13:22\shoveleftand\shoverightstart to become useful once themultlineandmultlinedenvironments contain three or more rows. – Mico Mar 26 '17 at 14:39