Posts

Showing posts with the label Appendices

Change Figure Numbering For Appendix

Image
Answer : Redefine \thefigure when your appendices start, and set the figure counter to zero at the beginning of each appendix. \documentclass{article} \begin{document} \begin{figure} \centering\rule{1cm}{1cm} \caption{This is a figure} \end{figure} \appendix \renewcommand\thefigure{\thesection.\arabic{figure}} \section{A nice appendix} \setcounter{figure}{0} \begin{figure} \centering\rule{1cm}{1cm} \caption{This is a figure in appendix A} \end{figure} \end{document} You can use the chngcntr package which includes the command \counterwithin . Using this as \counterwithin{figure}{section} changes the figure numbering from that point on so that the section number is included and resets the numbering of figures at the beginning each subsequent section. An example is: \documentclass{article} \usepackage{chngcntr} \begin{document} \section{Introduction} \subsection{Problem description} \begin{figure}[htp] \centering Figure \caption{Call this figure 1.} \labe...

Add "Appendix" Before "A" For Appendix A In Thesis TOC

Answer : Add the following to your preamble: \usepackage[titletoc]{appendix} \makeatletter \renewcommand\backmatter{ \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth > \m@ne \@chapapp\ \thechapter: \fi ##1}{% \ifnum \c@secnumdepth > \m@ne \@chapapp\ \thechapter: \fi ##1}}% \def\sectionmark##1{\relax}} \makeatother The appendix package adds some extra functionality for dealing with appendices. This extra functionality (including the one you need) is accessed by using the \appendices environment instead of the \appendix command. So changing your thesis class \backmatter command to remove the \appendix command, along the with [titletoc] option of the package (which appends the appendix name to the letter in the TOC) should solve your problem. Now in your actual thesis tex file you should do the following: \backmatter \begin{appendices} \chapter{An appendix} ... \end{appendices} \bibliography{}