Inserting Feynman Slash Notation in Mathematica

  • Thread starter Thread starter Shaun Culver
  • Start date Start date
  • Tags Tags
    Feynman Notation
Click For Summary
Inserting the Feynman slash notation A\!\!\!/ into a Mathematica document presents challenges, as a complete solution is not currently available. A partial workaround using DisplayForm and RowBox is suggested, but it has significant limitations, including producing a string instead of a symbol and improper display in StandardForm and InputForm. The workaround also requires manual adjustments for different display sizes, making it less practical. Users are encouraged to report this issue to the MathGroup forum in hopes of a future update from Wolfram. The discussion highlights the need for better support for specialized notation in Mathematica.
Shaun Culver
Messages
69
Reaction score
0
I need to insert the slash notation, A\!\!\!/ , into a Mathematica document. I have searched high and low, but find nothing on this.
 
Last edited:
Physics news on Phys.org
Interesting problem! I found a limited workaround, but hopefully Wolfram includes these characters in a future update. Here is the partial solution:

Code:
DisplayForm[RowBox[{"A", AdjustmentBox["", BoxMargins -> {{0.1, -1.35}, {0.4, 0.2}}], "/"}]]

This solution is has the following weaknesses:

1) It produces a string, rather then a symbol. Attempting to convert it to an expression produces an error.

2) The slash only appears correctly in DisplayForm, it instead appears as A/ in StandardForm and InputForm.

3) It doesn't scale well with size, you will have to adjust the -1.35 parameter to get this right. The character looks correct to me on a 19" 1280x1024 with no magnification and Mathematica's default 12pt courier font. Any other configuration will probably require fiddling with the -1.35.

I'm sorry the solution is so limited, you could try posting this question to the MathGroup moderated forum, and at least hopefully someone at Wolfram will patch this missing feature in an update.
 
Good effort, it works! It's a pity that it's too limited for my purposes though. I'll drop a message at the MathGroup forum.
 
Time reversal invariant Hamiltonians must satisfy ##[H,\Theta]=0## where ##\Theta## is time reversal operator. However, in some texts (for example see Many-body Quantum Theory in Condensed Matter Physics an introduction, HENRIK BRUUS and KARSTEN FLENSBERG, Corrected version: 14 January 2016, section 7.1.4) the time reversal invariant condition is introduced as ##H=H^*##. How these two conditions are identical?

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K