4
$\begingroup$

This question already has an answer here:

How to write a line through text or words ?

Like the \underline{} in latex but in the middle the line, to indicate something is wrong.

$\endgroup$

marked as duplicate by Joel Reyes Noche, Shailesh, José Carlos Santos, Glorfindel, Mike Earnest Mar 20 at 19:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ See math.meta.stackexchange.com/a/13183/18398 $\endgroup$ – Joel Reyes Noche Mar 20 at 3:03
  • 1
    $\begingroup$ In the question I linked to, it might take a while for the MathJax to render, so you'll need to be patient. $\endgroup$ – Joel Reyes Noche Mar 20 at 3:05
  • $\begingroup$ @JoelReyesNoche In my opinion, this is not a duplicate, since the OP is asking about striking out text and not mathematical formulas. (This message in chat can also be considered as a confirmation that they are asking about text: "And yes I wanted to put a line through a word, not an equation.".) Of course, it is possible the the duplicate for such question is somewhere on this meta, too - I did not find it in the short time I've spent searching. $\endgroup$ – Martin Sleziak Mar 22 at 6:15
  • $\begingroup$ @MartinSleziak, okay, I'm voting to reopen. $\endgroup$ – Joel Reyes Noche Mar 22 at 8:32
4
$\begingroup$

For text you do can simply use the corresponding html tag and write <s>strikethrough text</s> to get: strikethrough text. I will explicitly mention that this works in posts but not in comments. See also: Does Markdown have a way to express strikeout? and How to strike text?

I will also add that in chat you can use the syntax ---strikethrough text---. (Although in this question you are probably interested more in posts on main than in chat.)

If you want something similar in equations, you might have a look at the older posts on this meta, such as Striking out equations and the entry on Crossing out things in the MathJax tutorial on this meta site.

$\endgroup$
  • 2
    $\begingroup$ This comment is just to illustrate that the same syntax does not work in comments: <s>strikethrough text</s>. $\endgroup$ – Martin Sleziak Mar 20 at 3:27
  • $\begingroup$ Thank you for your answer $\endgroup$ – Isabella Mar 20 at 3:56

Not the answer you're looking for? Browse other questions tagged .