strikeout - Strikethrough text - TeX - LaTeX Stack Exchange I am writing an article in LaTeX 2e Part of the article describes the Sieve of Eratosthenes, and I want to show examples of how multiples of a prime are removed from the sieve by showing them in a
Thickness for \sout {} (strikethrough) command from ulem package The ulem source states that: To draw a line through text instead of under it (strike out) do under-line with negative depth So, the thickness of the strike is the same as that of the underline From the ulem package documentation: The thickness of the underline rule is given by the command macro \ULthickness; use \renewcommand (not the usual \setlength) to change it So, writing:
Strikethrough and line breaks - TeX - LaTeX Stack Exchange I need to use \\sout{} from the ulem package for longer passages of text and in combination with other macros However, this removes all linebreaks and the text is kept on a single line Is there an
Strikeout in math mode - TeX - LaTeX Stack Exchange How can I strikeout words in math mode (similar to \sout with \usepackage {ulem} in text mode)? I've tried \usepackage {cancel} and \ (\cancel {1+1=2}\) but that draws a diagonal line
Highlighting and striking through text in latex \documentclass{article} \usepackage{soul} \usepackage[normalem]{ulem} \begin{document} \hl{\mbox{\sout{This is my text which I want to highlight and strike through The text does not go to the next line, instead it goes beyond the page }}} \end{document} But the sentence is not broken down in output pages It goes beyond the page How to fix it?
Strikeout - when which package ? ( ulem vs soul vs . . . ) It should probably also be mentioned that ulem has the package option normalem, which does not make \emph underline its argument This way you can get the \sout command without changing the behavior of \emph
Strikeout in different color appears behind letters, not on top of them Hello \textcolor{red}{\sout{\textcolor{black}{Welt }}}World! \end{document} (If I specify a different color combination, like green or magenta for the text, the effect persists - I just didn't want the compiled example to look ugly or unrealistic ) How can I have strikethrough in a color different from the text appear on top of the text?
Striking out colored text through user defined commands \documentclass{article} \usepackage{ulem,xcolor} \newcommand{\bt}[1]{\textcolor{blue}{#1}} % bt: blue text \newcommand{\rt}[1]{\textcolor{red}{#1}} % rt: red text \newcommand{\rs}[1]{\rt{\sout{#1}}} % rs: red stroke \textwidth=12cm % Forcing linebreak at 12cm \usepackage[T1]{fontenc} \begin{document} \bt{Lorem ipsum dolor sit amet, consectetur adipiscing elit Proin sodales massa ac dapibus