在“内容列表页”中提及参考书目

在“内容列表页”中提及参考书目

我正在写论文,并且\documentclass[paper=letter, fontsize=12pt]{book}正在使用。但是在生成 .pdf 文件后,我没有在“内容列表”页面中看到参考书目作为标题,如附图所示。请建议我如何与附录一起做到这一点?在此处输入图片描述

以下是序言:

\immediate\write18{makeindex \jobname.nlo -s nomencl.ist -o \jobname.nls}
%\documentclass[paper=letter, fontsize=12pt]{book}
\documentclass[oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{textcomp}
\usepackage{setspace}
\usepackage[font=small]{caption}
\usepackage{float}
\usepackage{lineno}
\usepackage{hyperref}
\usepackage{pdflscape}
\usepackage[Glenn]{fncychap} %Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
%\textwidth=450pt\oddsidemargin=0pt
%\geometry{verbose,a4paper,tmargin=25mm,bmargin=25mm,lmargin=25mm,rmargin=25mm}
\setlength{\parindent}{0in}
\onehalfspacing

\usepackage[numbers]{natbib}

\begin{document}
\end{document}
%%%%%%%Bibliography
\begin{thebibliography}{99}
\bibitem{51}
S. L. Glashow, "partial Symmetries of Weak Interactions," Nucl. Phys., vol. 22,pp. 579-588, 1961.
\end{thebibliography}

我是这样写参考书目的:

\begin{thebibliography}{99}
\bibitem{1} Technical Design Report.
\end{thebibliography}

答案1

您的目标仍然不完全清楚,但我认为您想要目录中的一行条目指向名为“参考书目”的未编号章节级条目。如果此解释正确,则以下修改和增强的代码形式可能与您相关。

一些额外的评论。首先,请注意你应该不是加载subfigure包——它已被弃用,而且已经弃用好几年了。相反,加载subfigsubcaption包。其次,该fncychap包似乎与您加载的一个或多个其他包不兼容。第三,问问自己是否真的需要加载所有这些包;我强烈怀疑你不需要。最后但并非最不重要的是,请注意应该hyperref加载包最后的

在此处输入图片描述

\documentclass[oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[a4paper,margin=25mm]{geometry}

\usepackage{graphicx,amsmath,amssymb}
%%\usepackage{subfigure}  %% deprecated! don't use it!
\usepackage{fancyhdr} % do you really need this package?
\usepackage{textcomp} % do you really need this package?

\usepackage{setspace}
\onehalfspacing

\setlength{\parindent}{0in} % if you set '\parindent' to zero, 
   % you should set '\parskip' to a non-zero length

\usepackage[font=small]{caption}

\usepackage{float}
\usepackage{lineno} % do you really need this package?
\usepackage{pdflscape}

%\usepackage[Glenn]{fncychap}

\usepackage[numbers]{natbib}
% \bibliographystyle{...} %% choose a suitable bib style

\usepackage[nottoc]{tocbibind} % <-- per Johannes B's suggestion

\usepackage{hyperref} % load this package LAST
\hypersetup{colorlinks,allcolors=blue,
            linktocpage,  % optional
           }

\begin{document}

\frontmatter
\tableofcontents

\mainmatter
\chapter{Hello, World}
\section{In the beginning}

A numeric-style citation call-out: \cite{51}

\begin{thebibliography}{99}

\bibitem{51}
S. L. Glashow, ``Partial symmetries of weak interactions,'' \emph{Nucl.\ Phys.}, vol.\ 22, pp.\ 579--588, 1961.

\end{thebibliography}
\end{document}

相关内容