I'm using Scientific Word 2.5 as a frontend for LaTeX (Win 3.11)
I have placed an \appendix after my second \chapter{} but, after the
appendices, would like to be able to return to regular chapter headings,
a la:
Chapter 1
Chapter 2
Appendix A
Appendix B
Chapter 3
I am currently getting:
Chapter 1
Chapter 2
Appendix A
Appendix B
Appendix C
Does one use appendix.sty to get around this?
Thanks!
Colin Rowat
King's College
Cambridge tel: +44 (0)468 056 984
CB2 1ST UK fax: +44 (0)1223 335 219
p.s. I'd appreciate replies directly to this address as I don't check
this list frequently.
>I have placed an \appendix after my second \chapter{} but, after the
>appendices, would like to be able to return to regular chapter headings,
>a la:
Normally the \appendix is only used at the end of the document and
therefor there will be no problems with the seciton-numbering.
Maybe you can try \end{appendix} and will so return to the first
sectioning of your document.
R. Feismann
Yes, but you will have to do a bit of work yourself to get the
chapter numbering correctly.
1) Use the appendices environment from the appendix package
2) In your preamble define a new counter (e.g. \newcounter{savechap})
3) Taking your example above, do it as:
\chapter{One}
\chapter{Two}
\setcounter{savechap}{\value{chapter}}
\begin{appendices}
\chapter{An appendix}
\chapter{Another}
\end{appendices}
\setcounter{chapter}{\value{savechap}}
\chapter{Three}
Basically, the \appendix command redefines the \chapter command and
sets the chapter number back to zero, and the appendices environment
does something similar. You then have to save the chapter number before
it gets reset to zero and after your appndix(es) reset the chapter
number back to what it was before going into appendix mode.
Peter W.
peter.r...@boeing.com
the grouping afforded by \begin{appendix} ... \end{appendix} will
allow restoration of the chapter name, but not of the chapter number.
that, you would have to restore manually:
\newcounter{savechap}
...
\setcounter{savechap}{\value{chapter}}
\begin{appendix}
\chapter{appendix A}
...
\end{appendix}
\setcounter{chapter}{\value{savechap}}
if you have several such blocks of appendices, you probably ought to
preserve the where the chapter number gets to inside the appendix
`environment', and restore it at the start of the environment, in a
similar fashion.
--
Robin Fairbairns, Cambridge
Peter W.
peter.r...@boeing.com