2

I have a multi-volume work, and the several appendices are distributed across each volume. For example, Appendices A through D are at the end of Volume 1 as they relate to the subject matter therein, E through H at the end of Volume 2 for the same reason, etc.

I have opted to create each volume as its own LaTex file. How would I go about setting the appendix counter on the subsequent documents (Vol. 2+) to maintain this alphabetical labelling and but not have multiple Appendix As, Bs, etc.?

I am using the latest version of TexStudio.

1
  • 1
    Maybe \appendix \setcounter{chapter}{4} ?
    – Ivan
    Commented Mar 3, 2021 at 14:55

1 Answer 1

3

You can set the counter for chapters to the number of appendices up to that point in every volume.

Volume One:

\documentclass{book}
\usepackage{blindtext}

\begin{document}
    \tableofcontents
    
    \blinddocument
    
    \appendix
    
    \chapter{Appendix a}
    \chapter{Appendix b}
    \chapter{Appendix c}
\end{document}

enter image description here

Volume Two:

\documentclass{book}
\usepackage{blindtext}

\begin{document}
    \tableofcontents
    
    \blinddocument
    
    \appendix
    \setcounter{chapter}{3}
    
    \chapter{Appendix d}
    \chapter{Appendix e}
    \chapter{Appendix f}
\end{document}

enter image description here

\setcounter{chapter}{6} for volume Three, and so on

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .