Ver código fonte

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.
Jim Huang 3 anos atrás
pai
commit
ecfe9606de
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      lkmpg.tex

+ 3 - 0
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}