LaTeX : P slash and partial slash

  • Context: LaTeX 
  • Thread starter Thread starter Hepth
  • Start date Start date
  • Tags Tags
    Latex Partial
Click For Summary
SUMMARY

The discussion focuses on formatting the "p slash" notation in LaTeX, specifically how to represent \(\not p\) in a visually appealing manner. Users suggest alternatives such as using \(\displaystyle{\not} p\) and the trick of writing \(p\!\!\!/\) for better aesthetics. Additionally, the use of the \(\cancel{P}\) command is mentioned as another viable option for achieving the desired effect. Overall, the community shares practical solutions to enhance the presentation of slashed variables in LaTeX documents.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of mathematical notation in physics
  • Knowledge of the \not command in LaTeX
  • Experience with formatting techniques in LaTeX
NEXT STEPS
  • Research advanced LaTeX formatting techniques for mathematical symbols
  • Learn about the \cancel command in LaTeX for striking out variables
  • Explore the use of spacing commands in LaTeX, such as \!\!\!
  • Investigate community resources or forums for LaTeX best practices
USEFUL FOR

Mathematicians, physicists, and LaTeX users looking to improve the presentation of mathematical expressions, particularly those involving slashed variables.

Hepth
Science Advisor
Gold Member
Messages
458
Reaction score
40
How do you guys do slashes for [tex]\gamma_\mu p^\mu = \not p[/tex]

that p slash is a /not p, but it looks bad. I've tried finding a better way but I'm not sure how. What do you guys do?
 
Physics news on Phys.org
Hepth said:
How do you guys do slashes for [tex]\gamma_\mu p^\mu = \not p[/tex]

that p slash is a /not p, but it looks bad. I've tried finding a better way but I'm not sure how. What do you guys do?

[tex]\not p[/tex] = \not p
[tex]\displaystyle{\not} p[/tex] = \displaystyle{\not} p

Why? Beats me.

Here's another trick that's sometimes used

[tex]p\!\!\!/[/tex] = p\!\!\!/
 
Last edited:
Otherwise, you can also you the \cancel{P} to do the same thing.

Cheers
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
13K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
60K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K