美文网首页LaTeX
在LaTex 中给每章插入参考文献

在LaTex 中给每章插入参考文献

作者: 博士伦2014 | 来源:发表于2019-01-01 21:10 被阅读0次
  1. 在preamble中加入以下代码
\usepackage[square,numbers,sectionbib]{natbib}
\usepackage{chapterbib}
  1. 在main.tex中加入以下代码
\include{Subdir\Chapter01}
  1. 在每一章的.tex文件末尾添加以下代码
\bibliographystyle{plainnat}
\bibliography{../Bibliography}

可以有多个Bibliography文件,但是要确保路径zhengque

  1. After running pdflatex on your file, you should have a Chapter01.aux-file in the Subdir-Directory. 在文件夹内打开命令行窗口,运行下面的语句:
bibtex Chapter01
  1. afterwards running pdflatex twice should give you a nice document with Bibliographies at the end of each chapter.

参考: http://wiki.davidhaberthuer.ch/latex#chapterbib

相关文章

网友评论

    本文标题:在LaTex 中给每章插入参考文献

    本文链接:https://www.haomeiwen.com/subject/tnsolqtx.html