Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

How to add appendices to the very end of the document #23

Closed
mshtang opened this issue Jan 21, 2019 · 2 comments
Closed

How to add appendices to the very end of the document #23

mshtang opened this issue Jan 21, 2019 · 2 comments

Comments

@mshtang
Copy link

mshtang commented Jan 21, 2019

Hi,

first, thank you very much for sharing this template. I find it very useful to my master thesis typesetting.

I would like to know how can I add some appendices that dedicate to show some tables at the very end of the document?

I tried to add these lines to the main.tex:

...
\printbibliography{}
% the above stays unchanged while the following is added in attempt to include some appendices
\appendix
\chapter{An appendix}
\input{pages/appendix.tex}
\chapter{Another appendix}
\input{pages/appendix2.tex}
\end{document}

However, the output is not what I was expecting. I would like to have one thing: such entries

A. An Appendix ...................................... xx
B. Another Appendix ...............................  xx

in the ToC.
Second thing: "An Appendix" and "Another Appendix" starts with a new page respectively after the bibliography, just like two new chapters in the main matter. The title on the new pages should be something like "A. An Appendix" and "B. Another Appendix". The tables in "An Appendix" should have numbering A.1, A.2, etc. while tables in "Another Apendix" have B.1, B.2 etc. And these tables should be listed in the "List of Tables" page.

How do I achieve that? Thank you very much again for your help!

@fwalch
Copy link
Owner

fwalch commented Jan 24, 2019

I already get the behavior which you are describing ("A. appendix" in ToC, "B.1 table" in list of tables) by default. I tested with:

diff --git a/build/main.pdf b/build/main.pdf
index 7b8ce24..4e2c3a7 100644
Binary files a/build/main.pdf and b/build/main.pdf differ
diff --git a/main.tex b/main.tex
index cbb3c85..814cb5e 100644
--- a/main.tex
+++ b/main.tex
@@ -48,5 +48,12 @@
 \listoftables{}
 \microtypesetup{protrusion=true}
 \printbibliography{}
+\chapter{Foo}
+Foo
+\chapter{Bar}
+bar
+\begin{table}
+  \caption{Bar}
+\end{table}
 
 \end{document}

See PDF: main.pdf

@fwalch
Copy link
Owner

fwalch commented Dec 20, 2022

Archiving the repo, see readme.

@fwalch fwalch closed this as completed Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants