我的目录中有两个问题。
以下为 Latex:1. 参考书目
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{unsrtnat}
\bibliography{references}
\begin{thebibliography}{9}
\bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
\bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
\bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
\end{thebibliography}
- 我已使用章节设置自动将所有章节居中。但不知为何目录似乎间隔开来。其他章节或部分均未出现该错误。
平均能量损失
\usepackage[pagestyles]{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering}{\centering\chaptertitlename\ \thechapter}{20pt}{\Huge}
\titlespacing*{\chapter}
{0pt}{5pt}{4pt}
\newpagestyle{mystyle}{\sethead{}{}{}\setfoot{}{\thepage}{}}
\pagestyle{mystyle}
答案1
您可以混合使用两种不同的方式来制作参考书目。
要么使用
\bibliographystyle{unsrtnat}
\bibliography{references}
或者
\begin{thebibliography}{9}
\bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
\bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
\bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
\end{thebibliography}
但不能同时包含两者(除非你想要两个参考书目)