How to strike out inside LaTeX equations? [closed]

It looks like the \sout doesn’t work inside a math env. You can try doing something like this, which works: \documentclass{article} \usepackage{ulem} \begin{document} The sout tag works perfect in the \sout{main text area} but not inside the equations. $list = $[1, \sout{2}, 3, \sout{4}, 5, \sout{6}, 7, \sout{8}, 9, \sout{10}$]$ Any clue? \end{document}

Linethrough/strikethrough a whole HTML table row

Oh yes, yes it is! CSS: table { border-collapse: collapse; } td { position: relative; padding: 5px 10px; } tr.strikeout td:before { content: ” “; position: absolute; top: 50%; left: 0; border-bottom: 1px solid #111; width: 100%; } HTML: <table> <tr> <td>Stuff</td> <td>Stuff</td> <td>Stuff</td> </tr> <tr class=”strikeout”> <td>Stuff</td> <td>Stuff</td> <td>Stuff</td> </tr> <tr> <td>Stuff</td> <td>Stuff</td> <td>Stuff</td> … Read more

How to change the strike-out / line-through thickness in CSS?

The modern solution is to use the text-decoration-thickness property. text-decoration-thickness: 1px; You can also change the color using the text-decoration-color property. text-decoration-color: #ff0000aa; For older browsers, you can use one of these workarounds: Here’s a pure CSS method that doesn’t require any unnecessary wrapper elements. As an added bonus, not only can you adjust the … Read more

How can I create a UILabel with strikethrough text?

SWIFT 5 UPDATE CODE let attributeString: NSMutableAttributedString = NSMutableAttributedString(string: “Your Text”) attributeString.addAttribute(NSAttributedString.Key.strikethroughStyle, value: 2, range: NSRange(location: 0, length: attributeString.length)) then: yourLabel.attributedText = attributeString To make some part of string to strike then provide range let somePartStringRange = (yourStringHere as NSString).range(of: “Text”) attributeString.addAttribute(NSStrikethroughStyleAttributeName, value: 2, range: somePartStringRange) Objective-C In iOS 6.0 > UILabel supports NSAttributedString NSMutableAttributedString … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)