TRB_LaTeX_tex
TRB_LaTeX_tex copied to clipboard
Overlapping/ghost line numbers with some equations
For some math statements, the line numbering appears to count an overlapping ghost line somewhere around the end of the align/gather/alignat statement.
\begin{linenomath}
\begin{alignat*}{3}
&\min_{x,h} \qquad && \sum_{(i,j) \in A} \int_0^{x_{ij}} t_{ij}(x) dx \\
&\text{subject to} \qquad && x_{ij} = \sum_{\pi \in \Pi} h^\pi \delta_{ij}^\pi &&\forall (i,j) \in A\\
& && \sum_{\pi \in \Pi^{rs}} h^\pi = d^{rs} &&\forall(r,s) \in Z^2 \\
& && h^\pi \geq 0 &&\forall \pi \in \Pi
\end{alignat*}
\end{linenomath}
where $A$ is the set of all links $(i,j)$ in the network
I've tested this with a few different equation environments (e.g. align
, flalign
), by dropping \\
, \hfill
, and \break
around the \end{alignat*}
and \end{linenomath}
statements, and commenting out the lines referenced in #13, but it didn't fix the issue.
Thanks for creating the issue - will need to get back to this after the submission 😅