文書内の余分な空白ページ

文書内の余分な空白ページ

次のコードは、タイトルなど何も記載していないのに、ドキュメントに追加の空白の表紙を挿入します。どこが間違っているのか教えてください。よろしくお願いします。

\documentclass[oneside]{book}
\usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
\begin{document}
\begin{center}
\chapter*{TITLE}
\section*{\texttt{NAME and ID}}
\section*{ \emph{Supervisor}}
\textbf{\textsf{DISSERTATION INITIAL DRAFT}}
\end{center}
\section*{Description}
\section*{Summary}
\begin{thebibliography}{x}
\bibitem{easley} David Easley, Jon Kleinberg. \emph{Networks, Crowds and Markets: Reasoning about a Highly Connected World}, Cambridge University Press, 2010
\bibitem{macy} Damon Centola, Michael Macy. \emph{Complex Contagion and the Weakness of Long Ties}, American Journal of Sociology, 2007
\end{thebibliography}
\end{document} 

役に立つなら、TexMaker を使っています :)

答え1

\chapter環境内でを使用すると、center余分なページが生成されます。タイトルを作成したい場合は、セクション単位コマンドを使用しない方がよいでしょう。手動で作成するか、次のような専用パッケージを使用して作成できます。titling; 小さな例:

\documentclass[oneside]{book}
\usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
\begin{document}

\begin{center}
{\Huge\bfseries TITLE\par\bigskip}
{\Large\ttfamily NAME and ID\par\medskip}
{\Large\itshape\bfseries Supervisor\par\medskip}
{\bfseries\sffamily DISSERTATION INITIAL DRAFT\par\bigskip}
\end{center}

\section*{Description}
\section*{Summary}
\begin{thebibliography}{x}
\bibitem{easley} David Easley, Jon Kleinberg. \emph{Networks, Crowds and Markets: Reasoning about a Highly Connected World}, Cambridge University Press, 2010
\bibitem{macy} Damon Centola, Michael Macy. \emph{Complex Contagion and the Weakness of Long Ties}, American Journal of Sociology, 2007
\end{thebibliography}

\end{document} 

ここに画像の説明を入力してください

どうやら、主要なセクション単位は必要ないので (つまり、ドキュメントには独自のページで始まる章は必要ないので)、ドキュメント クラスに切り替える方がよいでしょう。以下は、パッケージを使用してタイトルを生成するarticle例です。articletitling

\documentclass{article}
\usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
\usepackage{titling}

\pretitle{\begin{center}\Huge\bfseries}
\posttitle{\par\end{center}\vskip 0.5em}
\preauthor{\begin{center}\Large\ttfamily}
\postauthor{\par{\Large\itshape\bfseries
Supervisor\par\medskip}{\bfseries\sffamily DISSERTATION INITIAL DRAFT}\end{center}}
\predate{\par\large}
\postdate{\par}

\title{TITLE}
\author{NAME and ID}
\date{}

\begin{document}

\maketitle

\section*{Description}
\section*{Summary}
\begin{thebibliography}{x}
\bibitem{easley} David Easley, Jon Kleinberg. \emph{Networks, Crowds and Markets: Reasoning about a Highly Connected World}, Cambridge University Press, 2010
\bibitem{macy} Damon Centola, Michael Macy. \emph{Complex Contagion and the Weakness of Long Ties}, American Journal of Sociology, 2007
\end{thebibliography}

\end{document}

ここに画像の説明を入力してください

ご覧のとおり、タイトルを手動で作成する方が(この単純なケースでは)経済的です。

答え2

クラスを使用しているのでbook、おそらくドキュメントの最初のページを表紙にしたいと思うでしょう。

この目的のために、クラスは表紙に載せる必要のあるすべてのものを挿入できる環境をbook提供します。その環境の最後に新しいページが開始されます。titlepage

MWE:

\documentclass[oneside]{book}
\usepackage[left=1in, right=1in, top=1in, bottom=1in]{geometry}
\begin{document}

\begin{titlepage}
\centering
\vspace*{1in}
{\Huge\bfseries TITLE\par}
\vspace*{0.75in}
{\Large\ttfamily NAME and ID\par}
\medskip
{\Large\itshape\bfseries Supervisor\par}
\medskip
{\bfseries\sffamily DISSERTATION INITIAL DRAFT\par}
\end{titlepage}

\section*{Description}
\section*{Summary}
\begin{thebibliography}{x}
\bibitem{easley} David Easley, Jon Kleinberg. \emph{Networks, Crowds and Markets: Reasoning about a Highly Connected World}, Cambridge University Press, 2010
\bibitem{macy} Damon Centola, Michael Macy. \emph{Complex Contagion and the Weakness of Long Ties}, American Journal of Sociology, 2007
\end{thebibliography}

\end{document} 

出力:

ここに画像の説明を入力してください

関連情報