Text Formatting ⇒ Horizontal strikethrough?
Horizontal strikethrough?
I am curious if there is a way to make a horizontal strikethrough in mathmode. An example of why I would want this is to be able to define spatial volumes as something like:
\strikethrough{V}
in order to differentiate them with other quantities that are apt to be defined as V.
The command \sout{arg} from the ulem package SHOULD work, but instead it underlines "arg" for some reason. I have no idea why this would be the default behavior, since ulem.sty also contains \uline{arg}, which is explicitly intended to underline text.
In the actual text of the ulem.sty, it recommends resetting \ULdepth from a default value:
\newdimen\ULdepth \ULdepth=negVal
where negVal is some negative measurement (e.g., -6pt), but this has absolutely no effect on where the line is placed.
I'm not terribly attached to ulem.sty - any suggestions would be greatly appreciated!
Adam
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Horizontal strikethrough?
Horizontal strikethrough?
Code: Select all
\usepackage{soul}
...
\st{text to strike through}