| 1 |
%% |
| 2 |
%% This is file `lwarp-marginnote.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `marginnote') |
| 8 |
%% This is a generated file. |
| 9 |
%% Copyright 2016-2026 Brian Dunn |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% http://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 17 |
%% version 2005/12/01 or later. |
| 18 |
\LWR@ProvidesPackageDrop{marginnote}[2018/08/09] |
| 19 |
\NewDocumentCommand{\marginnote}{+o +m o}{\marginpar{#2}} |
| 20 |
\newcommand*{\marginnoteleftadjust}{} |
| 21 |
\newcommand*{\marginnoterightadjust}{} |
| 22 |
\newcommand*{\marginnotetextwidth}{} |
| 23 |
\let\marginnotetextwidth\textwidth |
| 24 |
\newcommand*{\marginnotevadjust}{} |
| 25 |
\newcommand*{\marginfont}{} |
| 26 |
\newcommand*{\raggedleftmarginnote}{} |
| 27 |
\newcommand*{\raggedrightmarginnote}{} |
| 28 |
\appto\LWR@restoreorigformatting{% |
| 29 |
\RenewDocumentCommand{\marginnote}{+o +m o}{} |
| 30 |
} |
| 31 |
\begin{warpMathJax} |
| 32 |
\CustomizeMathJax{\newcommand{\LWRmarginnote}[1][]{}} |
| 33 |
\CustomizeMathJax{\newcommand{\marginnote}[2][]{\qquad{\small\textrm{#2}}\LWRmarginnote}} |
| 34 |
\end{warpMathJax} |
| 35 |
|
| 36 |
\endinput |
| 37 |
%% |
| 38 |
%% End of file `lwarp-marginnote.sty'. |