乳胶:删除额外页面
Latex : Extra page remove
我是 LaTeX 新手。我对此一无所知,我正面临一个问题。写报告时,新章节总是从奇数页开始,导致我的报告出现空白页。我怎样才能删除它?我已经阅读了关于 Whosebug 的其他答案,但无法确定要做什么。
\documentclass[12pt]{report}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{graphicx}
\usepackage{times}
\begin{document}
%\pagestyle{empty}
\input{first}
\pagestyle{plain}
\pagenumbering{arabic}
\newpage
\input{declaration}
\newpage
\input{acknowledgement}
\newpage
\input{abstract}
\tableofcontents
\listoffigures
\input{chapter1}
\include{chapter2}
\include{chapter3}
\include{conclusion}
\include{references}
\pagestyle{plain}
\pagenumbering{arabic}
\addcontentsline{toc}{chapter}{References}
\end{document}
first.tex
\begin{titlepage}
\begin{center}
Some title text
\end{center}
\end{titlepage}
我想我知道问题出在哪里了。删除
\newpage
之后
\pagenumbering{arabic}
所以我解决了我的问题。我所做的是从所有章节中删除 \begin{flushleft}
并在主 tex 文件中使用 RaggedRight
。
使用它来删除空白页
\let\clearpage\relax
如果您正在写书,请使用 \documentclass[10pta4paper,openany]{book},在文档的开头肯定会解决您的问题。
我是 LaTeX 新手。我对此一无所知,我正面临一个问题。写报告时,新章节总是从奇数页开始,导致我的报告出现空白页。我怎样才能删除它?我已经阅读了关于 Whosebug 的其他答案,但无法确定要做什么。
\documentclass[12pt]{report}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage{graphicx}
\usepackage{times}
\begin{document}
%\pagestyle{empty}
\input{first}
\pagestyle{plain}
\pagenumbering{arabic}
\newpage
\input{declaration}
\newpage
\input{acknowledgement}
\newpage
\input{abstract}
\tableofcontents
\listoffigures
\input{chapter1}
\include{chapter2}
\include{chapter3}
\include{conclusion}
\include{references}
\pagestyle{plain}
\pagenumbering{arabic}
\addcontentsline{toc}{chapter}{References}
\end{document}
first.tex
\begin{titlepage}
\begin{center}
Some title text
\end{center}
\end{titlepage}
我想我知道问题出在哪里了。删除
\newpage
之后
\pagenumbering{arabic}
所以我解决了我的问题。我所做的是从所有章节中删除 \begin{flushleft}
并在主 tex 文件中使用 RaggedRight
。
使用它来删除空白页
\let\clearpage\relax
如果您正在写书,请使用 \documentclass[10pta4paper,openany]{book},在文档的开头肯定会解决您的问题。