[tex4ht-commits] [SCM] tex4ht updated: r1641 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Feb 13 16:38:33 CET 2025
Author: michal_h21
Date: 2025-02-13 15:38:33 +0000 (Thu, 13 Feb 2025)
New Revision: 1641
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
Log:
improved css for subfigures
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2025-02-13 13:33:56 UTC (rev 1640)
+++ trunk/lit/ChangeLog 2025-02-13 15:38:33 UTC (rev 1641)
@@ -1,6 +1,7 @@
2025-02-13 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): align captions to the center.
+ Improved CSS for subfigures.
https://tex.stackexchange.com/q/737060/2891
2025-02-12 Michal Hoftich <michal.h21 at gmail.com>
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2025-02-13 13:33:56 UTC (rev 1640)
+++ trunk/lit/tex4ht-html4.tex 2025-02-13 15:38:33 UTC (rev 1641)
@@ -4752,7 +4752,7 @@
\cur:th\:currentlabel\space-->}%
}
\Css{div.caption {text-indent:-2em; margin-left:3em; margin-right:1em;
- text-align:center;}}
+ text-align:center; margin-top: 0.5rem;}}
\Css{div.caption span.id{font-weight: bold; white-space: nowrap; }}
>>>
@@ -5718,7 +5718,7 @@
{\HCode{</span></div>}}%
}%
{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}%
-\Css{div.subfigure {text-align:center;display:inline-block; max-width:45\%;}}
+\Css{div.subfigure {text-align:center;display:inline-block; max-width:45\%; margin-right: 2rem;}}
>>>
%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.