- 在preamble中加入以下代码
\usepackage[square,numbers,sectionbib]{natbib}
\usepackage{chapterbib}
- 在main.tex中加入以下代码
\include{Subdir\Chapter01}
- 在每一章的.tex文件末尾添加以下代码
\bibliographystyle{plainnat}
\bibliography{../Bibliography}
可以有多个Bibliography文件,但是要确保路径zhengque
- After running pdflatex on your file, you should have a Chapter01.aux-file in the Subdir-Directory. 在文件夹内打开命令行窗口,运行下面的语句:
bibtex Chapter01
- afterwards running pdflatex twice should give you a nice document with Bibliographies at the end of each chapter.
网友评论