In the following LaTeX fragment, how can I suppress the newline that is automatically generated between XXX and YYY after entering the align*
environment.
XXX
\begin{minipage}{t}{0.1in}
YYY
\begin{align*}
ZZZ...
\end{align*}
\end{minipage}
yields
XXX YYY
ZZZ...
But I want
XXX YYY ZZZ...
Perhaps align*
is simply the wrong environment, but I couldn't find an alternative that provides similar functionality, yet doesn't introduce a linebreak.
I'm not really sure if it's supposed to be used like this, but perhaps the aligned
environment is what you're after?
\documentclass{article} \usepackage{amsmath} \begin{document} XXX \begin{minipage}[t]{1in} YYY $ \begin{aligned} ZZZ... \end{aligned} $ \end{minipage} \end{document}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With