构建论文的前几页

构建论文的前几页

对于 Latex 初学者来说,论文或报告的前几页似乎并不那么容易。我读了邮政但是,它没有显示如何做接下来的几页经常出现在论文中,标题页中的文本似乎不居中。最近,我正在尝试自定义我的标题页并找到一个好的封面,名为 title-creation。但是没有可供修改的 .tex...我如何在 Latex 中呈现此标题页并将其与我的代码结合?在此处输入图片描述

我的论文代码如下。标题页应与兼容\documentclass{report}。此外,我想按以下顺序排列前几页:标题页、献词页、致谢、摘要、空白页、名言页、目录。谢谢你!

\documentclass[12pt,a4paper,twoside]{report}
\usepackage[latin1]{inputenc}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{geometry}\geometry{top=3cm,bottom=3cm,left=3.7cm,right=2.5cm}
\usepackage{fancyhdr}
\usepackage{bm}
\usepackage{xcolor}
\usepackage[titletoc]{appendix}
\usepackage{upgreek}

\pagestyle{fancy}
\fancyhead{}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\setlength{\headheight}{15pt}

\setcounter{secnumdepth}{4}

\usepackage{titlesec}
\titleformat{\chapter}[display]{\normalfont\Huge\bfseries}{\chaptertitlename \ \thechapter}{15pt}{\Huge}
\titlespacing*{\chapter}{0pt}{-3\baselineskip}{20pt}[3.7cm]

\hyphenpenalty=10000
\tolerance=2500
\raggedbottom

\usepackage{nomentbl}
\usepackage{enumitem,calc}
\usepackage{lscape}
\usepackage{setspace}\linespread{1.6}
\setlength\parskip{3pt plus 1.5pt minus 1.5pt}%paragraph

\title{Title of the Thesis}

\begin{document}
\pagenumbering{Roman}
%------------------------------------------------------
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
I thank many people here.

\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
Here is a short abstract.

\clearpage
\tableofcontents

答案1

我不明白真正的问题,但这是我的最佳答案:

\documentclass[12pt,a4paper,twoside,
openright
]{report}
\usepackage[utf8]{inputenc}% All modern editors use utf8 by default
\usepackage{blindtext}
\usepackage{unnumberedtotoc}% https://github.com/johannesbottcher/unnumberedtotoc
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{geometry}\geometry{top=3cm,bottom=3cm,left=3.7cm,right=2.5cm}%left and right margins are wrong
\geometry{top=3cm,bottom=3cm,right=3cm,left=1.8cm,headheight=15pt}%left and right margins are better
\usepackage{fancyhdr}
\usepackage{bm}
\usepackage{xcolor}
\usepackage[titletoc]{appendix}
\usepackage{upgreek}

\pagestyle{fancy}
\fancyhead{}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\setcounter{secnumdepth}{4}

\usepackage{titlesec}
\titleformat{\chapter}[display]{\normalfont\Huge\bfseries}{\chaptertitlename\ \thechapter}{15pt}{\Huge}
\titlespacing*{\chapter}{0pt}{-3\baselineskip}{20pt}[3.7cm]% Moves the chapter title out of the text block. Do you really want this?
\assignpagestyle{\chapter}{empty}

%\hyphenpenalty=10000% Commented out, doesn't do any good.
%\tolerance=2500
%\raggedbottom

\usepackage{nomentbl}
\usepackage{enumitem,calc}
\usepackage{lscape}
\usepackage{setspace}\linespread{1.6}
%\setlength\parskip{3pt plus 1.5pt minus 1.5pt}%paragraph
\usepackage{parskip}

%\title{Title of the Thesis}% not needed if the titlepage is done by hand

\begin{document}
\pagenumbering{Roman}
%------------------------------------------------------
\pagestyle{empty}
\begin{titlepage}
    \centering
    \includegraphics[width=0.15\textwidth]{example-image-1x1}\par\vspace{1cm}
    {\scshape\LARGE Columbidae University \par}
    \vspace{1cm}
    {\scshape\Large Final year project\par}
    \vspace{1.5cm}
    {\huge\bfseries Pigeons love doves\par}
    \vspace{2cm}
    {\Large\itshape \textsc{jsxs}\par}
    \vfill
    supervised by\par
    Dr.~Mark \textsc{Brown}

    \vfill

% Bottom of the page
    {\large \today\par}
\end{titlepage}
\cleardoublepage
\vspace*{.3\textheight}
\hfill I dedicate this thesis to my pet Wombat called Walther.
\addchap{Acknowledgments}
I thank many people here.

\addchap{Abstract}
Here is a short abstract.

\cleardoublepage
Celebrated dictum is on this page
\tableofcontents
\cleardoublepage
\pagenumbering{arabic}\pagestyle{fancy}
\assignpagestyle{\chapter}{fancy}

\chapter{Introduction}
\blindtext[5]
\blinddocument
\end{document}

相关内容