From 91c9b5dc1e480401f79c7ea64bd98754e1eab170 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 21 Feb 2017 23:44:01 +0000 Subject: lwarp (10feb17) git-svn-id: svn://tug.org/texlive/trunk@43292 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/lwarp/lwarp-algorithmicx.sty | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty') diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty new file mode 100644 index 00000000000..290d296caa1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-algorithmicx.sty @@ -0,0 +1,120 @@ +%% +%% This is file `lwarp-algorithmicx.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `algorithmicx') +%% This is a generated file. +%% Copyright 2016 Brian Dunn +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + + + + + + + + + + +\LWR@ProvidesPackagePass{algorithmicx} + +\begin{warpHTML} + +\AtBeginEnvironment{algorithmic}{% +\let\origALG@doentity\ALG@doentity% +\renewcommand*{\ALG@doentity}{% +\origALG@doentity% +\uselengthunit{PT}% +\LWR@htmltagc{% +span style="width:\rndprintlength{\ALG@thistlm}; display:inline-block;"% +}% +\LWR@htmltagc{/span}% +}% +\let\origComment\Comment% +\renewcommand{\Comment}[1]{\InlineClass{floatright}{\origComment{#1}}}% +} + +\end{warpHTML} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +\endinput +%% +%% End of file `lwarp-algorithmicx.sty'. -- cgit v1.2.3