What are the font sizes for
\chapter
\section
\subsection
\subsubsection
- and paragraphs
when using the report,11pt
document class? Also, what is the padding before and after each header level. I want to write a css file that to some extent emulates LaTeX look and feel.
Best Answer
First of all, under an
11pt
document class option, you need to know the different font sizes associated with the font switching commands. Either examinesize11.clo
, or see What point (pt) font size are\Large
etc.?The rest can be taken directly from
report.cls
:\chapter
; examine\@makechapterhead
(or the starred equivalent\@makeschapterhead
):\huge\bfseries
= 20.74pt\section
; examine the parameters passed to\@startsection
:\Large\bfseries
= 14.4pt\subsection
; examine the parameters passed to\@startsection
:\large\bfseries
= 12pt\subsubsection
; examine the parameters passed to\@startsection
:\normalsize\bfseries
= 11ptRegular paragraph
\parskip
= 0pt\normalsize
= 11pt\parskip
= 0ptLaTeX does provide
\paragraph
and\subparagraph
headings, but they are rarely used.Note that LaTeX's headings have some rubber lengths built in, meaning the length may vary slightly, depending on the actual page content. However, this is of no concern for websites.