为什么我的目录出现在水平列表中

为什么我的目录出现在水平列表中

我是这样写的:

\documentclass[twoside,tocchapterhead]{article}
\usepackage{natbib}
\usepackage[figuresright]{rotating}
\usepackage{lscape}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{calc}
\usepackage{slashbox}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{color}
%\usepackage[hmarginratio=2:3]{geometry}
\usepackage{epstopdf}
\usepackage{afterpage}
\renewcommand{\baselinestretch}{2}
%\usepackage[top=1.2in, bottom=1.2in, right=1.2in, left=1.2in]{geometry}
\usepackage[inner=1.5in,outer=1in, top=1in, bottom=1in]{geometry}
\newcommand{\myint}{\int_0^\infty}
\newenvironment{proof}{{\scshape Proof. }\itshape }
{\hfill$\spadesuit$\par}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{conj}[theorem]{Conjecture}
\usepackage{multirow}
\usepackage{multicol}
\usepackage[utf8]{inputenc}
\usepackage{url}
\setlength{\tabcolsep}{15pt}
\renewcommand{\arraystretch}{1.5}

\begin{document}

\pagenumbering{roman}
\include{Title}
\newpage 
\thispagestyle{empty}
\mbox{}
\clearpage
\setcounter{page}{1}

\addcontentsline{toc}{chapter}{\textbf{CERTIFICATION}}
\include{Certification}
\begin{center}
    {\bf CERTIFICATION OF SUPERVISOR}
    ...
\end{center}

\addcontentsline{toc}{chapter}{\textbf{ABSTRACT}}
\include{Abstract}
\begin{center}
    {\bf Abstract
    ...}
\end{center}

\addcontentsline{toc}{chapter}{\textbf{ABSTRAK}}
\include{Abstrak}
\begin{center}
    {\bf Abstrak
    ...}
\end{center}

\addcontentsline{toc}{chapter}{\textbf{ACKNOWLEDGMENTS}}
\include{Acknow}
\begin{center}
    {\normalsize \bf ACKNOWLEDGMENTS}
\end{center}
...

\tableofcontents
\end{document}

它们看起来是这样的

为什么它们出现在水平列表中而不是垂直列表中?

答案1

这难道不是解决你的问题的方法吗?

\documentclass{book}

\begin{document}

\tableofcontents

\pagebreak

\chapter{\textbf{CERTIFICATION}}

\chapter{\textbf{ABSTRACT}}

\chapter{\textbf{ABSTRAK}}

\chapter{\textbf{ACKNOWLEDGMENTS}}

\end{document}

相关内容