# Latex - how to do Dirac slash notation

1. Dec 6, 2004

### jasonc65

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.

2. Dec 27, 2004

### NeutronStar

Here's a crude make-shift attempt for whatever it's worth. I just did this by goofing around.

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$$

3. Apr 20, 2010

Re: Latex -- how to do Dirac slash notation

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