diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty index 43185f35f5d..2b37662cbe5 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-fancybox.sty @@ -17,14 +17,26 @@ %% version 2005/12/01 or later. \begin{warpHTML} \LWR@ProvidesPackagePass{fancybox} -\renewcommand*{\@shadowbox}[1]{\InlineClass{shadowbox}{#1}} +\renewcommand*{\@shadowbox}[1]{% +\ifbool{FormatWP}% +{\InlineClass[border:1px solid black]{shadowbox}{#1}}% +{\InlineClass{shadowbox}{#1}}% +} -\renewcommand*{\@doublebox}[1]{\InlineClass{doublebox}{#1}} +\renewcommand*{\@doublebox}[1]{% +\ifbool{FormatWP}% +{\InlineClass[border:1px double black]{doublebox}{#1}}% +{\InlineClass{doublebox}{#1}}% +} \renewcommand*{\@ovalbox}[2]{% -\ifthenelse{\isequivalentto{#1}{\thinlines}} -{\InlineClass{ovalbox}{#2}} -{\InlineClass{Ovalbox}{#2}} +\ifbool{FormatWP}% +{\InlineClass[border:1px solid black; border-radius:1ex]{ovalbox}{#2}}% +{% + \ifthenelse{\isequivalentto{#1}{\thinlines}}% + {\InlineClass{ovalbox}{#2}}% + {\InlineClass{Ovalbox}{#2}}% +}% } \let\LWR@origSbox\Sbox @@ -38,9 +50,9 @@ \csgpreto{Beqnarray*}{\boolfalse{LWR@numbereqnarray}} \renewcommand{\GenericCaption}[1]{% -\LWR@htmlblocktag{figcaption}% +\LWR@figcaption% #1% -\LWR@htmlblocktag{/figcaption}% +\endLWR@figcaption% } \RenewDocumentEnvironment{Btrivlist}{m o} {\begin{BlockClass}{Btrivlist}\tabular{#1}} |