diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-25 21:11:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-25 21:11:36 +0000 |
commit | 019026f69bab4296c0d65e507b13b3904b866382 (patch) | |
tree | abed3bd3b078534234d42938579bca78e906b0ad /Master/texmf-dist/tex/latex/lwarp/lwarp-parnotes.sty | |
parent | ed06debf5f768921e0fe0fd466866d881c2d4ea6 (diff) |
lwarp (25mar20)
git-svn-id: svn://tug.org/texlive/trunk@54546 c570f23f-e606-0410-a88d-b1316a301751
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'. |