Integrating Momentum Space: Replacing hslash with d

Click For Summary

Discussion Overview

The discussion revolves around the integration measure for momentum space in LaTeX, specifically focusing on how to create a notation that replaces the Planck constant symbol (\hslash) with a 'd' that has a diagonal line through it. The conversation includes technical aspects of LaTeX coding and notation in theoretical physics.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks code to produce a 'd' with a diagonal line for momentum space integration, aiming to replace \hslash.
  • Another participant provides a crude attempt at using Feynman slash notation, expressing uncertainty about the formal method.
  • A participant clarifies that they are not looking for Feynman slash notation but rather a specific modification of the 'd' character.
  • A suggestion is made to define a new command in LaTeX to create the desired 'd' slash notation.
  • Further discussion includes playful commentary on the concept of "negative space" in the context of LaTeX formatting.
  • One participant expresses a desire to adjust the angle of the slash in their notation, indicating ongoing refinement of their approach.

Areas of Agreement / Disagreement

Participants generally agree on the need for a custom LaTeX command to achieve the desired notation, but there is no consensus on the best approach or final appearance of the 'd' slash.

Contextual Notes

Participants discuss various LaTeX commands and formatting options, indicating that there may be limitations in achieving the exact desired appearance without further adjustments.

the1ceman
Messages
28
Reaction score
0
does anyone knw the code for how to produce the d slash notation in the integration measure for momentum space? Where (d slash)^n X=(d^n)X/((2pi)^n).
Basically all i want to do is replace the h:
[tex]\hslash[/tex]
with a d.
 
Physics news on Phys.org
not!

Hi the1ceman! :smile:
the1ceman said:
does anyone knw the code for how to produce the d slash notation in the integration measure for momentum space? Where (d slash)^n X=(d^n)X/((2pi)^n).
Basically all i want to do is replace the h:
[tex]\hslash[/tex]
with a d.

hmm … interesting :rolleyes:

i did a google search, and found this …
NeutronStar said:
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]

He did it by typing \displaystyle{\not} …

but you can also do it with just {\not} …

(presumably because LaTeX regards a letter with a slash through it as "not" that letter :biggrin:)

[tex]{\not} \partial = \gamma_i \partial^i[/tex]
[tex]{\not} p = \gamma_i p^i[/tex]
[tex]{\not}A = \gamma _i A^i[/tex]
 
thanks for the reply tim but I am not after the feynman slash notation! Basically in the latex command \hslash i just want to replace the 'h' by a 'd', so that the top end of the 'd' has a diagonal line through it, not the whole letter (as in the feynman slash notation).
Im almost there, basically i have to create a macro, but i need to find the code for the 'slash' in \hslash.
 
Try this
[tex] \newcommand{\dslash}{d \hspace{-0.8ex}\rule[1.2ex]{0.8ex}{.1ex}}<br /> \dslash \hbar [/tex]
(using a horizontal bar).
 
negative space!

robphy said:
Try this
[tex] \newcommand{\dslash}{d \hspace{-0.8ex}\rule[1.2ex]{0.8ex}{.1ex}}<br /> \dslash \hbar [/tex]
(using a horizontal bar).

oh, robphy, that's great! :-p

you've invented negative space! :biggrin:

you've inserted a negative space "after" the d (using \hspace{-0.8ex}), and put a horizontal bar in it. :approve:

(btw, you can leave out "\newcommand" at the start, and "\dslash " at the end: [tex] {d \hspace{-0.8ex}\rule[1.2ex]{0.8ex}{.1ex}}[/tex] :wink:)

Does CERN know about this? :smile:
 
robphy said:
Try this
[tex] \newcommand{\dslash}{d \hspace{-0.8ex}\rule[1.2ex]{0.8ex}{.1ex}}<br /> \dslash \hbar [/tex]
(using a horizontal bar).

thanks for the reply, i have actually done this already, but with a different command, is it possible to get the 'slash' slightly horizontal? Sorry for being so pedantic!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 38 ·
2
Replies
38
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K