| 1 |
% awesomebox.4ht (2020-12-13-11:14), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 2020 TeX Users Group |
| 3 |
% |
| 4 |
% This work may be distributed and/or modified under the |
| 5 |
% conditions of the LaTeX Project Public License, either |
| 6 |
% version 1.3c of this license or (at your option) any |
| 7 |
% later version. The latest version of this license is in |
| 8 |
% http://www.latex-project.org/lppl.txt |
| 9 |
% and version 1.3c or later is part of all distributions |
| 10 |
% of LaTeX version 2005/12/01 or later. |
| 11 |
% |
| 12 |
% This work has the LPPL maintenance status "maintained". |
| 13 |
% |
| 14 |
% The Current Maintainer of this work |
| 15 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 16 |
% |
| 17 |
% If you modify this program, changing the |
| 18 |
% version identification would be appreciated. |
| 19 |
\immediate\write-1{version 2020-12-13-11:14} |
| 20 |
|
| 21 |
\NewConfigure{awesomebox}{3} |
| 22 |
\newcounter{awesomebox:cnt} |
| 23 |
\RenewDocumentCommand \awesomebox { O{abvrulecolor} O{} o m m m +m }{% |
| 24 |
\stepcounter{awesomebox:cnt}% |
| 25 |
\def\awesomebox@id{awesomebox-\arabic{awesomebox:cnt}}% |
| 26 |
\extractcolorspec{#1}{\awesomebox@rule@color}% |
| 27 |
\expandafter\convertcolorspec\awesomebox@rule@color{HTML}\awesomebox@rule@color% |
| 28 |
\a:awesomebox% |
| 29 |
\IfValueTF {#3}% |
| 30 |
{ #3 \\ #2 \textcolor{#6}{\Huge#5}\b:awesomebox #7 #2}% |
| 31 |
{ #2 \textcolor{#6}{\Huge#5}\b:awesomebox #7 #2}% |
| 32 |
\c:awesomebox% |
| 33 |
} |
| 34 |
|
| 35 |
|
| 36 |
\Hinput{awesomebox} |
| 37 |
\endinput |
| 38 |
|