diff options
author | Karl Berry <karl@freefriends.org> | 2024-05-13 20:24:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-05-13 20:24:05 +0000 |
commit | 507bc06d503d56726884c3ef095c69284de99897 (patch) | |
tree | aedc1386b54f9dc7eca6d8edbb5190e56ec9e7c5 /Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | |
parent | df3cefab931060783556a007d15095f7d4f70e23 (diff) |
lettrine keys, tex4ht r1518
git-svn-id: svn://tug.org/texlive/trunk@71257 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 4c591c9b373..6f3e1402a4e 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1516 2024-05-09 13:28:51Z michal_h21 $ +% $Id: tex4ht-html4.tex 1518 2024-05-13 20:19:03Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -15872,6 +15872,51 @@ IE doesn't distinguish between upper and lower case characters in css >>> +\section{lettrine.sty} + +\<configure html4 lettrine\><<< +% +% a: before lettrine +% b: after lettrine +% c: before letter +% d: between letter and string +% e: after string +% f: before ante +% g: after ante +% +\Configure{lettrine} + {\HCode{<span class="lettrine">}} + {\HCode{</span>}} +% + {\HCode{<span class="lettrine-letter">}} + {\HCode{</span><span class="lettrine-line">}} + {\HCode{</span>}} +% + {\HCode{<span class="lettrine-ante">}} + {\HCode{</span>}} + +\Configure{lettrinechar}{\HCode{<span class="lettrine-\HlettrineChar">}}{\HCode{</span>}} +% +% Define default Css +% +\Css{.lettrine{float: left; + line-height: 0.7; margin-left: -0.1em; + margin-bottom: -.5em; margin-right: 0.2em; + }} +\Css{.lettrine-ante{vertical-align: top;}} +\Css{.lettrine-letter{font-style: normal; + font-size: 4em; color: gray;}} +% +\Css{.lettrine-A{margin-right: 0em;}} +\Css{.lettrine-A + .lettrine-line{margin-left: -0.4em;}} +\Css{.lettrine-J{line-height: 0.9; margin-right: 0;}} +\Css{.lettrine-H, .lettrine-I, .lettrine-N, .lettrine-U{margin-right: 0;}} +\Css{.lettrine-V{margin-right: -0.0em;}} +\Css{.lettrine-V + .lettrine-line{margin-left: 0.3em;}} +\Css{.lettrine-Q{line-height: 0.9;padding-bottom: 1em;margin-top: -0.6em;}} +\Css{.lettrine-line{font-variant: small-caps;}} +>>> + %%%%%%%%%%%%%%%%%% \section{gmatrix.sty} |