Latex - how to do Dirac slash notation

  • Context: LaTeX 
  • Thread starter Thread starter jasonc65
  • Start date Start date
  • Tags Tags
    Dirac Latex Notation
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 60K views
jasonc65
Messages
19
Reaction score
0
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.
 
Physics news on Phys.org
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]
 


add package \usepackage{slashed} in the preamble ,
wirte \slashed p is ok