LaTeX Quantum mechanics: Latex and Box Notation

Click For Summary
The discussion focuses on creating box notation in LaTeX, specifically how to position quantum states beneath their respective boxes. The initial attempt involved using boxed arrows, but the user sought a layout that better aligned the states below the boxes. A suggestion was made to use an array or matrix format to achieve this. An example code snippet was provided, demonstrating how to structure the elements in an array. Additionally, a resource link was shared for a LaTeX crash course, which includes information on arrays and matrices, aiding users in further understanding LaTeX formatting.
shyguy79
Messages
99
Reaction score
0
Does anyone know how to do box notation in Latex, I've got this:

Li \quad \boxed{\uparrow \downarrow} \quad \boxed{\uparrow\;} \qquad
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:

Li \quad \boxed{\uparrow \downarrow} \quad \boxed{\uparrow\;} \qquad
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?

\begin{array}{ccc} <br /> Li &amp; \boxed{\uparrow \downarrow} &amp; \quad \boxed{\uparrow\;} \\<br /> &amp; 1s &amp; 2s <br /> \end{array}
 
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!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 61 ·
3
Replies
61
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K