Quantum mechanics: Latex and Box Notation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
shyguy79
Messages
99
Reaction score
0
Does anyone know how to do box notation in Latex, I've got this:

[itex]Li \quad \boxed{\uparrow \downarrow} \quad \boxed{\uparrow\;} \qquad[/itex]
1s 2s

But I want the quantum states to appear underneath their respective boxes?
 
Physics news on Phys.org
shyguy79 said:
Does anyone know how to do box notation in Latex, I've got this:

[itex]Li \quad \boxed{\uparrow \downarrow} \quad \boxed{\uparrow\;} \qquad[/itex]
1s 2s

But I want the quantum states to appear underneath their respective boxes?

I'm not familiar with using boxes for notation, but I suppose it looks reasonable. How about using an array/matrix?

[tex]\begin{array}{ccc} <br /> Li & \boxed{\uparrow \downarrow} & \quad \boxed{\uparrow\;} \\<br /> & 1s & 2s <br /> \end{array}[/tex]
 
Thanks ... Looks good what is the code for that?
 
shyguy79 said:
Thanks ... Looks good what is the code for that?
Right click my equation, and it gives you an option to show the equation in Tex Commands.

For more general information, there is a link in my signature that directs you to a some LaTex crash coarse, that is useful for this forum. The arrays and matrices are toward the end of the document.
 
Thats brilliant, thank you!