Changes package: how to “delete” a footnote?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I am again facing an issue with the changes package regarding footnotes: is it possible to somehow use it to mark the deletion of a footnote? If I use the code below, the final version still features the footnote. How can I get rid of it, while still being able to highlight its deletion (in the non-final version)?
Thanks, Jorge.



Example:



documentclassarticle
usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry

usepackagechanges
%usepackage[final]changes

begindocument

% This compiles, but doesn't yield the desired output:
Let's try deleting a footnotefootnotedeletedWhich had some text..

% This doesn't compile:
%Let's try deleting a footnotedeletedfootnoteWhich had some text..

enddocument


Output (non-final left; final right):
enter image description here










share|improve this question

























    up vote
    2
    down vote

    favorite












    I am again facing an issue with the changes package regarding footnotes: is it possible to somehow use it to mark the deletion of a footnote? If I use the code below, the final version still features the footnote. How can I get rid of it, while still being able to highlight its deletion (in the non-final version)?
    Thanks, Jorge.



    Example:



    documentclassarticle
    usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry

    usepackagechanges
    %usepackage[final]changes

    begindocument

    % This compiles, but doesn't yield the desired output:
    Let's try deleting a footnotefootnotedeletedWhich had some text..

    % This doesn't compile:
    %Let's try deleting a footnotedeletedfootnoteWhich had some text..

    enddocument


    Output (non-final left; final right):
    enter image description here










    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am again facing an issue with the changes package regarding footnotes: is it possible to somehow use it to mark the deletion of a footnote? If I use the code below, the final version still features the footnote. How can I get rid of it, while still being able to highlight its deletion (in the non-final version)?
      Thanks, Jorge.



      Example:



      documentclassarticle
      usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry

      usepackagechanges
      %usepackage[final]changes

      begindocument

      % This compiles, but doesn't yield the desired output:
      Let's try deleting a footnotefootnotedeletedWhich had some text..

      % This doesn't compile:
      %Let's try deleting a footnotedeletedfootnoteWhich had some text..

      enddocument


      Output (non-final left; final right):
      enter image description here










      share|improve this question













      I am again facing an issue with the changes package regarding footnotes: is it possible to somehow use it to mark the deletion of a footnote? If I use the code below, the final version still features the footnote. How can I get rid of it, while still being able to highlight its deletion (in the non-final version)?
      Thanks, Jorge.



      Example:



      documentclassarticle
      usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry

      usepackagechanges
      %usepackage[final]changes

      begindocument

      % This compiles, but doesn't yield the desired output:
      Let's try deleting a footnotefootnotedeletedWhich had some text..

      % This doesn't compile:
      %Let's try deleting a footnotedeletedfootnoteWhich had some text..

      enddocument


      Output (non-final left; final right):
      enter image description here







      footnotes changes






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      dontpanic

      3698




      3698




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          You have the deleted command inside the command footnote. But this way the footnote will remain there and will be empty after selecting filal option of changes.



          The (boolean) variable that shows if the version is draft is named Changes@optiondraft and also the package ifthen is loaded.



          So, my idea is to define a command deletedfootnote and when you want to delete a whole footnote, add deleted word before the footnote of the command footnote
          like this deletedfootnote



          The code is here:



          documentclassarticle
          usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry
          usepackagechanges
          %usepackage[final]changes



          makeatletter
          newcommanddeletedfootnote[1]%
          ifthenelsebooleanChanges@optiondraft
          footnotedeleted#1

          makeatother

          begindocument

          % This compiles, but doesn't yield the desired output:
          Let's try deleting a footnotedeletedfootnoteWhich had some text..

          % This doesn't compile:
          %Let's try deleting a footnotedeletedfootnoteWhich had some text..

          enddocument


          Output with draft:



          enter image description here



          Output with final



          enter image description here






          share|improve this answer






















            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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%2f451179%2fchanges-package-how-to-delete-a-footnote%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            You have the deleted command inside the command footnote. But this way the footnote will remain there and will be empty after selecting filal option of changes.



            The (boolean) variable that shows if the version is draft is named Changes@optiondraft and also the package ifthen is loaded.



            So, my idea is to define a command deletedfootnote and when you want to delete a whole footnote, add deleted word before the footnote of the command footnote
            like this deletedfootnote



            The code is here:



            documentclassarticle
            usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry
            usepackagechanges
            %usepackage[final]changes



            makeatletter
            newcommanddeletedfootnote[1]%
            ifthenelsebooleanChanges@optiondraft
            footnotedeleted#1

            makeatother

            begindocument

            % This compiles, but doesn't yield the desired output:
            Let's try deleting a footnotedeletedfootnoteWhich had some text..

            % This doesn't compile:
            %Let's try deleting a footnotedeletedfootnoteWhich had some text..

            enddocument


            Output with draft:



            enter image description here



            Output with final



            enter image description here






            share|improve this answer


























              up vote
              2
              down vote













              You have the deleted command inside the command footnote. But this way the footnote will remain there and will be empty after selecting filal option of changes.



              The (boolean) variable that shows if the version is draft is named Changes@optiondraft and also the package ifthen is loaded.



              So, my idea is to define a command deletedfootnote and when you want to delete a whole footnote, add deleted word before the footnote of the command footnote
              like this deletedfootnote



              The code is here:



              documentclassarticle
              usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry
              usepackagechanges
              %usepackage[final]changes



              makeatletter
              newcommanddeletedfootnote[1]%
              ifthenelsebooleanChanges@optiondraft
              footnotedeleted#1

              makeatother

              begindocument

              % This compiles, but doesn't yield the desired output:
              Let's try deleting a footnotedeletedfootnoteWhich had some text..

              % This doesn't compile:
              %Let's try deleting a footnotedeletedfootnoteWhich had some text..

              enddocument


              Output with draft:



              enter image description here



              Output with final



              enter image description here






              share|improve this answer
























                up vote
                2
                down vote










                up vote
                2
                down vote









                You have the deleted command inside the command footnote. But this way the footnote will remain there and will be empty after selecting filal option of changes.



                The (boolean) variable that shows if the version is draft is named Changes@optiondraft and also the package ifthen is loaded.



                So, my idea is to define a command deletedfootnote and when you want to delete a whole footnote, add deleted word before the footnote of the command footnote
                like this deletedfootnote



                The code is here:



                documentclassarticle
                usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry
                usepackagechanges
                %usepackage[final]changes



                makeatletter
                newcommanddeletedfootnote[1]%
                ifthenelsebooleanChanges@optiondraft
                footnotedeleted#1

                makeatother

                begindocument

                % This compiles, but doesn't yield the desired output:
                Let's try deleting a footnotedeletedfootnoteWhich had some text..

                % This doesn't compile:
                %Let's try deleting a footnotedeletedfootnoteWhich had some text..

                enddocument


                Output with draft:



                enter image description here



                Output with final



                enter image description here






                share|improve this answer














                You have the deleted command inside the command footnote. But this way the footnote will remain there and will be empty after selecting filal option of changes.



                The (boolean) variable that shows if the version is draft is named Changes@optiondraft and also the package ifthen is loaded.



                So, my idea is to define a command deletedfootnote and when you want to delete a whole footnote, add deleted word before the footnote of the command footnote
                like this deletedfootnote



                The code is here:



                documentclassarticle
                usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]geometry
                usepackagechanges
                %usepackage[final]changes



                makeatletter
                newcommanddeletedfootnote[1]%
                ifthenelsebooleanChanges@optiondraft
                footnotedeleted#1

                makeatother

                begindocument

                % This compiles, but doesn't yield the desired output:
                Let's try deleting a footnotedeletedfootnoteWhich had some text..

                % This doesn't compile:
                %Let's try deleting a footnotedeletedfootnoteWhich had some text..

                enddocument


                Output with draft:



                enter image description here



                Output with final



                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 2 hours ago

























                answered 2 hours ago









                koleygr

                9,6801634




                9,6801634



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f451179%2fchanges-package-how-to-delete-a-footnote%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                    Confectionery