Posts

Showing posts with the label Table Of Contents

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{}

Beamer: Removing Headline And Its Space On A Single Frame (for Plan), But Keeping The Footline

Answer : Ok, after more investigation (in the beamer sources :)), I have found the solution. For those who will search like me in the future, here it is in a simple small example : { % to delimit a block (we only want to remove the header for this frame) \makeatletter % to change template \setbeamertemplate{headline}[default] % not mandatory, but I though it was better to set it blank \def\beamer@entrycode{\vspace*{-\headheight}} % here is the part we are interested in :) \makeatother \begin{frame}{Table of contents} % and our simple frame \tableofcontents \end{frame} } It is also possible to define an environment to be able to use it more easily. To do so, use this part of code before the \begin{document} : \makeatletter \newenvironment{withoutheadline}{ \setbeamertemplate{headline}[default] \def\beamer@entrycode{\vspace*{-\headheight}} }{} \makeatother And for your frame : \begin{withoutheadline} \begin{frame}{Table of contents} %...