diff --git a/chapters/citations.tex b/chapters/citations.tex index 68cf606..715b7d9 100644 --- a/chapters/citations.tex +++ b/chapters/citations.tex @@ -61,3 +61,6 @@ \section{著者-出版年制标注法} % 注意,参考文献列表中的每条文献在正文中都要被引用。这里只是为了示例。 \nocite{*} + +\bibliographystyle{ustcthesis-numerical} +\bibliography{bib/ustc} diff --git a/chapters/floats.tex b/chapters/floats.tex index 268b410..8169d3f 100644 --- a/chapters/floats.tex +++ b/chapters/floats.tex @@ -97,3 +97,8 @@ \section{算法环境} 注意,我们可以在论文中插入算法,但是插入大段的代码是愚蠢的。 然而这并不妨碍有的同学选择这么做,对于这些同学,建议用 \pkg{listings} 宏包。 + +\cite{buseck2018subsolidus} + +\bibliographystyle{ustcthesis-numerical} +\bibliography{bib/ustc} diff --git a/chapters/intro.tex b/chapters/intro.tex index 315de0f..823fba5 100644 --- a/chapters/intro.tex +++ b/chapters/intro.tex @@ -36,3 +36,8 @@ \section{脚注} nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.} + +\cite{baker1995future} + +\bibliographystyle{ustcthesis-numerical} +\bibliography{bib/ustc} diff --git a/main.tex b/main.tex index 70e9beb..feb2af4 100644 --- a/main.tex +++ b/main.tex @@ -9,7 +9,7 @@ % fontset = windows | mac | ubuntu | fandol % 加载宏包、全部的配置 -\input{ustcsetup.tex} +\include{ustcsetup} \begin{document} @@ -18,26 +18,26 @@ \copyrightpage \frontmatter -\input{chapters/abstract.tex} +\include{chapters/abstract} \tableofcontents % \listoffigures % \listoftables -\input{chapters/notation.tex} +\include{chapters/notation} \mainmatter -\input{chapters/intro.tex} -\input{chapters/floats.tex} -\input{chapters/math.tex} -\input{chapters/citations.tex} +\include{chapters/intro} +\include{chapters/floats} +\include{chapters/math} +\include{chapters/citations} -\bibliography{bib/ustc} % 参考文献使用 BibTeX 编译 +% \bibliography{bib/ustc} % 参考文献使用 BibTeX 编译 % \printbibliography % 参考文献使用 BibLaTeX 编译 \appendix -\input{chapters/complementary.tex} +\include{chapters/complementary} \backmatter -\input{chapters/acknowledgements.tex} -\input{chapters/publications.tex} +\include{chapters/acknowledgements} +\include{chapters/publications} \end{document} diff --git a/ustcsetup.tex b/ustcsetup.tex index 0ee1b6b..dc7011a 100644 --- a/ustcsetup.tex +++ b/ustcsetup.tex @@ -51,8 +51,9 @@ % 参考文献使用 BibTeX + natbib 宏包 % 顺序编码制 -\usepackage[sort]{natbib} +\usepackage[sort, sectionbib]{natbib} \bibliographystyle{ustcthesis-numerical} +\usepackage{chapterbib} % 著者-出版年制 % \usepackage{natbib}