Cross out words with overlapping to nearby wordsTikZ node in normal textCross referencing tcolorbox with cleveref-packageHow to comment out a particular kind of boxestcolorbox / out of the boxHow to cross out few entries in table?Draw nodes next to arrow without overlapping next arrowDistinguish forward cross-references from backward cross-referencesvarious defined breakable boxes inside breakable box using overlappingAdding more space between words in tcolorboxText after tcolorbox Overlapping with Figure inside wrapfigDraw line with latex
Do I really need to have a scientific explanation for my premise?
Why is a very small peak with larger m/z not considered to be the molecular ion?
How can I manipulate the output of Information?
Doubts in understanding some concepts of potential energy
What would be the most expensive material to an intergalactic society?
Why restrict private health insurance?
What is the population of Romulus in the TNG era?
Can we track matter through time by looking at different depths in space?
When Schnorr signatures are part of Bitcoin will it be possible validate each block with only one signature validation?
Is it safe to abruptly remove Arduino power?
MySQL importing CSV files really slow
Was it really inappropriate to write a pull request for the company I interviewed with?
Does a difference of tense count as a difference of meaning in a minimal pair?
Why couldn't the separatists legally leave the Republic?
Does an unused member variable take up memory?
Trig Subsitution When There's No Square Root
Can the alpha, lambda values of a glmnet object output determine whether ridge or Lasso?
How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?
Street obstacles in New Zealand
Would an aboleth's Phantasmal Force lair action be affected by Counterspell, Dispel Magic, and/or Slow?
What do you call someone who likes to pick fights?
How many characters using PHB rules does it take to be able to have access to any PHB spell at the start of an adventuring day?
How do we create new idioms and use them in a novel?
Is it possible to find 2014 distinct positive integers whose sum is divisible by each of them?
Cross out words with overlapping to nearby words
TikZ node in normal textCross referencing tcolorbox with cleveref-packageHow to comment out a particular kind of boxestcolorbox / out of the boxHow to cross out few entries in table?Draw nodes next to arrow without overlapping next arrowDistinguish forward cross-references from backward cross-referencesvarious defined breakable boxes inside breakable box using overlappingAdding more space between words in tcolorboxText after tcolorbox Overlapping with Figure inside wrapfigDraw line with latex
I have figured out how to add a cross over words with tcolorbox
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[thick,red] (frame.south west)--(frame.north east);draw[thick,red] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Here I cross out word accept. However, I want the cross to stretch out a bit, say 1cm, see my illustration.
How can I achieve that?
tcolorbox draw
add a comment |
I have figured out how to add a cross over words with tcolorbox
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[thick,red] (frame.south west)--(frame.north east);draw[thick,red] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Here I cross out word accept. However, I want the cross to stretch out a bit, say 1cm, see my illustration.
How can I achieve that?
tcolorbox draw
Off topic: useverb|line|
instead oftextbackslashline
; useTeX
instead ofTeX
and useverb|pict2e|
instead ofpict2e
.
– JouleV
yesterday
@JouleV thanks, but just copied random text on texoverflow for illustration purpose.
– Gqqnbig
yesterday
add a comment |
I have figured out how to add a cross over words with tcolorbox
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[thick,red] (frame.south west)--(frame.north east);draw[thick,red] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Here I cross out word accept. However, I want the cross to stretch out a bit, say 1cm, see my illustration.
How can I achieve that?
tcolorbox draw
I have figured out how to add a cross over words with tcolorbox
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[thick,red] (frame.south west)--(frame.north east);draw[thick,red] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Here I cross out word accept. However, I want the cross to stretch out a bit, say 1cm, see my illustration.
How can I achieve that?
tcolorbox draw
tcolorbox draw
edited yesterday
JouleV
5,05111239
5,05111239
asked yesterday
GqqnbigGqqnbig
1555
1555
Off topic: useverb|line|
instead oftextbackslashline
; useTeX
instead ofTeX
and useverb|pict2e|
instead ofpict2e
.
– JouleV
yesterday
@JouleV thanks, but just copied random text on texoverflow for illustration purpose.
– Gqqnbig
yesterday
add a comment |
Off topic: useverb|line|
instead oftextbackslashline
; useTeX
instead ofTeX
and useverb|pict2e|
instead ofpict2e
.
– JouleV
yesterday
@JouleV thanks, but just copied random text on texoverflow for illustration purpose.
– Gqqnbig
yesterday
Off topic: use
verb|line|
instead of textbackslashline
; use TeX
instead of TeX
and use verb|pict2e|
instead of pict2e
.– JouleV
yesterday
Off topic: use
verb|line|
instead of textbackslashline
; use TeX
instead of TeX
and use verb|pict2e|
instead of pict2e
.– JouleV
yesterday
@JouleV thanks, but just copied random text on texoverflow for illustration purpose.
– Gqqnbig
yesterday
@JouleV thanks, but just copied random text on texoverflow for illustration purpose.
– Gqqnbig
yesterday
add a comment |
2 Answers
2
active
oldest
votes
You can shorten
your lines.
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
tikzsetcrossout/.style=thick,red,shorten >=-.5cm,shorten <=-.5cm
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[crossout] (frame.south west)--(frame.north east);draw[crossout] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation oftikzset
in the package documentation. Can you explain that? Also what is/.
?
– Gqqnbig
yesterday
@Gqqnbig Which documentation are you reading?tikzset
is defined in thetikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.
– TeXnician
yesterday
add a comment |
An alternative TikZ solution (less elegant than TeXnician's one).
With overlay
you can write over something without occupy space.
I've used shift
to enlarge the lines (you can use shorten
also here, but I haven't used it because TeXnician already did it, hence I would like to show an alternative).
To align TikZ nodes to normal text, see here: TikZ node in normal text.
documentclassarticleusepackagexcolor usepackagetikz
newcommandmycrossed[1]%
tikz[remember picture, baseline=(A.base)]
node[inner sep=0pt](A)#1;
%
tikz[overlay, remember picture]
draw[red, very thick] ([shift=(-.5,.2)]A.north west) -- ([shift=(.5,-.2)]A.south east);
draw[red, very thick] ([shift=(-.5,-.2)]A.south west) -- ([shift=(.5,.2)]A.north east);
%
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
mycrossedaccepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478554%2fcross-out-words-with-overlapping-to-nearby-words%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can shorten
your lines.
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
tikzsetcrossout/.style=thick,red,shorten >=-.5cm,shorten <=-.5cm
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[crossout] (frame.south west)--(frame.north east);draw[crossout] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation oftikzset
in the package documentation. Can you explain that? Also what is/.
?
– Gqqnbig
yesterday
@Gqqnbig Which documentation are you reading?tikzset
is defined in thetikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.
– TeXnician
yesterday
add a comment |
You can shorten
your lines.
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
tikzsetcrossout/.style=thick,red,shorten >=-.5cm,shorten <=-.5cm
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[crossout] (frame.south west)--(frame.north east);draw[crossout] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation oftikzset
in the package documentation. Can you explain that? Also what is/.
?
– Gqqnbig
yesterday
@Gqqnbig Which documentation are you reading?tikzset
is defined in thetikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.
– TeXnician
yesterday
add a comment |
You can shorten
your lines.
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
tikzsetcrossout/.style=thick,red,shorten >=-.5cm,shorten <=-.5cm
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[crossout] (frame.south west)--(frame.north east);draw[crossout] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
You can shorten
your lines.
documentclassarticleusepackagexcolor usepackage[most]tcolorbox
tikzsetcrossout/.style=thick,red,shorten >=-.5cm,shorten <=-.5cm
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
tcbox[tcbox raise base,
breakable,nobeforeafter, enhanced jigsaw, opacityback=0, sharp corners, parbox=false, boxrule=0pt, top=0pt,bottom=0pt,left=0pt,right=0pt, boxsep=0pt, frame hidden, parbox=false,
finish=draw[crossout] (frame.south west)--(frame.north east);draw[crossout] (frame.south east)--(frame.north west);]
accepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
answered yesterday
TeXnicianTeXnician
25.6k63390
25.6k63390
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation oftikzset
in the package documentation. Can you explain that? Also what is/.
?
– Gqqnbig
yesterday
@Gqqnbig Which documentation are you reading?tikzset
is defined in thetikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.
– TeXnician
yesterday
add a comment |
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation oftikzset
in the package documentation. Can you explain that? Also what is/.
?
– Gqqnbig
yesterday
@Gqqnbig Which documentation are you reading?tikzset
is defined in thetikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.
– TeXnician
yesterday
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation of
tikzset
in the package documentation. Can you explain that? Also what is /.
?– Gqqnbig
yesterday
Awesome!! Can you add a bit explanation? I'm new to this package, I didn't find explanation of
tikzset
in the package documentation. Can you explain that? Also what is /.
?– Gqqnbig
yesterday
@Gqqnbig Which documentation are you reading?
tikzset
is defined in the tikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.– TeXnician
yesterday
@Gqqnbig Which documentation are you reading?
tikzset
is defined in the tikz
package which you are using for the overlays (finish
in this case). And a negative shorten just extends one end of the line.– TeXnician
yesterday
add a comment |
An alternative TikZ solution (less elegant than TeXnician's one).
With overlay
you can write over something without occupy space.
I've used shift
to enlarge the lines (you can use shorten
also here, but I haven't used it because TeXnician already did it, hence I would like to show an alternative).
To align TikZ nodes to normal text, see here: TikZ node in normal text.
documentclassarticleusepackagexcolor usepackagetikz
newcommandmycrossed[1]%
tikz[remember picture, baseline=(A.base)]
node[inner sep=0pt](A)#1;
%
tikz[overlay, remember picture]
draw[red, very thick] ([shift=(-.5,.2)]A.north west) -- ([shift=(.5,-.2)]A.south east);
draw[red, very thick] ([shift=(-.5,-.2)]A.south west) -- ([shift=(.5,.2)]A.north east);
%
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
mycrossedaccepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
add a comment |
An alternative TikZ solution (less elegant than TeXnician's one).
With overlay
you can write over something without occupy space.
I've used shift
to enlarge the lines (you can use shorten
also here, but I haven't used it because TeXnician already did it, hence I would like to show an alternative).
To align TikZ nodes to normal text, see here: TikZ node in normal text.
documentclassarticleusepackagexcolor usepackagetikz
newcommandmycrossed[1]%
tikz[remember picture, baseline=(A.base)]
node[inner sep=0pt](A)#1;
%
tikz[overlay, remember picture]
draw[red, very thick] ([shift=(-.5,.2)]A.north west) -- ([shift=(.5,-.2)]A.south east);
draw[red, very thick] ([shift=(-.5,-.2)]A.south west) -- ([shift=(.5,.2)]A.north east);
%
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
mycrossedaccepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
add a comment |
An alternative TikZ solution (less elegant than TeXnician's one).
With overlay
you can write over something without occupy space.
I've used shift
to enlarge the lines (you can use shorten
also here, but I haven't used it because TeXnician already did it, hence I would like to show an alternative).
To align TikZ nodes to normal text, see here: TikZ node in normal text.
documentclassarticleusepackagexcolor usepackagetikz
newcommandmycrossed[1]%
tikz[remember picture, baseline=(A.base)]
node[inner sep=0pt](A)#1;
%
tikz[overlay, remember picture]
draw[red, very thick] ([shift=(-.5,.2)]A.north west) -- ([shift=(.5,-.2)]A.south east);
draw[red, very thick] ([shift=(-.5,-.2)]A.south west) -- ([shift=(.5,.2)]A.north east);
%
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
mycrossedaccepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
An alternative TikZ solution (less elegant than TeXnician's one).
With overlay
you can write over something without occupy space.
I've used shift
to enlarge the lines (you can use shorten
also here, but I haven't used it because TeXnician already did it, hence I would like to show an alternative).
To align TikZ nodes to normal text, see here: TikZ node in normal text.
documentclassarticleusepackagexcolor usepackagetikz
newcommandmycrossed[1]%
tikz[remember picture, baseline=(A.base)]
node[inner sep=0pt](A)#1;
%
tikz[overlay, remember picture]
draw[red, very thick] ([shift=(-.5,.2)]A.north west) -- ([shift=(.5,-.2)]A.south east);
draw[red, very thick] ([shift=(-.5,-.2)]A.south west) -- ([shift=(.5,.2)]A.north east);
%
begindocument
Of course, presenting this solution would be cheating. And, no, it won't work in all cases, due to strict limitations on the pairs
mycrossedaccepted
by textbackslashline. Your professor surely knows that TeX doesn't draw oblique lines. With the standard package pict2e it's easier and it will work in any case.
enddocument
edited yesterday
answered yesterday
CarLaTeXCarLaTeX
33.1k551136
33.1k551136
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478554%2fcross-out-words-with-overlapping-to-nearby-words%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Off topic: use
verb|line|
instead oftextbackslashline
; useTeX
instead ofTeX
and useverb|pict2e|
instead ofpict2e
.– JouleV
yesterday
@JouleV thanks, but just copied random text on texoverflow for illustration purpose.
– Gqqnbig
yesterday