\documentclass[12pt]{report}
\usepackage{graphicx}
\usepackage{sectsty}
\usepackage[inner=4cm,outer=2cm]{geometry}
\usepackage{mathptmx}
\renewcommand{\rmdefault}{ptm}
\graphicspath{{images/}}
%\chapterfont{\centering \fontsize{12}{12}}
\renewcommand{\baselinestretch}{1.5}
\title{xxxxxxxxxxxxxxxx\\
xxxxxxxxxxxxxxxxxxxxxxxxxxx\\
%\includegraphics[width=]{logo}
}
\author{xxxxxxxxxxx}
\date{\today}
\begin{document}
\maketitle
\pagenumbering{roman}
\chapter*{CERTIFICATE}
This is to certify that this thesis entitled, “????????????????s” embodies the work carried out by ????????????? under my supervision and that it is worthy of consideration for the award of the M.Tech(Computer Engineering) degree.\\ \\
\begin{flushright}
\textbf{
\begin{tabular}{l}
Supervisor:\\
Er. xxxxxxxxxxxxx\\
Assistant Professor,\\
Department of Computer Engineering,\\
xxxxxxxxxx University,\\
xxxxxxxxxx.\\
\end{tabular}
}
\end{flushright}
Day Month Year
\chapter*{DECLARATION}
I hereby affirm that the work presented in this thesis is exclusively my own and there are no collaborators. It does not contain any work for which a degree/diploma has been awarded by any other University/Institution. A part of this work has already been published.
\chapter*{ACKNOWLEDGEMENTS}
\chapter*{ABSTRACT}
\tableofcontents
\begin{appendix}
\listoffigures
\listoftables
\end{appendix}
\chapter*{LIST OF ABBREVIATIONS}
This is abbreviation.
\chapter{Introduction}
\pagenumbering{arabic}
\input{chapters/Introduction}
\chapter{Literature Review}
\end{document}
这是我正在编写的报告的代码;发生的情况是,它没有将第 1 章作为简介和第 2 章作为文献综述输出,而是将其分别输出为附录 A 和附录 B,分别表示简介和文献综述。请告诉我问题出在哪里。
答案1
AnAppendix
属于文档的(最)末尾,因为它是附加的;-)
使用\begin{appendix}...\end{appendix}
和是可能的LoF
但这LoT
应该在最后。
由于\appendix
更改为\chaptername
(\appendixname
处于Appendix
标准设置中),并且chapter
计数器格式也从数字更改arabic
为大写字母。
\documentclass[12pt]{report}
\usepackage{graphicx}
\usepackage{sectsty}
\usepackage[inner=4cm,outer=2cm]{geometry}
\usepackage{mathptmx}
\renewcommand{\rmdefault}{ptm}
\graphicspath{{images/}}
%\chapterfont{\centering \fontsize{12}{12}}
\renewcommand{\baselinestretch}{1.5}
\title{xxxxxxxxxxxxxxxx\\
xxxxxxxxxxxxxxxxxxxxxxxxxxx\\
%\includegraphics[width=]{logo}
}
\author{xxxxxxxxxxx}
\date{\today}
\begin{document}
\maketitle
\pagenumbering{roman}
\chapter*{CERTIFICATE}
This is to certify that this thesis entitled, “????????????????s” embodies the work carried out by ????????????? under my supervision and that it is worthy of consideration for the award of the M.Tech(Computer Engineering) degree.\\ \\
\begin{flushright}
\textbf{
\begin{tabular}{l}
Supervisor:\\
Er. xxxxxxxxxxxxx\\
Assistant Professor,\\
Department of Computer Engineering,\\
xxxxxxxxxx University,\\
xxxxxxxxxx.\\
\end{tabular}
}
\end{flushright}
Day Month Year
\chapter*{DECLARATION}
I hereby affirm that the work presented in this thesis is exclusively my own and there are no collaborators. It does not contain any work for which a degree/diploma has been awarded by any other University/Institution. A part of this work has already been published.
\chapter*{ACKNOWLEDGEMENTS}
\chapter*{ABSTRACT}
\tableofcontents
\chapter{Introduction}
\pagenumbering{arabic}
%\input{chapters/Introduction}
\chapter{Literature Review}
\appendix
\listoffigures
\listoftables
\chapter*{LIST OF ABBREVIATIONS}
This is abbreviation.
\chapter{True Appendix Chapter}
\end{document}
此外,appendix
是一个命令,而不是一个环境,至少从report.cls