Every counter in LaTeX has an associated command constructed by prefixing the counter name with `\the', which generates a typeset representation of the counter in question. In case of the sectioning commands this representation form is used to produce the full number associated with the commands, as in the following definitions:
- \renewcommand\thechapter{\arabic{chapter}}
- \renewcommand\thesection{\thechapter.\arabic{section}}
- \renewcommand\thesubsection{thesection.\arabic{subsection}}
- \renewcommand\thesection{\Alph{section}}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น