http://reference.wolfram.com/mathematica/Notation/guide/NotationPackage.h=
tml
I hope that helps
Jose
Mexico
-----Mensaje original-----
De: Shaun Culver [mailto:ad...@shaunculver.com]
Enviado el: Mi=E9rcoles, 13 de Agosto de 2008 03:42
Para: math...@smc.vnet.net
Asunto: Feynman slash notation
Thank you for your suggestion. It seems to me that the "Notations
Package" can only be used to define convenient/new notation
conventions using the standard Mathematica symbols. Incorporating the
"Feynman slash notation" can be described as a typographical issue.
This link may be useful:
http://www.physicsforums.com/showthread.php?p=1830003
This feature seems to be supported by the LaTeX typesetting system
used by, for example, Wikipedia:
http://en.wikipedia.org/wiki/Feynman_slash_notation
Interpretation[
Graphics[{Text[Style["A", FontSize -> 14], {0, 0}],
Text[Style["/", FontSize -> 14], {0, 0}]}, ImageSize -> 20],
ASlash] + B
The interpretation box ensures that the kernel 'sees' a symbol
corresponding to A-slash.
Unfortunately you would need to adjust the font size to suit the size of
the surrounding font.
David Bailey
http://www.dbaileyconsultancy.co.uk
For instance, here is the Dirac equation that I created by nudging a /
leftwards so that it sits on top of a \[PartialD]:
Cell[TextData[Cell[BoxData[
FormBox[
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"i", " ",
RowBox[{"\[PartialD]",
RowBox[{
AdjustmentBox["/",
BoxMargins->{{-0.6666666666666666, 0.6666666666666666}, {0., 0.}}],
RowBox[{"-", "m"}]}]}]}], ")"}], "\[Psi]"}], "=", "0"}],
TraditionalForm]]]], "Text"]
Paste this Cell Expression into a notebook to see it rendered.
--
Stephen Luttrell
West Malvern, UK
"Shaun Culver" <ad...@shaunculver.com> wrote in message
news:g7uo34$5ut$1...@smc.vnet.net...
Stephen Luttrell's solution worked really well for my purposes. I hope
that Mathematica staff will incorporate this notation in future
releases.
Regards,
Shaun Culver