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 version, but struck out.
I tried using the changes package (deleted around the includegraphics command) which gives an error and also with the sout package, which gives a weird result.
How can strike out a graphics reliable in LaTeX?
documentclass{article}
usepackage{graphics}
begin{document}
begin{figure}
includegraphics{old} \ %strike this figure out, with a diagonal, horizontal or cross lines
includegraphics{new}
caption{description}
end{figure}
end{document}
graphics strikeout
add a comment |
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 version, but struck out.
I tried using the changes package (deleted around the includegraphics command) which gives an error and also with the sout package, which gives a weird result.
How can strike out a graphics reliable in LaTeX?
documentclass{article}
usepackage{graphics}
begin{document}
begin{figure}
includegraphics{old} \ %strike this figure out, with a diagonal, horizontal or cross lines
includegraphics{new}
caption{description}
end{figure}
end{document}
graphics strikeout
add a comment |
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 version, but struck out.
I tried using the changes package (deleted around the includegraphics command) which gives an error and also with the sout package, which gives a weird result.
How can strike out a graphics reliable in LaTeX?
documentclass{article}
usepackage{graphics}
begin{document}
begin{figure}
includegraphics{old} \ %strike this figure out, with a diagonal, horizontal or cross lines
includegraphics{new}
caption{description}
end{figure}
end{document}
graphics strikeout
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 version, but struck out.
I tried using the changes package (deleted around the includegraphics command) which gives an error and also with the sout package, which gives a weird result.
How can strike out a graphics reliable in LaTeX?
documentclass{article}
usepackage{graphics}
begin{document}
begin{figure}
includegraphics{old} \ %strike this figure out, with a diagonal, horizontal or cross lines
includegraphics{new}
caption{description}
end{figure}
end{document}
graphics strikeout
graphics strikeout
asked Dec 8 at 2:31
alfC
7,697551111
7,697551111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You can modify the selected answer to this question to get what you've asked:
documentclass{article}
usepackage{graphicx}
usepackage[many]{tcolorbox}
newtcolorbox{cross}{blank,breakable,parbox=false,
overlay={draw[red,line width=5pt] (interior.south west)--(interior.north east);
draw[red,line width=5pt] (interior.north west)--(interior.south east);}}
begin{document}
begin{cross}
begin{center}
includegraphics[width=2in]{P1.pdf}
end{center}
end{cross}
begin{figure}[h!]
begin{center}
includegraphics[width=2in]{P2.pdf}
end{center}
caption{Use the correct diagram!}
end{figure}
end{document}
The output in Gummi looks like this:

Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)changescould fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)
– alfC
Dec 8 at 3:41
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%2f463763%2fstrike-out-over-graphics%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can modify the selected answer to this question to get what you've asked:
documentclass{article}
usepackage{graphicx}
usepackage[many]{tcolorbox}
newtcolorbox{cross}{blank,breakable,parbox=false,
overlay={draw[red,line width=5pt] (interior.south west)--(interior.north east);
draw[red,line width=5pt] (interior.north west)--(interior.south east);}}
begin{document}
begin{cross}
begin{center}
includegraphics[width=2in]{P1.pdf}
end{center}
end{cross}
begin{figure}[h!]
begin{center}
includegraphics[width=2in]{P2.pdf}
end{center}
caption{Use the correct diagram!}
end{figure}
end{document}
The output in Gummi looks like this:

Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)changescould fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)
– alfC
Dec 8 at 3:41
add a comment |
You can modify the selected answer to this question to get what you've asked:
documentclass{article}
usepackage{graphicx}
usepackage[many]{tcolorbox}
newtcolorbox{cross}{blank,breakable,parbox=false,
overlay={draw[red,line width=5pt] (interior.south west)--(interior.north east);
draw[red,line width=5pt] (interior.north west)--(interior.south east);}}
begin{document}
begin{cross}
begin{center}
includegraphics[width=2in]{P1.pdf}
end{center}
end{cross}
begin{figure}[h!]
begin{center}
includegraphics[width=2in]{P2.pdf}
end{center}
caption{Use the correct diagram!}
end{figure}
end{document}
The output in Gummi looks like this:

Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)changescould fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)
– alfC
Dec 8 at 3:41
add a comment |
You can modify the selected answer to this question to get what you've asked:
documentclass{article}
usepackage{graphicx}
usepackage[many]{tcolorbox}
newtcolorbox{cross}{blank,breakable,parbox=false,
overlay={draw[red,line width=5pt] (interior.south west)--(interior.north east);
draw[red,line width=5pt] (interior.north west)--(interior.south east);}}
begin{document}
begin{cross}
begin{center}
includegraphics[width=2in]{P1.pdf}
end{center}
end{cross}
begin{figure}[h!]
begin{center}
includegraphics[width=2in]{P2.pdf}
end{center}
caption{Use the correct diagram!}
end{figure}
end{document}
The output in Gummi looks like this:

You can modify the selected answer to this question to get what you've asked:
documentclass{article}
usepackage{graphicx}
usepackage[many]{tcolorbox}
newtcolorbox{cross}{blank,breakable,parbox=false,
overlay={draw[red,line width=5pt] (interior.south west)--(interior.north east);
draw[red,line width=5pt] (interior.north west)--(interior.south east);}}
begin{document}
begin{cross}
begin{center}
includegraphics[width=2in]{P1.pdf}
end{center}
end{cross}
begin{figure}[h!]
begin{center}
includegraphics[width=2in]{P2.pdf}
end{center}
caption{Use the correct diagram!}
end{figure}
end{document}
The output in Gummi looks like this:

answered Dec 8 at 3:24
DJP
7,03421629
7,03421629
Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)changescould fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)
– alfC
Dec 8 at 3:41
add a comment |
Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)changescould fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)
– alfC
Dec 8 at 3:41
Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)
changes could fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)– alfC
Dec 8 at 3:41
Thank you. 1) this deserves to be somehow used by one of the strike out packages. 2)
changes could fall back to this when other types of strike out don't work (see comment in tex.stackexchange.com/a/135334/1871)– alfC
Dec 8 at 3:41
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f463763%2fstrike-out-over-graphics%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