From: Jim Huang Date: Tue, 24 Aug 2021 11:00:17 +0000 (+0800) Subject: Get rid of the initial 0 that shows up in every (sub)section X-Git-Tag: latest~129 X-Git-Url: https://www.ivnss.com/gitweb/?a=commitdiff_plain;h=ecfe9606de4ce05301221d45791c88aee19ccf14;p=lkmpg 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. --- diff --git a/lkmpg.tex b/lkmpg.tex index a1a41de..99118e2 100644 --- a/lkmpg.tex +++ b/lkmpg.tex @@ -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}