按类型对书目进行排序

按类型对书目进行排序

在我的参考书目中,我想按类型排序,例如首先是所有书籍,然后是所有访谈、网页等。我正在使用 natbib,可以这样做吗?无论我在哪里查找,都找不到任何线索...

答案1

使用 ,biblatex您可以轻松地用 来划分引用\printbibliography[type=book]。主要区别在于,您现在应该使用biber而不是bibtex

\documentclass{article}

\usepackage[    
    style=authoryear,   
    natbib=true,        
]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@book{blub,
    year={1992},
    booktitle={Booktitle},
    volume={59},
    editor={Editor, A. and Editor, B. and Editor, C.},
    title="{Title}",
    publisher={Springer, New York},
    author={Author, A. and Author, B. and Author, C. and Author, D. and Author, E.},
}

@article{test,
    year={1992},
    title={article},
    author={Author, A. and Author, B. and Author, C. and Author, D. and Author, E.},
}
\end{filecontents}


\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

    \printbibliography[title=Books, type=book]

    \printbibliography[title=Journal Articles, type=article]


\end{document}

在此处输入图片描述

相关内容