LaTeX下如何改变章节标题编号的样式?

http://tex.stackexchange.com/questions/3177/how-to-change-the-numbering-of-part-chapter-section-to-alphabetical-r/3183#3183

I'm fairly new to LaTeX and I want to know how to change the way sections are numbered by default. I use LyX, and there it is relatively simple to change the way an enumeration is numbered, i.e.

1 foo
 a bar
   i baz

But I want to know if there is a way to do this by default for sections and subsections.

share edit flag
 
 

1 Answer

up vote 48 down vote accepted

You change section numbering by redefining the commands used to generate each section number. For example, the default article class uses something like

\renewcommand\thesection{\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}

with similar commands like \thesubsubsection and so on -- of course, there's also \thechapter (in the book and report class) and \thepart. Commands to typeset numbers include:

  • \arabic (1, 2, 3, ...)
  • \alph (a, b, c, ...)
  • \Alph (A, B, C, ...)
  • \roman (i, ii, iii, ...)
  • \Roman (I, II, III, ...)
  • \fnsymbol (∗, †, ‡, §, ¶, ...)
share edit flag
 
4
 
If you have any more expertise or examples to add to this answer, I think this would be a good question to serve as a "canonical" question with a widely applicable and extensive answer. I suppose widening the scope of the question a bit would be acceptable as well, even though it's pretty open already. I might come back to this question when I have some time and look into it. The 2.5k views are promising for sure. –   doncherry  Sep 30 '12 at 0:53

  • 2
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值