After some googling, I find an alternative approach that uses the package tocloft, I almost have what I want except one thing --- the \dotfill only fills part of the line for some reason. Any help is appreciated.
Code: Select all
\documentclass[12pt]{report}
\usepackage{amsmath,amsthm,amssymb,latexsym,amscd}
\usepackage{tocloft}
\usepackage{subfig}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{enumitem}
\usepackage{color}
\usepackage{setspace}
\usepackage{url}
%\usepackage{natbib} %%for DOI number in reference
\usepackage{slashbox} %%for slash in tables
% \usepackage{setspace,thesis}
\usepackage{tikz}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{caption}
\usetikzlibrary{calc}
\oddsidemargin=.6in \textwidth=5.8 in \topmargin=-0.25in
\textheight=8.83 in \footskip=40pt \headheight=12pt \headsep=10pt
\renewcommand{\cftchapfont}{\normalfont}
\renewcommand{\cftchappagefont}{\normalfont}
\begin{document}
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
\normalsize
\tableofcontents
\pagenumbering{arabic}
\chapter{ABC}
\doublespace
\section{Section 1}
\section{Section 2}
\chapter{DEF}
\section{Section 1}
\addcontentsline{toc}{chapter}{Bibliography \dotfill}
%\nocite{*}
%\bibliographystyle{plain}
%\bibliography{ref}
\singlespace
\begin{thebibliography}{10}
\bibitem{ADAMS:2003:Sobolev}
R.A.~Adams and J.J.F.~Fournier.
\newblock {\em Sobolev Spaces (Second Edition).}
\newblock {Academic Press, Amsterdam,} 2003.
\bibitem{Apel:1999:AFE}
Th. Apel.
\newblock {\em {Anisotropic Finite Elements}}.
\newblock Teubner, Stuttgart, 1999.
\bibitem{ASW:1996:GMR}
Th. Apel, A.-M. {S\"andig}, and J.R. Whiteman.
\newblock {Graded mesh refinement and error estimates for finite element
solutions of elliptic boundary value problems in non-smooth domains}.
\newblock {\em Math. Methods Appl. Sci.}, 19:63--85, 1996.
\bibitem{Arnold:1982:IPD}
D.N. Arnold.
\newblock {An interior penalty finite element method with discontinuous
elements}.
\newblock {\em SIAM J. Numer. Anal.}, 19:742--760, 1982.
\bibitem{ABCM:2001:DG}
D.N. Arnold, F.~Brezzi, B.~Cockburn, and L.D. Marini.
\newblock {Unified analysis of discontinuous Galerkin methods for elliptic
problems}.
\newblock {\em SIAM J. Numer. Anal.}, 39:1749--1779, 2001/02.
\bibitem{ABM:2005:Plate}
D.N. Arnold, F.~Brezzi, and L.D. Marini.
\newblock A family of discontinuous {G}alerkin finite elements for the
{R}eissner-{M}indlin plate.
\newblock {\em J. Sci. Comput.}, 22/23:25--45, 2005.
\end{thebibliography}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "test"
%%% End: