I am unable to compile a \footnote{} inside an \added{} command. Doing the opposite (the \added{} inside the \footnote{}) does compile but doesn't produce the desired output, as I'd like that the footnote number is highlighted too to signal its addition to the text. How can I achieve this?
Thanks, Jorge.
Error I get tryng to compile \footnote{} inside an \added{}:
! Use of \@xfootnote doesn't match its definition.
\@ifnextchar ...eserved@d =#1\def \reserved@a {#2}
\def \reserved@b {#3}\futu...
l.20 ...ootnote\added{\footnote{With added text.}}
.
Example:
\documentclass{article}
\usepackage[paperheight=4cm,paperwidth=8cm,margin=0.5cm]{geometry}
\usepackage{changes}
\begin{document}
% This compiles, but doesn't yield the desired output:
Let's try adding a footnote\footnote{\added{With added text.}}.
% This doesn't compile:
%Let's try adding a footnote\added{\footnote{With added text.}}.
\end{document}
Result (undesired -- need footnote number also highlighted!):
