Latex - how to do Dirac slash notation

  1. Latex -- how to do Dirac slash notation

    How do you do Dirac slash notation using LaTeX?

    For instance, I want to be able to type

    [tex] /\partial = \gamma_i \partial^i [/tex]

    [tex] /p = \gamma_i p^i [/tex]

    [tex] /A = \gamma _i A^i [/tex]

    with the slashes running through the symbols [tex] \partial [/tex], p, and A.
     
  2. jcsd
  3. Here's a crude make-shift attempt for whatever it's worth. I just did this by goofing around. :biggrin:

    I have no idea how to do it formally, of if there even is a formal way to do it.

    [tex] \displaystyle{\not} \partial = \gamma_i \partial^i [/tex]

    [tex] \displaystyle{\not} p = \gamma_i p^i [/tex]

    [tex] \displaystyle{\not}A = \gamma _i A^i [/tex]
     
  4. Re: Latex -- how to do Dirac slash notation

    add package \usepackage{slashed} in the preamble ,
    wirte \slashed p is ok
     
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?