Questions tagged [strikeout]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Striking through multiple column and row in tabular [duplicate]

I am trying to create a table that has multiple strikes through columns and rows, similar to this table I have tried this solution Striking thru a tabular row in LaTeX but it can't produce multiple ...
user avatar
2 votes
2 answers
62 views

Strikeout of a table row and caption two tables separately

First question. I want to organize these two tabular as subtables (a) and (b) of a main table and share a single caption. Second question. I want to cross out the second row of the first subtable ...
user avatar
0 votes
3 answers
39 views

Strikeout numbers from an enumerated list

I would like to have a simple enumerated list like \begin{enumerate} \item First item \item Second item \end{enumerate} where I strike through "(1)" and "(2)" but not the ...
user avatar
1 vote
0 answers
34 views

Define new command to strikethrough all text in an \item

I would like to strikethrough all the text in an \item. Since \item takes a variable number of arguments, I don't know how to do that. I have tried: \documentclass{article} \usepackage{ulem} \...
user avatar
0 votes
0 answers
38 views

LaTex: Misplaced \omit. for inside table cell crossout

I am trying to do a crossout of a cell inside a table. I have inherited the code from the following question Cross out arbitrary table cells with diagonal line. Unfortunately, there is an error ...
user avatar
1 vote
1 answer
38 views

Uniformly oriented cancelling lines across math or texts

How do I cross out maths to show they vanish with evenly oriented diagonal lines (i.e., all lines parallel?) I don't like how the crossing lines appear due to size of the expressions. It doesn't ...
user avatar
  • 1,177
0 votes
1 answer
47 views

Strikeout in fraction equation [duplicate]

I am having trouble getting the strikeout to work in this equation. I'd appreciate your help.
user avatar
  • 1
0 votes
1 answer
55 views

Whole Page Strikethrough with Variable length

Context: I'm working on recreating the AANZFTA CoO in LaTeX, which contains a list of varying length. I use longtblr to make it travel across multiple pages, and use a fancyfooter for the declaration ...
user avatar
3 votes
1 answer
252 views

How to strikethrough diagonally, from left top to right bottom?

While this answer already has a diagonal strikethrough solution with \cancel, this is actually, in a matrix terminology meaning, "anti diagonal", i.e. from lower left to upper right. What I ...
user avatar
  • 205
1 vote
1 answer
276 views

Strikethrough and line breaks

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 any ...
user avatar
  • 217
2 votes
0 answers
56 views

Strikethrough lines in minted

