This article is a sub-question of: Cross-referencing on 2 kinds of end-footnotes (separated and with different coloured numbers)
Hi,
I am trying to adapt a package called parnotes (which can be called using \usepackage{parnotes}. Its original source code can be downloaded at CTAN here.
The line of code I want to "adapt" (i.e. change when implemented in another .tex-document) lives inside the following piece:
\long\def\PN@parnote@real#1{
\global\advance\c@PN@t\@ne
\g@addto@macro\PN@text{
\global\advance\c@PN@n\@ne
\parnotemarkfmt{PN@n}\nolinebreak\thinspace#1
\unless\ifnum\c@PN@n=\c@PN@t
\parnoteintercmd
\fi
}
\unskip\parnotemarkfmt{PN@t}
}
The only line I want to be change is the last one. I would like it to become:
\unskip\textsuperscript{\parnotemarkfmt{PN@t}}
I know when this change performs perfect (I tweaked the downloadable source code at CTAN), but I would like to ask you for help, since I don't know how to change this line of code from outside (i.e. from a new .tex-file).
I would think (since I was able to adapt another line of code of the source this way) one would use in the preamble of a new .tex-document:
\makeatletter
\renewcommand{...???...}
\makeatother
Or perhaps someone knows an alternative way using \let ...?
Many thanks in advance.



\parnotemarkfmtalready has\textsuperscript. Why would you want to add another level of superscripting? – egreg Dec 21 '14 at 21:30The hyperendnotes package can be found here and can be included by addding
\input{hyperendnotes.sty}to the preamble.These hyperendnotes-numbers have a different look then normal endnotes (they are larger, but only below
– O0123 Dec 21 '14 at 22:40\theendnotes; not in the "body"-text, where any footnote-number is first mentioned). Hence displacing the\textsuperscript. I will show a MWE below your answer.