TeX - LaTeX Asked by user877329 on December 30, 2020
What are the font sizes for
chapter
section
subsection
subsubsection
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.
First of all, under an 11pt
document class option, you need to know the different font sizes associated with the font switching commands. Either examine size11.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
):
hugebfseries
= 20.74ptsection
; examine the parameters passed to @startsection
:
Largebfseries
= 14.4ptsubsection
; examine the parameters passed to @startsection
:
largebfseries
= 12ptsubsubsection
; examine the parameters passed to @startsection
:
normalsizebfseries
= 11ptRegular paragraph
parskip
= 0ptnormalsize
= 11ptparskip
= 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.
Correct answer by Werner on December 30, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP