★grads.net/forums » Quantum Computation and Quantum Information

[sticky] [closed]

How to type mathematical equations

(1 post)
  • Started 1 year ago by davinci
  1. davinci
    Moderator

    To type mathematical equations, enclose them using \(\) or $$ as you would in LaTeX. To type a dollar sign, precede it with a blackslash as in \\$. To show an equation in display mode, use \[\].

    A few macros have been defined for convenience:

    • \$ket{\psi}\$ gives $\ket{\psi}$
    • \$bra{\phi}\$ gives $\bra{\phi}$
    • \$braket{\phi}{\psi}\$ gives $\braket{\phi}{\psi}$
    • \$twobyone{a}{b}\$ gives $\twobyone{a}{b}$
    • \$onebytwo{c}{d}\$ gives $\onebytwo{c}{d}$
    • \$twobytwo{a}{b}{c}{d}\$ gives $\twobytwo{a}{b}{c}{d}$
    Posted 1 year ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.