[tex4ht] [bug #592] inconsistent font sizes used for subsubsection/paragraph titles in tex4ht. How to fix?

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Sun Jan 1 19:28:48 CET 2023


                 Summary: inconsistent font sizes used for
subsubsection/paragraph titles in tex4ht. How to fix?
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sun Jan  1 18:28:48 2023
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



Reference and screen shot at


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

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


\title{my book title}

\part{first part}
\chapter{first chapter}
\section{first section}
\subsection{first subsection}
\subsubsection{first subsubsection}
\paragraph{first paragraph}


Compiled using

make4ht -ulm default -a debug  foo.tex 'mathjax,htm'


          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

TL 2022


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list.