[pstricks] Strikeout macro

Werner Grundlingh wgrundlingh at gmail.com
Wed Mar 18 23:55:54 CET 2009


PStricks-add has a new environment called
Available online via CTAN at

Alternatively, there exists a \cancel{<contents>} (no options like the
above \psCancel command) from the cancel package. Also available
online via CTAN from


On Wed, Mar 18, 2009 at 15:46, David Arnold <dwarnold45 at suddenlink.net> wrote:
> All,
> I am going to work some fractions problems. I have a need of a
> \strikeout macro that I can use to show cancellation. What is should
> do is:
> \strikeout{(x+1)}
> Would typeset (x+1) and cross it out with a red diagonal line.
> Thus, \strikeout should adjust to whatever the braces surround. That
> is, it should work equally well with \strikeout{2} as it does with
> \strikeout{(x+1} or \strkeout{x^2-2x-3}.
> Can anyone help?
> Thanks.
> David.

More information about the PSTricks mailing list