ich habe eine mehrzeilige Formel mit, die ich vertikal mithilfe alignat ausrichte:
\begin{alignat}{6} & &&\;\int y''(x)\,\mbox{d}x &&=\int\frac{q}{h}\,\mbox{d}x\\ &\Leftrightarrow &&\;y'(x)+\bar{C}_1 &&=\frac{q}{h}x+\bar{C}_2\\ &\Leftrightarrow &&\;y'(x) &&=\frac{q}{h}x+C_1 \end{alignat}
\begin{empheq}[box=\colorbox{red}]{alignat=6} & &&\;\int y''(x)\,\mbox{d}x &&=\int\frac{q}{h}\,\mbox{d}x\\ &\Leftrightarrow &&\;y'(x)+\bar{C}_1 &&=\frac{q}{h}x+\bar{C}_2\\ &\Leftrightarrow &&\;y'(x) &&=\frac{q}{h}x+C_1 \end{empheq}
Vielen Dank im Voraus!
Viele Grüße, Falko