
다음 코드는 제목이나 그 어떤 것도 언급하지 않았음에도 불구하고 내 문서에 여분의 빈 첫 페이지를 삽입합니다. 내가 어디로 잘못 가고 있는지 안내해주세요. 미리 감사드립니다.
\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}
분명히 주요 섹션 단위가 필요하지 않기 때문에(즉, 문서는 자체 페이지에서 시작하는 장이 필요하지 않음) document article
클래스로 전환하는 것이 더 좋습니다. 다음은 제목을 생성하기 위해 article
및 패키지를 사용하는 예입니다 .titling
\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}
산출: