Get rid of the initial 0 that shows up in every (sub)section

Every section and subsection number can be eliminated by adding the
renewcommand.

Suggested by Lars Engebretsen.
This commit is contained in:
Jim Huang 2021-08-24 19:00:17 +08:00
parent 9d39f658c7
commit ecfe9606de

View File

@ -36,6 +36,9 @@
\input{lib/codeblock}
\input{lib/kernelsrc}
% FIXME: classify with chapters instead of sections
\renewcommand{\thesection}{\arabic{section}}
\author{Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram, Jim Huang}
\date{\today}
\title{The Linux Kernel Module Programming Guide}