Prevent Line Break Before flalign* Block in Itemize Environment

by user197327   Last Updated September 12, 2019 04:23 AM

My question is similar to Prevent line break before equation environment in enumerated list item, but I want to use an unnumbered left align block. (Like the poster of the linked question, I would like to avoid using the IEEEtran document class.)

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{itemize}
    \item[(a)]
        \begin{flalign*}
            x &= y &\\
              &= z
        \end{flalign*}
\end{itemize}
\end{document}

I want the equation to begin right after the (a) label. Thank you!



Answers 1


You could use a top-aligned aligned (pun intended) environment:

enter image description here

Observe that aligned, unlike flalign*, does not initiate and terminate math mode by itself; instead,aligned must be embedded in a math-mode group (here: the group that begins and ends with $ symbols).

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{itemize}
    \item[(a)]
        \begin{flalign*}
            x &= y &\\
              &= z
        \end{flalign*}
    \item[(b)]
        $\begin{aligned}[t]
            x &= y \\
              &= z
        \end{aligned}$
\end{itemize}
\end{document}
Mico
Mico
September 12, 2019 04:10 AM

Related Questions


Aligned equations in LaTeX

Updated March 20, 2017 22:23 PM


Conditional linebreak in align environment

Updated June 10, 2017 15:23 PM

Unable to split a long equation

Updated March 20, 2017 23:23 PM

Breaking single equation with multiple alignment

Updated April 12, 2016 08:09 AM