LaTeX How to Control Equation Numbering in an Equation Array?

  • Thread starter Thread starter kq6up
  • Start date Start date
  • Tags Tags
    Array
AI Thread Summary
The discussion centers on formatting an equation array in LaTeX, specifically using the align environment. The user seeks guidance on how to display a single equation number for the entire array rather than individual numbers for each line. They reference two external resources that address similar formatting issues. The user also notes the ability to view unrendered LaTeX code by using a specific right-click option. The conversation emphasizes the need for clarity in presenting mathematical equations while maintaining proper numbering conventions.
kq6up
Messages
366
Reaction score
13
I need help with this equation array.

\begin{align}
\bra{+}\hat{H}\ket{+}&=\frac{1}{2}(\bra{e}+\bra{o})\hat{H}(\ket{e}+\ket{o})\\
&=\frac{1}{2}(\bra{e}\ket{e}E_e+\bra{e}\ket{o}E_o+\bra{o}\ket{e}E_e\\
&+\bra{o}\ket{o}E_o)\\
&=\frac{1}{2}(E_e+E_o).
\end{align}

I just want it to list one equation number, but it lists one for every line. How do I control that?

Also, I can see the unrendered code if I hover over the math, right click, and select ShowMathAs->Tex

Thanks,
KQ6UP
 
Physics news on Phys.org
Perfect, thanks.

KQ6UP
 
Back
Top