我希望我的论文的目录看起来像这样: 目录 首页, 目录 第二页
%这里故意不包含图片,否则问题会变得太长。
笔记之前的一切介绍出现在目录之前。
此外,实际论文中的参考书目、索引表和结论不应与章节编号一起出现。
我已浏览过以下答案:这里,这里,这里和这里,但没有找到帮助。
这是我的代码:
\documentclass[a4 paper, 12pt]{book}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{mathtools}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{hyperref}
\usepackage{subcaption, bm, float, color}
%\usepackage[ inner =1.5in , outer =1in ]{ geometry }
\usepackage{multicol}
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{ifthen}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\hypersetup{colorlinks=true, linkcolor=blue, citecolor=red}
\usepackage{apacite}
\usepackage{lipsum}
\pagestyle{fancy}
\rhead{\thepage}
\fancyfoot{}
\makeatletter
\def\@makechapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\interlinepenalty\@M
\Huge \bfseries
\ifnum \c@secnumdepth >\m@ne
\thechapter\nobreakspace%\quad
\fi
#1\par\nobreak
\vskip 40\p@
}}
\@ifundefined{chapter}%
{}%
{\renewcommand{\chaptermark}[1]{%
\ifthenelse{\value{chapter} < 1}%
{\markboth{#1}{}}%
{\markboth{\thechapter\ #1}{}}
}}
\addtolength{\headheight}{\baselineskip}
\renewcommand{\headrulewidth}{0.4pt} %% thin line under header
%\renewcommand{\headrulewidth}{0pt} %% no line under header
\renewcommand{\footrulewidth}{0pt}
\fancyhf{} %% Clear all fields.
%\fancyhead[LE,RO]{\sffamily\thepage}
%\fancyhead[LO,RE]{\sffamily\nouppercase{\leftmark}}
\fancyhead[R]{\sffamily\thepage}
\fancyhead[C]{\sffamily\nouppercase{\leftmark}}
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{\sffamily\thepage} % except the center
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\makeatother
\begin{document}
\begin{titlepage}
\begin{center}
\vspace*{0.3cm}
\Huge
\textbf{NAME OF THE TOPIC}\\
\vspace{1cm}
\Large \textbf{A THESIS}\\
\vspace{0.3cm}
\large \emph{submitted in partial fulfillment of the requirements}\\
\emph{for the award of the degree of}\\
\vspace{0.7cm}
\Large \textbf{NAME OF THE DEGREE}\\
\vspace*{0.3cm}
\large \emph{in}\\
\vspace*{0.3cm}
\Large \textbf{SUBJECT}\\
\vspace*{0.3cm}
\large \emph{by}\\
\vspace*{0.3cm}
\Large \textbf{STUDENT NAME}\\\vspace{0.3cm} \textbf{ID}\\
\vspace*{0.5cm}
\begin{center}
\includegraphics[width=0.3\linewidth]{_Logo.jpeg}
\end{center}
\vspace{0.5cm}
\Large
\textbf{DEPARTMENT OF SUBJECT}\\
\textbf{UNIVERSITY NAME}\\\textbf{NAME}\\
\textbf{LOCATION}\\
\vspace{0.5cm}
\textbf{YEAR OF SUBMISSION}
\end{center}
\end{titlepage}
\pagenumbering{roman}
\newpage\null\thispagestyle{empty}
\newpage
\addtocounter{page}{-1}
\begin{center}
\vspace*{1cm}
\huge\textbf{CERTIFICATE}
\end{center}
\vspace*{0.7cm}
\paragraph*{}This is to certify that student name, degree name student in Department of subject, has completed bonafied work on the thesis entitled '\textbf{name of the project}' under our supervision and guidance.\\
\vspace*{1cm}
\begin{multicols}{3}
\begin{flushleft}
year\\ student
\end{flushleft}
\columnbreak
%\setlength{\columnsep}{*}
\begin{flushleft}
\rule{\columnwidth}{0.1pt} advisor 1
\end{flushleft}
\columnbreak
\begin{flushleft}
\rule{\columnwidth}{0.1pt} Dr. advisor 2
\end{flushleft}
%\setlength{\coulmnsep}{*}
\end{multicols}
\vspace*{5cm}
\begin{multicols}{3}
\begin{center}
Committee Member
\end{center}
%\vspace*{0.5cm}
\begin{center}
\rule{\columnwidth}{0.1pt}
%\vspace*{0.5cm}
\rule{\columnwidth}{0.1pt}
%\vspace*{0.5cm}
\rule{\columnwidth}{0.1pt}
\end{center}
\columnbreak
\begin{center}
Signature
\end{center}
%\vspace*{0.5cm}
\begin{center}
\rule{\columnwidth}{0.1pt}
%\vspace*{0.5cm}
\rule{\columnwidth}{0.1pt}
%\vspace*{0.5cm}
\rule{\columnwidth}{0.1pt}
\end{center}
\begin{center}
Date
\end{center}
%\vspace*{0.5cm}
\begin{center}
\rule{\columnwidth}{0.1pt}
%\vspace*{0.5cm}
\rule{\columnwidth}{0.1pt}
%\vspace*{0.5cm}
\rule{\columnwidth}{0.1pt}
\end{center}
\end{multicols}
\newpage
%\pagestyle{fancy}
%\rhead{\thepage}
\begin{center}
\vspace*{1cm}
\huge \textbf{ACADEMIC INTEGRITY AND COPYRIGHT DISCLAIMER}
\end{center}
\vspace*{1cm}
\paragraph*{}\large \lipsum[1]
\vspace*{2cm}
\begin{multicols}{3}
\begin{center}
year \\ institution
\end{center}
\columnbreak
\null
\columnbreak
\begin{center}
\rule{\columnwidth}{0.1pt}
student
\end{center}
\end{multicols}
\newpage
\vspace*{1cm}
\begin{center}
\vspace*{1cm}
\huge \textbf{ACKNOWLEDGEMENT}
\end{center}
\vspace*{1cm}
\paragraph*{}\large \lipsum[1]
\vspace*{2cm}
\newpage
\vspace*{1cm}
\begin{center}
\vspace*{1cm}
\huge \textbf{ABSTRACT}
\end{center}
\vspace*{1cm}
\paragraph*{}\large \lipsum[1]
\vspace*{2cm}
\newpage
\vspace*{1cm}
\begin{center}
\vspace*{1cm}
\huge \textbf{LIST OF SYMBOLS}
\end{center}
\vspace*{1cm}
\paragraph*{}\large \lipsum[1]
\vspace*{2cm}
\newpage
\vspace*{1cm}
\begin{center}
\vspace*{1cm}
\huge \textbf{LIST OF FIGURES}
\end{center}
\vspace*{1cm}
\paragraph*{}\large \lipsum[1]
\vspace*{2cm}
\newpage
\vspace*{1cm}
\begin{center}
\vspace*{1cm}
\huge \textbf{LIST OF TABLES}
\end{center}
\vspace*{1cm}
\paragraph*{}\large \lipsum[1]
\vspace*{2cm}
\newpage
\tableofcontents
\fancyfoot{}
\newpage\null\thispagestyle{empty}
\newpage
\pagenumbering{arabic}
\chapter{Introduction}%\stepcounter{chapter}\addcontentsline{toc}{chapter}{Introduction}
\normalsize
\paragraph*{}\lipsum[2]
\section{Section 1}\lipsum[3]
\section{section 2}\lipsum[2]
\chapter{Further Info}
\lipsum[1]
\section{section 3}\lipsum[1-2]
\begin{thebibliography}{}
\bibitem{}reference 1
\bibitem{}reference 2
\end{thebibliography}
\chapter{Conclusion}
\lipsum[1]
\chapter{Table of indexes}
\lipsum[1]
\end{document}
请帮助我。您的帮助将不胜感激。谢谢。
答案1
对于你的“结论”
\chapter*{Conclusion} % no number
\addcontentsline{toc}{chapter}{Conclusion} % add it to the ToC
“索引表”也是如此。
我还没有仔细研究你的 MWE 中的所有内容,其中大部分内容,例如标题页和后面的内容与你的问题无关,并且不知道你是如何设法将环境的输出thebibliograpy
从其book
类默认值更改的,如下所示。
% bookbibprob.tex
\documentclass{book}
\begin{document}
\begin{thebibliography}{}
\addcontentsline{toc}{chapter}{\bibname} % extra to add it to the ToC
\bibitem{}reference 1
\end{thebibliography}
\renewcommand{\cleardoublepage}{} % just to get it all on one page
\tableofcontents
\end{document}