2017-03-12 66 views
0

如何在本地更改\thesection命令? 例如,在所有的章节中,我想要有通常的\thesection,比如 \arabic{chapter}.\arabic{section},但是在一个章节中我宁愿只有\arabic{section}本地更改 latex(乳胶)

回答

0

只需设置

{ 
\chapter{Here happen strange things} 
    \renewcommand{\thesection}{\arabic{section}} 
    \section{Without chapter-number} 
} 

通过包装修改后的章为支撑,在renewcommand只是将这个单章在工作,而不是外块。

如果需要,请不要忘记更改subsectionsubsubsection的编号。

+0

非常感谢,它的作品!我以前认为\ renewcommand只能在\ begin {document} ... \ end {document}之外使用。非常令人惊讶的事情! –