Is there any way to remove the vertical spacing around a chemical equation placed in a multline environment in a table?
I tried setting the length of display skips as suggested in this question but it doesn't seem to work.
Just as information, the \ce command doesn't cause this behavior; it is seen with normal math equations as well.
MWE:
\documentclass[a4paper, 10pt, oneside]{memoir}
\usepackage{mhchem}
\usepackage{amsmath}
% This doesn't work.
\setlength{\abovedisplayskip}{0pt}
\setlength{\belowdisplayskip}{0pt}
\setlength{\abovedisplayshortskip}{0pt}
\setlength{\multlinegap}{0pt}
\begin{document}
\begin{table}
\begin{tabular}{rp{27em}l}
1 & \begin{multline*}\ce{This is a very long list of products ->\\[-0.5em] This is another very long list of reactants}\end{multline*} & Align top \\
2 & \ce{Na+ + Cl- -> NaCl} & Example \\
3 & \begin{multline}
This is not a chemical equation environment \\
But theres still vertical spacing.
\end{multline} & Align top
\end{tabular}
\end{table}
\end{document}
Thank you!


multlineis intended to form a new standalone display. Instead, trymultlined, which is a "subsidiary" structure. This requires themathtoolspackage. – barbara beeton Sep 22 '19 at 16:26\cecommand. However, I intend to use the\cecommand in my actual text. – ruby Sep 22 '19 at 16:41multlinedremoves the vertical spacing, but the second line doesn't seem to be aligned right, it merely seems to be indented from the left. Is there any way to make the second line align right? – ruby Sep 22 '19 at 16:41multlinedto be farther to the right, you can/should add some additional\hspaceat the beginning of that line. – barbara beeton Sep 22 '19 at 22:57