Enter Dirac braket symbol in TeXmacs

Source: Internet
Author: User

TeXmacs in mathematical mode, parentheses are automatically padded by default. This also results in the input of the Dirac braket symbol when it may not be the result you want. After testing, the following input methods can be used to enter

(The following _ indicates where the cursor is, tab is the TAB key, Leftarrow represents the left direction key)

Symbol: $ \left|b\right\rangle $

Input order:
1. Input | Get | _ |
2. Enter B to get |b _ |
3. Input > Tabtabtabtabtab get $ \left|b\right\rangle $

Symbol: $\left\langle a\right|$

Input order:
1. Input < Tabtabtabtabtab Get < _ >
2. Input a Get <a_>
3. Input | Get $\left\langle a\right|$

Symbol: $ \left\langle a| B \right\rangle $

Input order:
1. Input < Tabtabtabtabtab Get < _ >
2. Input AB Get < AB _ >
3. Input Leftarrow Get < a _ B >
4. Input | Get < A | _ | B >
5. Enter Tab to get < a | _ B >
6. (optional) Enter tab to adjust the middle | The size

Symbol: $ \left\langle a| H |b \right\rangle$

Input order:
1. Input < Tabtabtabtabtab Get < _ >
2. Input AB get < Ab_ >
3. Input Leftarrow get < A_b >
4. Input | Get < A | _ | B >
5. Enter H to get < a | H_ | B >

The above input method seems complex, but the actual input time has its intrinsic logic, does not need to remember at all.
There can be other better and more convenient input methods, you are welcome to point out.

Enter Dirac braket symbol in TeXmacs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.