I'm trying to work with appendix package, but it is a mess...I have too many problems and I didn't find any ready styles. Can someone say where to start with these problems: First: page numbering have to be like:

appendix I
appendix II
appendix III,1
appendix III,2
appendix III,3
appendix IV

Maybe if all the appendix are different files and page numbering can be done like from there.
Second: In table of contents should appendix should look like this:

2 Section..........................3
3 Section text.....................6
          Appendix I: Appendix test
          Appendix II: Appendix two
          Appendix III: Test
          Appendix IV: Hello world

And every Figure and table numbering have to be reset.

Like in the picture, where first you can see the table of contents, where the appendix are at the end. After that there is example of Appendix pages and page numbering. Page number should right corner. I got it almost right with this:

\fancyhead[R]{Appendix \thesection \ifnum\value{page}>0\relax, \thepage\else\fi}

Only problem is, when there is more than one page, then it will not print the first number. enter image description here Is this even possible?

  • can you please add a minimal example of your code? – touhami Mar 21 '16 at 9:15
  • I don't have any yet – pinq- Mar 21 '16 at 9:33

Here's a 'template' does tries to setup the (somewhat) unclear specifications. Problems might occur with hyperref, however.


\usepackage[titletoc,toc]{appendix}  % Adding the name `Appendix` before each toc entry with titletoc and adding a separate line for Appendices with `toc` 



  \caption{My dummy figure in the regular section}


\counterwithin{figure}{section}% Reset the figure counter
\counterwithin{table}{section} % Reset the table counter
%\counterwithin*{page}{section} % Reset the page counter with each appendix section 

\section{First Appendix}
  \caption{My dummy figure in the appendix}
\section{Second Appendix}
\section{Third Appendix}
\section{Fourth Appendix}

enter image description here

  • Not quite, but it help me to get forward. (y) I update the question description. I hope this will describe better what I have to have – pinq- Mar 22 '16 at 8:12
  • @pinq-: This is precisely the reason why you should provide a clear description of the issue/request and just a fragment or 'I want to have this' - statement. Now I can start again :-( – user31729 Mar 22 '16 at 9:39
  • I try to do example in to text, but it wasn't clear enough :/ – pinq- Mar 22 '16 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.