LaTeX Latex - how to do Dirac slash notation

AI Thread Summary
Dirac slash notation in LaTeX can be implemented using the `slashed` package, which allows for the proper formatting of slashes through symbols. To use this notation, include `\usepackage{slashed}` in the preamble of your LaTeX document. The notation can be expressed as follows: `\slashed{\partial} = \gamma_i \partial^i`, `\slashed{p} = \gamma_i p^i`, and `\slashed{A} = \gamma_i A^i`. This method provides a clean and formal way to represent Dirac slashes in mathematical expressions.
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

/\partial = \gamma_i \partial^i

/p = \gamma_i p^i

/A = \gamma _i A^i

with the slashes running through the symbols \partial, 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.

\displaystyle{\not} \partial = \gamma_i \partial^i

\displaystyle{\not} p = \gamma_i p^i

\displaystyle{\not}A = \gamma _i A^i
 


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

Similar threads

Replies
3
Views
8K
Replies
4
Views
2K
Replies
12
Views
3K
Replies
1
Views
2K
Replies
8
Views
3K
Replies
1
Views
13K
Back
Top