diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty index b97bf664009..bec0e85c1fe 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty @@ -58,6 +58,18 @@ \crefname{parnotemark}{paragraph note}{paragraph notes}% \Crefname{parnotemark}{Paragraph note}{Paragraph notes} } +\begin{warpMathJax} +\providecommand{\parnotename}{parnote} +\appto\LWR@syncnotenumbers{% + \addtocounter{parnotemark}{-1}% specific to parnotes + \LWR@synconenotenumber{LWRparnote}{\theparnotemark}% + \addtocounter{parnotemark}{1}% specific to parnotes +} +\appto\LWR@syncnotenames{\LWR@synconenotename{LWRparnote}{\parnotename}} +\CustomizeMathJax{\def\LWRparnote{1}} +\CustomizeMathJax{\newcommand{\parnote}[2][\LWRparnote]{{}^{\mathrm{#1}}}} +\CustomizeMathJax{\newcommand{\parnotemark}[1][\LWRparnote]{{}^{\mathrm{#1}}}} +\end{warpMathJax} \endinput %% %% End of file `lwarp-parnotes.sty'. |