Strike out over graphics












0














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}









share|improve this question



























    0














    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}









    share|improve this question

























      0












      0








      0


      1





      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}









      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 8 at 2:31









      alfC

      7,697551111




      7,697551111






















          1 Answer
          1






          active

          oldest

          votes


















          1














          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:
          enter image description here






          share|improve this answer





















          • 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











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          1














          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:
          enter image description here






          share|improve this answer





















          • 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
















          1














          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:
          enter image description here






          share|improve this answer





















          • 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














          1












          1








          1






          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:
          enter image description here






          share|improve this answer












          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:
          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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) 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
















          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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?