% !Mode:: "TeX:UTF-8" % 用于测试gb7714-2015样式,实现GB/T 7714-2015 标准的附录的文献表示例 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} \usepackage{toolbox} \usepackage[colorlinks]{hyperref} \usepackage{lipsum} \usepackage[paperwidth=21cm,paperheight=29cm,top=3cm,bottom=2cm,left=1.5cm,right=1.5cm]{geometry} \usepackage{xltxtra,mflogo,texnames} \usepackage[backend=biber,style=gb7714-2015]{biblatex}%sorting=nyt %\usepackage{filecontents} %\begin{filecontents}{\jobname.bib} % %\end{filecontents} \addbibresource{example.bib} %\renewcommand{\thefootnote}{\textcircled{\tiny\arabic{footnote}}} \begin{document} \section*{GB/T 7714-2015 中的附录参考文献示例} \begin{refsection} %普通图书(book) \nocite{张伯伟2002--} \nocite{2009-155-155} \nocite{胡承正2010-112-112} \nocite{美国妇产科医师学会2010-38-39} \nocite{1962-50-50} \nocite{汪昂1881--} \nocite{蒋有绪1998--} \nocite{中国企业投资协会2013--} \nocite{罗斯基2009--} \nocite{库恩2012--} \nocite{候文顺2010-119-119} \nocite{CRAWFPRD1995--} \nocite{IFLAI1977--} \nocite{OBRIEN1994--} \nocite{Kinchy2012-50-50} \nocite{Praetzellis2011-13-13} %论文集(collection)、会议录(proceedings) \nocite{中国职工教育研究会1985--} \nocite{中国社会科学院台湾史研究中心2012--} \nocite{雷光春2012--} \nocite{陈志勇2011--} \nocite{Babu2014--} %报告(report) \nocite{中华人民共和国国务院新闻办公室2013-04-16--} \nocite{汤万金2013-09-30--} \nocite{Calkin2011-8-9} \nocite{DTFHA1990--} \nocite{WHO1970--} %学位论文(thesis) \nocite{马欢2011-27-27} \nocite{吴云芳2003--} \nocite{CALMS1965--} %专利文献(patent) \nocite{张凯军2012-04-05--} \nocite{河北绿洲生态环境科技有限公司2001--} \nocite{KOSEKI2002--} %标准文献(book,inbook,note=standard) \nocite{全国信息文献标准化技术委员会2010-3-3} \nocite{全国广播电视标准化技术委员会2007-1-1} \nocite{国家环境保护局科技标准司1996-2-3} \nocite{standardinfoiso158} %专著中析出的文献(inbook) \nocite{1988-590-590} \nocite{白书农1998-146-163} \nocite{汪学军2002-22-25} \nocite{国家标准局信息分类编码研究所1988-59-92} \nocite{1977-49-49} \nocite{楼梦麟2011-11-12} \nocite{BUSECK1980-117-211} \nocite{FOURNEY1971-17-38} %期刊中析出的文献(article) \nocite{杨洪升2013-56-75} \nocite{李炳穆2008-6-12} \nocite{于潇2012-1518-1523} \nocite{陈建军2010-93-93} \nocite{DESMARAIS1992-605-609} \nocite{Saito2006-169-176} \nocite{Walls2013-399-418} \nocite{Franz2013-1053-1062} \nocite{Park2010-696-715} %报纸中析出的文献(article,note=news) \nocite{丁文祥2000--} \nocite{张田勤2000--} \nocite{傅刚2000--} \nocite{刘裕国2013-01-12--} %电子资源(online) \nocite{萧钰2001--} \nocite{李强2012-05-03--} \nocite{Commonwealth--} \nocite{Dublin2012-06-14--} \printbibliography[heading=subbibliography,type=book,notkeyword=standard,title=【A1- 普通图书-著录格式示例】]%subbibintoc \defbibfilter{collections}{% type=collection or type=proceedings or type=collection } \printbibliography[heading=subbibliography,filter=collections,title=【A2-论文集、会议录-著录格式示例】] \defbibfilter{reports}{% type=report or ( keyword=report ) } \printbibliography[heading=subbibliography,filter=reports,title=【A3-报告-著录格式示例】] \printbibliography[heading=subbibliography,type=thesis,title=【A4-学位论文-著录格式示例】] \printbibliography[heading=subbibliography,type=patent,title=【A5-专利-著录格式示例】] \defbibfilter{standard}{% type=book and keyword=standard } \printbibliography[heading=subbibliography,filter=standard,title=【A6-标准文献-著录格式示例】] \hypertarget{entrystdwithoutauthor}{注意:这里最后一篇标准文献没有责任者,所以作者年制默认情况下无法给出文献标识符。} \defbibfilter{inbooks}{% type=inbook or type=incollection or type=inproceedings } \printbibliography[heading=subbibliography,filter=inbooks,title=【A7- 专著中析出的文献-著录格式示例】] \printbibliography[heading=subbibliography,type=article,notkeyword=news,title=【A8- 期刊中析出的文献-著录格式示例】] \printbibliography[heading=subbibliography,keyword=news,title=【A9-报纸析出的文献-著录格式示例】]%type=article,有时type是newspaper所以不指定type为article \defbibfilter{onlines}{% type=online and not keyword=report } \printbibliography[heading=subbibliography,filter=onlines,title=【A10-电子资源-著录格式示例】] \end{refsection} \end{document}