Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Strikethrough in latex

  1. May 14, 2013 #1
    Is it somehow possible to do it in LATEX? I googled it but I couldn't find anything that would work for me.
  2. jcsd
  3. May 15, 2013 #2
  4. May 15, 2013 #3


    User Avatar
    Gold Member

    closest thing I found with a quick google was either:

    ##\displaystyle \rlap{/}xy##
    Code (Text):
    which can be repeated like so: ##\displaystyle \rlap{//}xy##
    Code (Text):
    or a series of hyphens will create something a bit like a horizontal strikethrough, bit fiddley trying to get the right number of hyphens though:

    ##\displaystyle \rlap{---} xyzabc##

    Code (Text):
    \displaystyle \rlap{---} xyzabc

    Using \text{} around the hyphens seems to make them a bit smaller and they look more like a solid line on my browser:

    ##\displaystyle \rlap{\text{---------}} xyzabc##

    Code (Text):
    \displaystyle \rlap{\text{---------}} xyzabc
  5. May 15, 2013 #4
    Thanks trollcast! :smile:
  6. May 15, 2013 #5


    User Avatar
    Science Advisor
    Homework Helper

    if you mean "real latex", use packages "ulem" or "soul" for text, and "cancel" for math.

    If you measn "PF latex", what trollcast said.
  7. May 15, 2013 #6


    User Avatar
    Gold Member

    I defined mine in my papers as :
    \not \negmedspace \partial
    Code (Text):

    \not \negmedspace \partial

    which seems to work here as well

    Code (Text):

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Strikethrough in latex
  1. Latex Help (Replies: 9)

  2. LaTeX help (Replies: 2)

  3. Latex Question (Replies: 1)

  4. A Symbol in Latex (Replies: 1)

  5. Springer and \LaTeX (Replies: 1)