# Quantum mechanics: Latex and Box Notation

1. Apr 13, 2012

### shyguy79

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?

2. Apr 13, 2012

### collinsmark

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

$$\begin{array}{ccc} Li & \boxed{\uparrow \downarrow} & \quad \boxed{\uparrow\;} \\ & 1s & 2s \end{array}$$

3. Apr 13, 2012

### shyguy79

Thanks ... Looks good what is the code for that?

4. Apr 13, 2012

### collinsmark

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.

5. Apr 14, 2012

### shyguy79

Thats brilliant, thank you!