简体   繁体   中英

Renaming and resetting Chapter in LaTeX

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 Paper 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM