[Tex/LaTex] \noalign without line break / additional spacing

alignline-breaking

I need a non-breaking version/redefinition of \noalign to use it at the end of an environment (in this case align). So far I searched for the standard definition of \noalign to write a redefinition based on it, but I didn't find anything so far.

It would be great, if somebody could provide a definition for \noalign without creating a newline automatically (instead done by \noalign{}\\).

More clearly: If you define a \noalign-row within an align-environment and close the environment immediately after it without any lines filled with content (math), some space/skip will result in the document. I don't want this space at all and would be glad for a workaround. 😉

Minimal:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\section{minimal}
lipsum
\begin{align*}
\eta_D &= \eta_0 \cdot \eta_R \cdot \eta_H
\end{align*}
normal spacing above
new round
\begin{align*}
\noalign{\centering $\eta_D = \eta_0 \cdot \eta_R \cdot \eta_H$}
\end{align*}
extended spacing below the align-env.
\end{document}

Best Answer

\noalign is not a companion for the align environment.

It is a TeX primitive that has some affects but none of them planned in this case. As @egreg already suggested in this case why not simply put the text after the alignment?

If you really want to do this then you can do

\noalign{\hbox{some content}\kern-\baselineskip}

But I wouldn't recommend it.

Related Question