I have the following nested align structure, where I would like to have an equation number appear on the first line only. As far as I understand, the position of the equation number is controlled with [b] and [t]. However, even if I specify [t], the number appears at the bottom (see
)
As the second example works fine, I suspect it has something to do with the length of the equation. However, the space where the number should be is not occupied, so I don't understand where the problem is comming from.
Note: This is part of larger problem with align I have inside a latex template I am using for my thesis. Unfortunately I cannot reproduce this error outside the template. It looks like
, in case this is familiar to anybody.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
\text{Electricity (Process):} \qquad &
\begin{aligned} [t]
E_{el} & = (\sum \mathbf{E_{comp.}} + \sum E_{ref.}) \cdot CI_{el} \\
& = (\sum \mathbf{E_{comp.}} + \sum (84.74 \cdot e^{-0.02 \cdot \mathbf{T_{outflow}}})) \cdot CI_{el} \\
\end{aligned} \\
& \text{where} \nonumber \\
& E_{komp.} \text{ is the energy demand of compressors} \nonumber
\end{align}
\begin{align}
\text{Equation} \qquad &
\begin{aligned} [t]
E & = B + C \\
& =B + c \cdot x \\
\end{aligned} \\
& \text{where} \nonumber \\
& E \text{ is a variable} \nonumber
\end{align}
\end{document}

aligned. The equation number here has been moved from its intended location; there is a defined mechanism for changing the position in such a case, and it is documented in theamsmathuser guide (texdoc amsldoc). The command is\raisetagand it's described on page 10. – barbara beeton Jun 25 '19 at 18:59\mathbfwith\boldsymbolas recommended here https://tex.stackexchange.com/questions/14395/bold-italic-vectors/14400 if anybody has the same problem. – LuleSa Jun 28 '19 at 07:20