LaTeX Understanding the Difference of \mid and \rangle in Math Notation

AI Thread Summary
The discussion revolves around the issue of the pipe symbol (\mid) not stretching as expected in LaTeX code, while the right angle bracket (\rangle) behaves correctly. The user seeks to format the expression |1/2, ±1/2> using the code \left\mid\frac{1}{2},\pm\frac{2}{2}\right\rangle. Participants suggest that using the standard pipe symbol (|) and angle bracket (>) instead of their LaTeX counterparts can achieve the desired formatting. The conversation highlights a common formatting challenge in LaTeX and offers a practical workaround.
Rajini
Messages
619
Reaction score
4
Hello everyone..
in the following code, why the \mid (or pipe) symbol is not stretched..but \rangle is fine
i want to type |1/2,\pm1/2>
here is my code
\left\mid\frac{1}{2},\pm\frac{2}{2}\right\rangle
thanks
 
Physics news on Phys.org
|

Hello Rajini! :smile:
Rajini said:
Hello everyone..
in the following code, why the \mid (or pipe) symbol is not stretched..but \rangle is fine
i want to type |1/2,\pm1/2>
here is my code
\left\mid\frac{1}{2},\pm\frac{2}{2}\right\rangle
thanks

hmm …
\left\mid\frac{1}{2},\pm\frac{2}{2}\right\rangle​

dunno :redface:

but it's ok if you just type | instead of \mid (or indeed > instead of \rangle :wink:)…

:-p \left|\frac{1}{2},\pm\frac{2}{2}\right> :-p
 
ohhh..thanks
 

Similar threads

Replies
4
Views
2K
Replies
2
Views
2K
Replies
8
Views
3K
Replies
3
Views
2K
Replies
1
Views
485
Replies
7
Views
3K
Back
Top