On the page of the annex I get "A Blah" followed by a the rest of the page empty and then the pdf document starting on the next page.
I have two formatting questions:
1. How do I get it to write "Appendix A: Blah"?
2. How do I get it to shrink the first page of the PDF document by the correct amount, so that I the "Appendix A: blah" occurs and then the document is straight away below it? Ie I dont get a whole empty page. (I assume this means I will have the first page of the PDF a different size to the subsequent pages).
many thanks
Code: Select all
Code, edit and compile here:
\documentclass[10pt]{article}\usepackage[titletoc,toc,title]{appendix}\usepackage[textwidth=19.1cm,textheight=24cm]{geometry}\usepackage{fancyhdr}\usepackage{framed}\usepackage{breqn}\usepackage{pdfpages}\usepackage{xcolor}\usepackage{varwidth}\usepackage{lipsum}\usepackage{fancyhdr}\pagestyle{headings}\setcounter{page}{1}\pagenumbering{arabic}\setlength{\headheight}{25.2pt}\pagestyle{fancy}\fancyhf{}\lhead{\fancyplain{}{Blah Ltd.}}\rhead{\fancyplain{}{\today}}\rfoot{\fancyplain{}{\thepage}}\begin{document}\tableofcontents\begin{appendices}\renewcommand{\thesubsection}{\Alph{subsection}}\centering\subsection{\textcolor{blue}{Blah}}\includepdf[pages=-, frame=true, scale=0.8, pagecommand={}]{D:/blah.pdf}\subsection{\textcolor{blue}{Blah Blah}}\includepdf[pages=-, frame=true, scale=0.8, pagecommand={}]{D:/blahblah.pdf}\end{appendices}\end{document}