Changes package: how to âÂÂdeleteâ a footnote?
Clash 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):
footnotes changes
add a comment |Â
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):
footnotes changes
add a comment |Â
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):
footnotes changes
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):
footnotes changes
footnotes changes
asked Sep 17 at 1:05
dontpanic
36918
36918
add a comment |Â
add a comment |Â
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
:
Output with final
add a comment |Â
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
:
Output with final
add a comment |Â
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
:
Output with final
add a comment |Â
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
:
Output with final
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
:
Output with final
edited Sep 17 at 1:52
answered Sep 17 at 1:43
koleygr
9,9041735
9,9041735
add a comment |Â
add a comment |Â
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
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
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
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
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