TeX - LaTeX Asked by E Be on July 31, 2021
In quantum mechanics it is often needed to write the expectation value of an observable:
How do I type such in LyX?
I can write a bra using leftlangle ___ right|
and a ket with left| ___ rightrangle
or simply with “Insert delimiters”, but I have no idea how to insert a third, middle object between a bra and a ket.
The right way to do this would be to use
leftlangle psi middle| A middle| psi rightrangle
To get an even more fancy view in LyX, you could wrap this in a math macro (Insert --> Math --> Macro)
Correct answer by akvilas on July 31, 2021
Include the physics package by typing:
usepackage{physics}
Then you can use bra and ket commands:
$bra{psi}Aket{psi}$
Answered by Appo on July 31, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP