Document 523

The LaTeX slashed package

Version: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

The slashed package provides commands that place a slash through a character to produce the Feynman slashed character notation. The package works in mathematics. Some customizing of the placement of the slash is possible. Note that the package doesn't produce attractive results with some italic fonts.

You can use the package to produce Feynman characters in two ways: with TeX fields or with TeX fields in combination with negated characters. The second method modifies the program file tcilatex.tex to redefine the way a negated character is typeset. Because tcilatex.tex isn't used if you save your document with the Portable LaTeX filter, the method is incompatible with Portable LaTeX files.

How to produce a Feynman slashed character with TeX fields

  1. Add the slashed package to your document.

  2. Place the insertion point where you want the slashed character to appear.

  3. Start mathematics.

  4. Enter a TeX field.

  5. Type \slashed{x} where x is the upper- or lowercase letter you want to slash.

  6. Choose OK.

How to produce a Feynman slashed character with negated characters

  1. Add the slashed package to your document.

  2. Place the insertion point in text in your document before the first use of a slashed character.

  3. Enter an encapsulated TeX field.

  4. In the entry area, type \def\NEG#1{\ensuremath{\slashed{#1}}} and choose OK.

  5. Place the insertion point where you want the slashed character to appear.

  6. Enter the character you want to use.

  7. From the Edit menu, choose Properties, check the Negate box and choose OK.

    or

    Press Ctrl+n

  8. Repeat steps 5–7 for any additional slashed characters you want.

No options are available. The slashed package installs in the TCITeX/TeX/LaTeX/contrib/carlisle directory.

Last revised 06/28/06

This document was created with Scientific WorkPlace.