LaTex模板的文章,各个章节的标题要根据投稿期刊进行修改。我以前用的是罗马数字,一级标题是大写罗马字体,二级标题是小写的罗马字体,代码如下:
\renewcommand\thesection{\Roman{section}} % Roman numerals for the sections
\renewcommand\thesubsection{\roman{subsection}} % roman numerals for subsections
现在需要改成一级标题和二级标题都是阿拉伯数字,代码如下
\renewcommand\thesection{\arabic{section}} % Roman numerals for the sections
这种情况下,就是1, 2, 2.1, 2.2这种标题了
可以看出,重点在于参数的修改,可选参数如下
\renewcommand\thesection{\arabic{section}}
%arabic 阿拉伯数字
%roman 小写的罗马数字
%Roman 大写的罗马数字
%alph 小写字母
%Alph 大写字母
哈哈,是不是吵架简单呢(这句话是为了凑字数)