-
Notifications
You must be signed in to change notification settings - Fork 87
如何生成参考文献表?
hzzmail@163.com edited this page Apr 9, 2018
·
2 revisions
只要在需要打印参考文献表的地方,输出命令:
\printbibliography
分章参考文献在书籍写作中是一种比较常见的需求。可以利用 refsection 环境的显式设置来打印分章文献表。比如把 chapter 的所 有内容放在 refsection 环境内,那么在该 refsection 中使用参考文献打印命令 printbibliography 就会得到该环境内的参考文献信息。
比如:
\documentclass{report}%%file:egrefsection.tex
\usepackage{ctex}
\usepackage[paperwidth=12cm,paperheight=6cm,top=0cm, bottom=1.5cm, left=1cm,right=1cm]{geometry}
\usepackage{titlesec}
\titleformat{\chapter}{\zihao{4}\heiti}{\thechapter}{1em}{}
\titlespacing*{\chapter}{0pt}{0.0\baselineskip}{0.5\baselineskip}[0pt]
\titleformat{\section}{\zihao{5}\heiti}{\thesection}{1em}{}
\titlespacing*{\section}{0pt}{0.5\baselineskip}{0.5\baselineskip}[0pt]
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
\addbibresource[location=local]{example.bib}
\begin{document}
\chapter{序章}
\begin{refsection}
序章内容\cite{GPS1988--}
\printbibliography[heading=subbibliography,title=本章参考文献]
\end{refsection}
\chapter{正文章一}
\begin{refsection}
正文内容一\cite{杨洪升2013-56-75}
\printbibliography[heading=subbibliography,title=本章参考文献]
\end{refsection}
\chapter{正文章二}
\begin{refsection}
正文内容二\cite{马克思2013-302-302}
\printbibliography[heading=subbibliography,title=本章参考文献]
\end{refsection}
\end{document}
可以设置命令\printbibliography
的选项得到,比如:
\printbibliography[heading=bibliography,title=参考文献]
\printbibliography[heading=bibliography,title=References]