开发者

Alphabetical ToC counter

开发者 https://www.devze.com 2023-01-17 13:20 出处:网络
How do I change the counter in ToC to letters (A, 开发者_StackOverflow社区B, C)? To illustrate: from

How do I change the counter in ToC to letters (A, 开发者_StackOverflow社区B, C)?

To illustrate:

from

1. Section
2. Section
3. Section

to

A. Section
B. Section
C. Section

Thanks


You want something like this, before you call \tableofcontents

\renewcommand{\thechapter} {\Alph{chapter}}

That says for chapter numbering use Alph(abetic) symbols for representing the chapter counter. You'll need to find the right counter if you want to change more than just chapter headings, (\thesection is for sections for example.)

0

精彩评论

暂无评论...
验证码 换一张
取 消