summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
index 30e2f04a5c7..fd7083aeb0b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-sidenotes.sty
@@ -61,6 +61,13 @@
\renewenvironment{table*}
{\@dblfloat{table}}
{\end@dblfloat}
+\begin{warpMathJax}
+\providecommand{\sidenotename}{sidenote}
+\appto\LWR@syncnotenumbers{\LWR@synconenotenumber{LWRsidenote}{\thesidenote}}
+\appto\LWR@syncnotenames{\LWR@synconenotename{LWRsidenote}{\sidenotename}}
+\CustomizeMathJax{\def\LWRsidenote{1}}
+\CustomizeMathJax{\newcommand{\sidenotemark}[1][\LWRsidenote]{{}^{\mathrm{#1}}}}
+\end{warpMathJax}
\endinput
%%
%% End of file `lwarp-sidenotes.sty'.