I want to strikethrough some line in a minted enviroment, for example line 3 in \documentclass[usenames,xcolor=dvipsnames]{beamer} \usetheme{CambridgeUS} \usecolortheme{beaver} \usepackage[utf8]{...
user avatar
  • 21
1 vote
1 answer
77 views

Colored strikeout in subscript in mathmode

In order to strike text in red in math mode, I found this solution quite useful. However, it fails when I want to do it in subscript, since the command does not detect that the size of the text is ...
user avatar
  • 5,043
1 vote
1 answer
504 views

How do I strikethrough in \text{} inside inline math mode

I want to strike out the word "prime" in the given below text. How can I do it? $\mathfrak{P}:=\{\text{set of all prime ideals contained in} \ A\setminus S\}$.
user avatar
  • 141
3 votes
1 answer
39 views

How to get xcancel to work inside highlight?

\documentclass[oneside,9pt]{memoir} \usepackage{soul} \usepackage{cancel} \usepackage{ulem} \usepackage{lipsum} \usepackage{xcolor} \makeatletter \def\SOUL@hlpreamble{% \setul{\dp\strutbox}{\...
user avatar
  • 207
1 vote
0 answers
53 views

Beamer: strikeout with onslide produces "perhaps a missing \item"

Following the recommendation in In beamer, how to strike through an item after displaying, I wrote this: \documentclass[14pt,aspectratio=1610]{beamer} \usepackage[normalem]{ulem} \renewcommand{\...
user avatar
  • 495
0 votes
1 answer
2k views

Strikethrough command in LaTeX [closed]

I am trying to have as strikethrough text using base LaTeX command and up till now there is no solution available except the use of some packages, i.e, ulem and cancel. Is there any other way to get a ...
user avatar
3 votes
2 answers
516 views

How do cross out text in math mode?

Since \sout does not work in math mode, what can I use instead? I don't want the diagonal strikeout like with cancelf
user avatar
  • 670
1 vote
1 answer
54 views

How to strike through in mbox and in begin{Large}?

Here is my input here. I want strikrthrough all these lines (1)(1)+2(1)+(-1)2+ (-2)1+0(1)+(1)3+ 1(2)+(-1)(1)+0(4) \documentclass[10pt,letterpaper]{article} \usepackage[left=8mm,top=6mm,bottom=...
user avatar
  • 241
1 vote
1 answer
36 views

How to add a strikethough or slash over the "Cal" of "CalParam"

There are two types of parameters: calibrated and non-calibrated. I use "CalParam" as a shorthand to denote a calibrated parameter. To denote a non-calibrated paramter, I want to add a strikethrough ...
user avatar
0 votes
0 answers
41 views

How to create arrow over multiple cells in longtable environment?

I need to build a table like the image. I have built the table easily but can not get the arrowed lines properly.
user avatar
2 votes
1 answer
255 views

Strikeout a paragraph containing text and an equation environment

As shown in this answer, we can strikeout text like abc $x=y$ using \st or \sout from the ulem and soul package, respectively. However, both approaches don't work if the text contains an equation ...
user avatar
  • 341
3 votes
1 answer
171 views

How do I strike out line inside an algorithm?

Package I am using: \usepackage[linesnumbered,ruled,vlined]{algorithm2e} My latex code: \begin{algorithm}[H] \label{alg:my-alg} \DontPrintSemicolon \caption{My algorithm} \SetKwInOut{Input}{Input}\...
user avatar
  • 159
1 vote
2 answers
1k views

Using \cite in \sout causes errors

When I use \cite[something with spaces]{ref} inside \sout{...} I get errors. For the article document class it helps to replace spaces by ~. That doesn't help, however, for the elsarticle document ...
user avatar
  • 213
2 votes
1 answer
2k views

Strike out an arrow with a small oblique segment like with \nrightarrow

I'm looking for a way to strike out an arrow in the same style (or idiscernible) as predefined struck arrows, with short, slightly-oblique segments, like for instance \nrightarrow. Using \not or \...
user avatar
1 vote
2 answers
1k views

Strike out over graphics

I have a document with a graphics and I want to replaced this graphics with another as part of a revision. To make this clear I want to show the old version of a figure next (or below) to the new ...
user avatar
  • 13.9k
5 votes
1 answer
252 views

Strikethrough a \cref-generated cross-reference

I'm looking to strikethrough a cross-reference generated with \cref. I thought a basic example like the following would work: \documentclass{article} \usepackage{cleveref} \usepackage{soul} \begin{...
user avatar
  • 163
4 votes
1 answer
3k views

How to strike through or cancel using different colors in the same line

For example, suppose I had an equation x = 2 + 1 - 2 - 1 (obviously toy example) I want the +2 to cancel out with the -2, +1 to cancel out with the -1 So in Latex I would want something like Is there ...
user avatar
  • 2,899
3 votes
1 answer
484 views

Strike a paragraph of text

I want to strike obliquely one or more paragraphs of text, to indicate cancellation, like in this picture: I would need to strike also if the paragraph spans in two pages. I tried the cancel package,...
user avatar
2 votes
2 answers
247 views

How to strikeout an flalign block?

I am trying to strikeout an entire flalign block. This post shows how to strikeout an aligned block using the cancel package, but I'm not able to get it to work for the flalign environment. Any ...
user avatar
  • 53
3 votes
3 answers
168 views

How to avoid or compensate horizontal and vertical shifts in a tikz' struck out node?

The following MCE below points out that, for a tikz' struck out node, the line width causes both horizontal and vertical shifts. Is it possible to avoid them? Or, at least, to know exactly the ...
user avatar
1 vote
2 answers
2k views

highlighting strikeout text with ulem shifts the line downwards

I'm trying to highlight a text with a strikeout word by defining a new command as explained in the docs of ulem. Unfortunately, that moves down the strikeout line a few points, which looks strange ...
user avatar
0 votes
1 answer
3k views

strikethrough math formula in the math mode

Is there a way to do strikethrough math formula in the math mode? I had known this: \usepackage[normalem]{ulem} \sout{ ...} and \usepackage{soul} \st{...} are useful but they can not be used in ...
user avatar
  • 2,159
3 votes
1 answer
224 views

How can I include the section number of a deleted section in the deletion formatting applied by latexdiff?

I have a document marked up by latexdiff and then edited to make it compile. The current output for a deleted section is similar to this: How can I include the section number in the deletion markup? ...
user avatar
  • 183k
5 votes
1 answer
348 views

How to avoid shifts for content which is "strike out" (from tikz shapes.misc library)?

In the following MWE, the strike out content is shifted horizontally and vertically. How avoid these shifts? \documentclass{beamer} \usepackage{mwe} \usepackage{tikz} \usepgflibrary{shapes.misc} \...
user avatar
1 vote
1 answer
1k views

Trying to strike out a column in a matrix (array)

So using the last answer from here, as I am using an array not any matrix. I am using MathTex for Libre Office Writer. FYI. Normal Matrix: \left[ \begin{array}{ccc} 3 & 3 & 1 \\ 1 & 0 &...
user avatar
  • 165
1 vote
2 answers
377 views

cancel package and tables

I have a "friend" who needs to do some kind of strikethrough or cancel but for a whole row or column (or both) of a table at a time. It should ideally be something supported by MathJax, so various ...
user avatar
  • 415
0 votes
1 answer
407 views

fun style cross-strike-out

I want to cross out (strike out) words or letters in fun ways for poster-sized text for children. ulem and cancel produce rather formal/sterile-looking cancellations, as do tikz-based combinations of ...
user avatar
  • 1,479
3 votes
1 answer
1k views

Strikethrough different color than the text [duplicate]

Using the cancel package, you can cross expressions in various ways. However, what I can do to cross a symbol, with the strikethrough a different color, say red.
user avatar
9 votes
2 answers
3k views

Customizing latexdiff default (UNDERLINE) output styling

I'm using latexdiff to highlight the differences between two versions of a tex document, using the default style which is UNDERLINE. This style formats added text in blue with a wavy underline, and ...
user avatar
10 votes
1 answer
181 views

Active ! Character Hangs within TikZ

The MWE below makes the ! active in math mode using the solution from Make Characters Active via Macro in Math Mode and uses the tikz \hcancel via Diagonal strikeout starting too low and ending too ...
user avatar
4 votes
1 answer
209 views

Polish letter disappears when striked out with soul package [duplicate]

I am trying to typeset something in Polish. Unfortunately one letter mysteriously disappears - but only when it is the last in a word. When I add a character ('a' in the example below) right after the ...
user avatar
  • 275
3 votes
1 answer
1k views

How to strike out an entire group of text

I am using the command \sout{some text} to strike out a word or a sentence; However, I wanted to know if it is possible to strike out a group of text without having to use the braces { and }. ...
user avatar
3 votes
0 answers
933 views

Displaying source code listing with strikethrough/strikeout

I'm preparing for a presentation in which I would like to show some source code with bits struck out. Does anyone know a package that can do that? I've googled but can't find anything. Here's my MWE, ...
user avatar
  • 1,849
11 votes
2 answers
31k views

Thickness for \sout{} (strikethrough) command from ulem package

I am using \sout from the ulem package together with beamer to strike through some text: \documentclass[mathserif]{beamer} \usepackage{ulem} \begin{document} \begin{frame} Next meetings: \begin{...
user avatar
1 vote
0 answers
453 views

Creating an Elimination Matrix with strikethrough rows/columns [duplicate]

I am writing a paper, and I need to display an elimination matrix during the steps of finding a determinant. \[ A =\begin {bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \...
user avatar
  • 11
6 votes
2 answers
5k views

How to strikethrough text in red inside beamer using soul? (inside a tabular)

I was trying to strike through text inside a beamer frame, using package soul and changing color to red. It is inside a tabular, but I've tried outside and couldn't make it work either. I also tried ...
user avatar
5 votes
1 answer
408 views

Strikeout in roboto font in texlive 2015

In texlive 2015 strike through for roboto font is a bit too high for lower case letters. I think the reason might be, that the unit 1ex for this font differs roughly by a factor 2 from what I would ...
user avatar
  • 53
2 votes
1 answer
729 views

Strikethrough command that affects all following text, like \bfseries

Q&As like Strikethrough text, provide guidance on how to strike through text with ulem's \sout{...} or soul's \st{...}. Is there a readymade alternative that behaves like \bfseries and affects all ...
user avatar
  • 3,414
11 votes
2 answers
2k views

Strikeout all text, including enumerated lists

Is it possible to define an environment that strikes out all text, even in enumerated lists? I am basically trying automate what is currently being done manually in Microsoft Word. I have a body of ...
user avatar
  • 599
7 votes
1 answer
3k views

Is it possible to strikeout a whole equation or paragraph?

I have a document in which I want to strikeout whole paragraphs including all equation and eqnarray environments. Available options such as sout (from ulem) works on paragraph but not in equations. ...
user avatar
  • 13.9k