I have a very long equation in \align*
environment so that I split it into two lines as shown in the screenshot blew
I want to write some text side to side the above part of the equation using &&\text{}
,but Latex throw it away in the margins and I do not know why this happens. Here is my code regarding this part :
\begin{align*}
X_{p}\psi &=
X_p\bigl( \psi(p) \bigr)
+ \sum_i \left(\left.\frac{\partial \psi}{\partial x^{i}}\right|_{p} \right) X_{p}\left(x^{i}-a^{i}\right) &&\text{(plaplapla)} \\
&\phantom{{}= }+ \sum_i \sum_j X_{p}\left( \left(\zeta_{ij}\circ\phi \right)\left(x^{i}-a^{i}\right)\left(x^{j}-a^{j} \right) \right) .
The first &
is using for aligning equations later, any my preamble just has the necessary packages for mathematics.
I appreciate any help. Thanks in advance.
Best Answer
Assuming the explanatory text string isn't all that long, it should be enough to separate it from the other material in the first row with a
\quad
or\qquad
directive.I would also like to recommend strongly that you get rid of the habit of using
\left
and\right
with all math-mode parentheses. See, e.g., Is it ever bad to use \left and \right? for more information on this subject.