I'm using the appendix package and the following lines in LaTeX:  \begin{appendix} \section{Supplementary Figures and Tables} \section{Selected Derivations and Proofs}  \end{appendix}   This yields to the following entry in the tables of content:   Supplementary Figures and Tables   XI Selected Derivations and Proofs    XII   However, it would be nice to have something of the following form in the tables of content:  Appendix   Supplementary Figures and Tables   XI Selected Derivations and Proofs    XII   So basically, I would like to have the title Appendix to show up in the tables of content but without a page number.
122296
I am failing to add a heading for the appendix to the ToC with the correct page number:  \documentclass{scrbook} \begin{document} \tableofcontents \chapter{test} \appendix \addcontentsline{toc}{part}{\appendixname} \chapter{First Appendix} \end{document}     I also tried to use the \addappheadtotoc command from the  package, but that changes nothing (expect that it writes 'Appendices' instead).  I assume that the appendix package provides the solution, but I could not figure out how to use it.
78341
My intention is to create a letter with multiple appendixes, which are \included and their part-titles will be added to the \encl-list.  My letter looks like:  \documentclass{scrlttr2} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage{lmodern,textcomp,graphicx} \usepackage{booktabs} \usepackage{tabu}  \newcounter{part} \setcounter{secnumdepth}{-1} \makeatletter \newcommand{\part}{\@startsection{part}{-1}{\z@}% name, ebene, einzug                            {1ex}% vor-abst                            {1ex}% nach-abst                            {\normalfont\Large\bfseries}}\\% format \renewcommand{\thepart}{Anlage \Alph{part}} \makeatother  \begin{document} \begin{letter}{to somebody} \opening{Dear Sirs and Madams,} ... \closing{Farewell,}  \include{anlage-a}  \end{letter} \end{document}   The appendix starts as follows:  \part{test part}  My part-content...   Which gets rendered to:    Why does this happen, and how to avoid it?
112068
I would like to highlight all chapters except the appendix, table of figures and table of tables. I'm using the bookmark-package and I tried to set all entries at the level = 0 to bold and just to turn bold off for the LoF etc. but it seems it has no effect to turn bold off.     \documentclass[listof=totoc]{scrreprt}  \usepackage{bookmark} \bookmarksetup{     open,     addtohook={%         \ifnum\bookmarkget{level}=0 %         \bookmarksetup{bold}%         \fi     }, }   \usepackage{graphicx} \usepackage{lipsum} \usepackage{mwe}  \begin{document} \pdfbookmark[0]{Content}{toc} \tableofcontents  \bookmarksetupnext{bold=false} \listoffigures   \newpage  \chapter{Chapter 1} \lipsum[1] \begin{figure}[h] \includegraphics[width=\textwidth]{example-image-a} \caption{I am a figure\label{fig:one}} \end{figure} \section{Section 1} \lipsum[1] \begin{figure}[h] \includegraphics[width=\textwidth]{example-image-a} \caption{I am a figure\label{fig:one}} \end{figure}  \bookmarksetupnext{bold=false} \appendix \addtocontents{toc}{\protect\contentsline {chapter}{Appendix}{}{}} \chapter{App 1} \lipsum[1] \end{document}
120438
I have this:  \label{appendix:b} \includepdf[scale=0.8,pages=1,pagecommand=\chapter{interview}]{interview/interview} \includepdf[scale=0.8,pages=2-,pagecommand={}]{interview/interview} \label{appendix:bslut}   And I'm calling it with cleveref:  \cpagerefrange{appendix:b}{appendix:bslut}   The problem is that I get the wrong page number for the last page -- it adds a page. What should be "pages 1-5" is instead "pages 1-6". I have Googled this like a madman, and I can't figure out what to do. I hope some of the superstars here can help! I have cleveref after hyperref, as recommended...  EDIT: As requested, I tried to make an MWE, but for some reason it gives me:  LaTeX Warning: Reference `appendix:bslut' on page 1 undefined on input line 7.   Here it is, though. "multipage" should be a PDF spanning several pages.  \documentclass{memoir} \usepackage{pdfpages} \usepackage{hyperref} \usepackage{cleveref} \begin{document} \chapter{Foo} Foo\cpagerefrange{appendix:b}{appendix:bslut}.  \chapter{Bar} \label{appendix:b} \includepdf[scale=0.8,pages=1,pagecommand=\chapter{Multipage}]{multipage} \includepdf[scale=0.8,pages=2-,pagecommand={}]{multipage} \label{appendix:bslut}  \end{document}
93589
I have a LaTeX document with some chapter and a list of figures and tables. Something like this:  \tableofcontents \addcontentsline{toc}{chapter}{\listfigurename} \listoffigures \addcontentsline{toc}{chapter}{\listtablename} \listoftables \chapter{Chapter 1} \chapter{Chapter 2} \chapter{Chapter 3}   So the result in the table of contents would be:  List of tables ................... i List of figures ................. ii Chapter 1 .................... 1 Chapter 2 .................... 2 Chapter 3 .................... 3  But i want to have in the document the lists at the beginning and in the table of contents i want them at the end, like this:  Chapter 1 ...................... 1 Chapter 2 ...................... 2 Chapter 3 ...................... 3 List of tables ................ i List of figures .............. ii  I tried this:  \tableofcontents \listoftables \listoffigures \chapter{section 1} \chapter{section 2} \chapter{section 3} \addcontentsline{toc}{chapter}{\listfigurename} \addcontentsline{toc}{chapter}{\listtablename}   But then the page number is wrong:  Chapter 1 .................... 1 Chapter 2 .................... 2 Chapter 3 .................... 3 List of tables ............... 4 List of figures ............. 5  Does anyone know a solution, how to change the position of the lists in the toc with the correct page number?
65296
How to get a list of appendices like the list of figures and list of tables? How to set it on a separate page, like the list of figures and list of tables?
77066
Latex shows bibliography by default as a section. I want it to appear as a chapter.   My code is:   \documentclass{book} \usepackage{xgreek} \usepackage{apacite} % .... \bibliographystyle{apacite}  \addcontentsline{toc}{chapter}{Βιβλιογραφία} \bibliography{PhDthesis}    And the result looks like this:  Βιβλιογραφία                              153       References . . . . .  . . . . . . . 153   Any ideas? Thanks in advance
49168
I would like to change the name of the "Appendices" to "Appendix" in the Table of Contents. So far, I was only able to change the name of the Appendices in the text, by using the following commands in the preamble:  \renewcommand\appendixname{Appendix} \renewcommand\appendixpagename{Appendix}   Also, I was able to add "Appendix" to the Table of Contents by using the command:  \addcontentsline{toc}{chapter}{Appendix}   However, using this I have both the default "Appendices" and the added "Appendix" in the Table of Contents. Does anyone know how to remove or rename "Appendices" in the Table of Contents?
38622
I use the LaTeX Beamer style for presentations and get a table of contents (toc) after the title page, as well as at the start of each section (where the contents of the current section are highlighted).  How can I remove all those extra tocs at the start of each section?
75629
Hi I am new to the forum and fairly new to Tex, if I miss anything out please let me know and I will be glad to post it. I am writing up my PhD thesis using Texmaker on a windows system. I have my document organised with a main file and a sub-directory containing chapter 1 to 5. I want to be able to use the labels I created in chapter two for example in the appendix and vice versa. Is there an easy way to do this?   I have tried following the advice of various posts of including the commands \usepackage{xr} and \externaldocument{Chapters/Chapter_2} in the individual chapters but this leads to an error when compiling.   My Preamble is as follows:  \documentclass[12pt,hidelinks,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[greek,spanish,english]{babel} \usepackage{textgreek} \usepackage[version=3]{mhchem} \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry} \usepackage{amsmath, amsfonts, pifont, float, color, url} \usepackage[pdftex]{graphicx} \usepackage[style=numeric,backend=biber,sorting=none]{biblatex} \addbibresource{references.bib} \usepackage[pdftex, plainpages=false, pdfpagelabels, bookmarks=true]{hyperref} \usepackage{fancyhdr} \usepackage[center,font={it,small}]{caption}   I then have a section such as this in the main document:  \begin{document} %%... Title page ... \chapter{Theory and Methods} \label{chap:Theory and Methods} \include{Chapters/chapter_2} %%... Other chapters .... \end{document}   In Chapter 2 I have for example a label for a diagram which I may want to reference in other chapters:  \begin{figure}[H] \centering \includegraphics[height=10cm,width=\textwidth]{RF_colour_hi_res.pdf} \caption{Random Forest} \label{fig:2.1 Random Forest} \end{figure}   How can I have this label show up in other chapters after I type \ref ?  Many thanks in advance.  If any other information is required please let me know.   This has been answered in the comments although the references do not appear in the auto complete if they are copied and pasted in they still work.
107591
I am writing a book consisting of different chapters (each stored in an extra tex-file) and want to add numbers to each of the chapters' titles (MWE below). So for example, right now what my table of contents looks like is:  Chapter Title  1 Section Title  1.1 Subsection Title  2 Section Title  2.1 Subsection Title   But what I want it to look like is this:  1 Chapter Title  1.1 Section Title  1.1.1 Subsection Title  1.2 Section Title  1.2.1 Subsection Title  The structure of my project sort of looks like this:  \documentclass[runningheads,a4paper]{llncs} \usepackage{standalone} \input{preamble.tex} \begin{document} \tableofcontents \input{Chapter1.tex} \input{Chapter2.tex} \end{document}   With the Chapters each having their own titles. Thanks in advance for your help, I hope it became clear what I'm trying to achieve, please feel free to correct me if I'm doing something wrong as I am still pretty new to this platform.
73447
I am trying to implement a style to name tables and figures depending on the section for a thesis and can't figure out how to do it with LaTeX.  In the end it should look like this:   and my document:  \documentclass{article}  \begin{document}  \section{Start} Start text \section{Middle} Middle text \begin{table}[h]     \centering     \begin{tabular}{l}     first table\\     \end{tabular} \caption{A normal table} \end{table}  \section*{Supplemental}  \begin{table}[h]     \centering     \begin{tabular}{l}         table in supplemental part\\     \end{tabular} \caption{This should read: ``Table S1: caption text''} \end{table}  \end{document}      I don't want to change the naming permanently, it should continue normally in the next chapter. Is there any easy way to accomplish something like this?
75898
I'd like to know how to create a table of contents in LaTeX. For example, if I were to write a book, I would want something like this  Contents      Chapter 1       1.1 Real Analysis .............. 1       1.2 Role of LUB Axiom........... 3   How do I create this? I'd like to know.
100183
I am required to insert the word Appendix before the letter A in my dissertation Table of Contents as follows:     Appendix A (title for appendix A)   but the latex thesis cls file:  I use generates only the letter A followed by the appendix title:     A (title for appendix A)   The thesis cls file defines a "backmatter" command and the appendix is treated as a chapter.  \newcommand\backmatter{\appendix \def\chaptermark##1{\markboth{% \ifnum  \c@secnumdepth &gt; \m@ne  \@chapapp\ \thechapter:  \fi  ##1}{% \ifnum  \c@secnumdepth &gt; \m@ne  \@chapapp\ \thechapter:  \fi  ##1}}% \def\sectionmark##1{\relax}}   Is there a simple fix to the above code that will add the word Appendix before the letter A in the TOC for Appendix A? Some related questions have been posted but the answers did not appear to work in this case.
74683
When using the hyperref package, is it possible to tell LaTeX not to create a link for some references?  In my case the page number is displayed in the footer in  \fancyhf[FC]{\thepage\ of \pageref{pg:end}}   which is what I want. Unfortunately every single page in the document then has a link to the final page, which is a bit silly.  Any ideas on how to fix that?
48894
I need some help with creating an appendix for my thesis. I have about 10 figures which need to be in the appendix. I have a good appendix with the following code:   \appendix  \addcontentsline{toc}{chapter}{APPENDICES}  \chapter{XXXX}   I have a main thesis.tex file where I call this appendix.tex file after the last chapter. Problems are:   The appendix starts without any notice that it is the appendix except for the chapter number being A, but I want to have either a separate page which says "Appendix" prior to the start of the appendix or on top of the first appendix page to explicitly say "Appendix". Now I use the \chapter{} command to have the title of the appendix but I think I will have only one chapter in the appendix. Is there some command which can make the title insited of chapter?
118966
I am using the . To make an appendix with tables and figures I am using the command \appendix. After it, I simply continue using \section to make sections.  I noticed that if I use \appendix, then a period is added after the number of the section, say "A.1. Sample section", which is good according to the Koma Script manual. On the other hand, this dot is added also to the preceding sections, i.e. those before \appendix was called. Indeed I get something like "1. Introduction" which I don't want.  For the sake of clarity, there is no dot after the section number if \appendix is not at all called.