Sun Jan 1 18:28:48 2023, original submission:
Reference and screen shot at
https://tex.stackexchange.com/questions/670328/inconsistent-font-sizes-used-for-subsubsection-paragraph-titles-in-tex4ht-how-t
I noticed in tex4ht that the size of the font used for the paragraph title is the same as that of the section title (i.e. too large) and the size of the font for the subsubsection is smaller than that used for the paragraph, which it should be larger or at least the same size.
This makes looking at titles confusing as font size gives indication of order.
The font size should decrease all the way from chapter to paragraph. Now it decreases but then starts to increase once it reaches paragraph.
in PDF, it is consistent, as the sizes decrease correctly from chapter to paragraph. Screen shots below
MWE
----------------------
\begin{document}
\title{my book title}
\author{me}
\date{\today}
\maketitle
\part{first part}
\chapter{first chapter}
\section{first section}
\subsection{first subsection}
\subsubsection{first subsubsection}
\paragraph{first paragraph}
\end{document}
-----------------------
Compiled using
make4ht -ulm default -a debug foo.tex 'mathjax,htm'
Gives
enter image description here
Compare to the pdf where the sizes decreases uniformly (but hard to see if font used for paragraph is smaller or same as subsubsection, but at least it is not larger like with the HTML)
enter image description here
Question is: How to make the size of the font used for paragraph title with tex4ht not be larger than subsubsection? Is there a way to control these settings?
TL 2022
|