我想添加一个包含附录内文章的 pdf 文件。当我使用 \includegraphics 命令插入 pdf 文件时,会添加分页符。即使我缩小比例,这也会使得附录章节标题出现在一页中,而文章出现在另一页中。我该怎么做才能避免分页符?
编辑: 以下是我的序言:
\documentclass[12pt]{report} %twoside - impréssion rectoverso
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage[pdftex]{graphicx}
\graphicspath{{C:/Users/dad/Desktop/TexMaker/thesis/images/}}
\usepackage[a4paper, width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm]{geometry}
\usepackage{verbatim}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{niceframe}
\usepackage{tkz-graph}
\usepackage{algorithm}
\usepackage{tocloft}
%\usepackage{setspace}
\usepackage{pdfpages}
\usepackage{thmtools}
\usepackage{lmodern}
\usepackage{eurosym}
\usepackage{color}
\usepackage{fancyhdr}
\pagestyle{fancy}
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\newcommand{\vs}{\vspace{10mm}}
\newcommand{\vv}{\vspace{20mm}}
\newcommand{\hs}{\hspace{10mm}}
\newcommand{\hh}{\hspace{20mm}}
\newtheorem{definition}{Definition}[chapter]
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{proposition}{Proposition}[chapter]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}{Lemma}[theorem]
\theoremstyle{remark} %definition, plain, remark
\newtheorem*{remark}{Remark}
\renewcommand\qedsymbol{$\blacksquare$} %QED=Quod Erat Demonstrandum - End of demo
以下是我使用过的方法:
%Appendices
\appendix
\chapter*{\sc Appendix A}\addcontentsline{toc}{chapter}{\sc Appendix A}
\rhead{\emph{Appendix A}}
\chapter*{\sc Appendix B} \addcontentsline{toc}{chapter}{\sc Appendix B}
\rhead{\emph{Appendix B}}
\chapter*{\sc Appendix C} \addcontentsline{toc}{chapter}{\sc Appendix C}
\rhead{\emph{Appendix C}}
\begin{figure}
\centering
\includegraphics[scale=0.5]{tryout.pdf}
\end{figure}