| 1 |
%% |
| 2 |
%% This is file `lwarp-realscripts.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `realscripts') |
| 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@ProvidesPackagePass{realscripts}[2016/02/13] |
| 19 |
\ExplSyntaxOn |
| 20 |
|
| 21 |
\DeclareDocumentCommand \LWR@HTML@realsubscript {m} { |
| 22 |
\LWR@HTML@textsubscript{#1} |
| 23 |
} |
| 24 |
|
| 25 |
\LWR@formatted{realsubscript} |
| 26 |
|
| 27 |
\DeclareDocumentCommand \LWR@HTML@realsuperscript {m} { |
| 28 |
\LWR@HTML@textsuperscript{#1} |
| 29 |
} |
| 30 |
|
| 31 |
\LWR@formatted{realsuperscript} |
| 32 |
|
| 33 |
\ExplSyntaxOff |
| 34 |
|
| 35 |
\newcommand*{\LWR@realscriptsalign}{} |
| 36 |
|
| 37 |
\newcommand*{\LWR@setrealscriptsalign}[1]{% |
| 38 |
\renewcommand*{\LWR@realscriptsalign}{}% |
| 39 |
\ifthenelse{\equal{#1}{c}}{% |
| 40 |
\renewcommand{\LWR@realscriptsalign}{% |
| 41 |
\LWR@print@mbox{text-align:center} ; % |
| 42 |
}% |
| 43 |
}{}% |
| 44 |
\ifthenelse{\equal{#1}{r}}{% |
| 45 |
\renewcommand{\LWR@realscriptsalign}{% |
| 46 |
\LWR@print@mbox{text-align:right} ; % |
| 47 |
}% |
| 48 |
}{}% |
| 49 |
} |
| 50 |
|
| 51 |
\DeclareDocumentCommand \LWR@HTML@textsubsuperscript {s O{l} mm} {% |
| 52 |
\LWR@setrealscriptsalign{#2}% |
| 53 |
\InlineClass[\LWR@realscriptsalign]{supsubscript}{% |
| 54 |
\textsuperscript{#4}\textsubscript{#3}% |
| 55 |
}% |
| 56 |
} |
| 57 |
\LWR@formatted{textsubsuperscript} |
| 58 |
|
| 59 |
\FilenameNullify{% |
| 60 |
\RenewDocumentCommand{\textsuperscript}{s m}{}% |
| 61 |
\RenewDocumentCommand{\textsubscript}{s m}{}% |
| 62 |
\renewcommand{\fakesubscript}[1]{}% |
| 63 |
\renewcommand{\fakesuperscript}[1]{}% |
| 64 |
\renewcommand{\realsubscript}[1]{}% |
| 65 |
\renewcommand{\realsuperscript}[1]{}% |
| 66 |
\renewcommand{\textsubsuperscript}[2]{}% |
| 67 |
\renewcommand{\textsupersubscript}[2]{}% |
| 68 |
} |
| 69 |
|
| 70 |
\endinput |
| 71 |
%% |
| 72 |
%% End of file `lwarp-realscripts.sty'. |