LaTeX技巧75:章节计数器数字样式修改方法

标签:
latex数字计数器章节 |
分类: 小技巧 |
QQ群:91940767/145316219/141877998/80300084/194770436
淘宝店:http://latexstudio.taobao.com
技巧续篇:http://latexstudio.net/
常见数学公式问题集下载
章节样式之一的是数字计数器的样式,如下是一个简单的示例,更多数字的样式如下:
arabic 阿拉伯数字
roman 小写的罗马数字
Roman 大写的罗马数字
alph 小写字母
Alph 大写字母
演示示例:
\documentclass{article}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.0pt}
\renewcommand\thesection{\Alph{section}}
\begin{document}
\section{Different-looking section}
\subsection{Different-looking subsection}
Due to the default definitions not only the
numbers on sections change, but lower-level
sectioning commands also show this
representation of the section number.
\end{document}
效果图: