开发者

Renaming and resetting Chapter in LaTeX

开发者 https://www.devze.com 2023-01-04 18:02 出处:网络
I have two questions in LaTeX: How to reset the chapter counter to 1 or to set it to any other number?

I have two questions in LaTeX:

  1. How to reset the chapter counter to 1 or to set it to any other number?
  2. How to rename Chapter 1 to Paper A? To rename it to Paper 1, I have this solution:

    \renewcommand\chaptername{Paper}
    

The first chapter then becomes Paper 1. But I can't get to rename 1 to A so as to get Pap开发者_StackOverflow中文版er A.


This is from memory, but for the first:

\setcounter{chapter}{1}

And for the second:

\renewcommand{\chaptername}{Paper}
\renewcommand{\thechapter}{\Alph{chapter}}


For the first:

\setcounter {chapter} {1}

For the second, try using \Alph - this might work:

\setcounter {chapter} {\Alph{1}}

See this.

0

精彩评论

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