General ⇒ Appendix heading on same page as appendix content
Appendix heading on same page as appendix content
I am writing a thesis in using report class. Currently each chapter starts with a chapter heading on a separate page from the main text of the chapter, which I'm not too bothered about until I get to the Appendix when each appendix starts on its own page as well.
Is there anyway to change either both chapter and appendix or just the appendix so I can have:
***
Appendix A
stuff in appendix A
***
on the same page? My appendices are quite short, and having a separate titlepage for them seems ridiculous.
Right now the appendices are in the form:
\appendix
\appendixpage
\addappheadtotoc
\chapter{Appendixtitle}
\include{file with appendix stuff}
Thanks.
Also, I'm relatively new and not interested in spending the next few days working this out (since thesis is due in a week) so quick and dirty solutions preferred. Thankyou!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Appendix heading on same page as appendix content
welcome to the board!
In this minimal working example it works like desired:
Code: Select all
\documentclass[a4paper,10pt]{report}
\usepackage{appendix}
\begin{document}
\appendix
\appendixpage
\addappheadtotoc
\chapter{Appendixtitle}
Text
\chapter{Another Appendix}
Text
\end{document}
Stefan
Re: Appendix heading on same page as appendix content
When I try:
\documentclass[a4paper,10pt]{report}
\usepackage{appendix}
\begin{document}
\appendix
\appendixpage
\addappheadtotoc
\chapter{Appendixtitle}
\include{text}
\chapter{Another Appendix}
Text
\end{document}
with another file text.tex:
I get the page break. This is not actually a problem, I can just copy over all my appendices into the main file when I'm finished drafting, but good to know.
Thanks again!
Re: Appendix heading on same page as appendix content
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Appendix heading on same page as appendix content
Stefan