| 1 |
%% |
| 2 |
%% This is file `lwarp-algorithmicx.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% lwarp.dtx (with options: `algorithmicx') |
| 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{algorithmicx}[2005/04/27] |
| 19 |
\AtBeginEnvironment{algorithmic}{% |
| 20 |
\let\origALG@doentity\ALG@doentity% |
| 21 |
\renewcommand*{\ALG@doentity}{% |
| 22 |
\origALG@doentity% |
| 23 |
\LWR@htmltagc{% |
| 24 |
span style=\textquotedbl{}% |
| 25 |
width:\LWR@printlength{\ALG@thistlm}; display:inline-block;% |
| 26 |
\textquotedbl% |
| 27 |
}% |
| 28 |
\ifbool{FormatWP}{% |
| 29 |
\setlength{\LWR@templengthone}{\the\ALG@thistlm}% |
| 30 |
\whiledo{\lengthtest{\LWR@templengthone>1em}}{% |
| 31 |
\quad% |
| 32 |
\addtolength{\LWR@templengthone}{-1em}% |
| 33 |
}% |
| 34 |
}{}% |
| 35 |
\LWR@htmltagc{/span}% |
| 36 |
}% |
| 37 |
|
| 38 |
\let\LWR@origComment\Comment% |
| 39 |
|
| 40 |
\renewcommand{\Comment}[1]{% |
| 41 |
\InlineClass{floatright}{\LWR@origComment{#1}}% |
| 42 |
}% |
| 43 |
} |
| 44 |
|
| 45 |
\renewcommand\algorithmiccomment[1]{% |
| 46 |
\hfill\HTMLunicode{25B7} #1% white right triangle |
| 47 |
}% |
| 48 |
|
| 49 |
|
| 50 |
\endinput |
| 51 |
%% |
| 52 |
%% End of file `lwarp-algorithmicx.sty'. |