% !Mode:: "TeX:UTF-8" % 用于测试gb7714-2015样式,利用biblatex和样式定义的各种选项和命令 % 来控制文献表段落格式,包括缩进,颜色,字体,间距等 \documentclass{article} \usepackage{ctex} \usepackage{xcolor} \usepackage{toolbox} \usepackage[colorlinks]{hyperref} \usepackage{lipsum} \usepackage[paperwidth=14cm,paperheight=6.6cm,top=10pt,bottom=10pt,left=0.5cm,right=0.5cm]{geometry} \usepackage{xltxtra,mflogo,texnames} \usepackage[backend=biber,style=gb7714-2015,block=par]{biblatex}%sorting=nyt \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @Book{易仕和2013--, Title = {超声速和高超声速喷管设计}, Address = {北京}, Author = {易仕和 and 赵玉新 and 何霖 and 张敏莉}, Publisher = {国防工业出版社}, Year = {2013} } @Book{Yi2013--, Title = {Supersonic and hypersonic nozzle design}, Address = {Beijing}, Author = {Yi, Shi he and Zhao, Yu xin and He, Lin and Zhang, Min li}, Publisher = {National Defense Industry Press}, Year = {2013} } @Article{张敏莉2007-500-503, Title = {超声速短化喷管的设计和试验研究}, Author = {张敏莉 and 易仕和 and 赵玉新}, Journal = {空气动力学报}, Number = {4}, Pages = {500-503}, Volume = {25}, Year = {2007} } @Article{Zhang2007-500-503, Title = {The design and experimental investigations of supersonic length shorted nozzle}, Author = {Zhang, Min-li and Yi, Shi-he and Zhao, Yu-xin}, Journal = {ACTA AERODYNAMICA SINICA}, Number = {4}, Pages = {500-503}, Volume = {25}, Year = {2007} } @Book{Peebles2001-100-100, Title = {Probability, random variable, and random signal Principles and \LaTeX{}}, Address = {New York}, Author = {von Peebles, Jr., P. Z.}, Edition = {4}, Pages = {100}, Publisher = {McGraw-Hill}, Year = {2001} } @Book{蔡敏2006--, Title = {UML基础和Rose建模教程}, Address = {北京}, Author = {蔡敏 and 徐慧慧 and 黄柄强}, Publisher = {人民邮电出版社}, Year = {2006}, Month = {1} } @Book{Miroslav2004--, Title = {信号处理滤波器设计-基于matlab和mathematica的设计方法}, Address = {北京}, Author = {Miroslav, D. L. and Dejan, V. T. and Brian, L. E.}, Publisher = {电子工业出版社}, Translator = {朱义胜 and 董辉}, Year = {2004}, Month = {1} } @Book{赵学功2001--, Title = {当代美国外交}, Author = {赵学功}, Publisher = {社会科学文献出版社}, Url = {http://www.baidu.com}, Urldate = {2014-06-11}, Year = {2001} } \end{filecontents} \addbibresource{\jobname.bib} % 换行的控制 % % 选项 block=none , space , par , nbpar , ragged %\renewcommand*{\newblockpunct}{\par\nobreak} % 字体的控制: \textit, sl, emph-楷体, \textbf, sf-黑体, \texttt-仿宋, \textsc, md, up-宋体 % % 全局字体 \renewcommand{\bibfont}{\zihao{-5}}%\fangsong % 标题字体 \renewcommand{\bibauthorfont}{\bfseries\color{blue!50!black}}% \renewcommand{\bibtitlefont}{\ttfamily\color{red!50!black}}% \renewcommand{\bibpubfont}{\itshape\color{violet}}% % url和doi字体 \def\UrlFont{\ttfamily} %\urlstyle{sf} %\def\UrlFont{\bfseries} % 间距的控制 \setlength{\bibitemsep}{0ex} \setlength{\bibnamesep}{0ex} \setlength{\bibinitsep}{0ex} % 文献表中各条文献的缩进控制 %\setlength{\bibitemindent}{2em} % bibitemindent表示一条文献中第一行相对后面各行的缩进 %\setlength{\bibhang}{0pt} % 作者年制中 bibhang 表示的各行起始位置到页边的距离, 顺序编码制中 bibhang+labelnumberwidth 表示各行起始位置到页边的距离 % 标点类型的控制(全局字体能控制标点的字体) \begin{document} \nocite{Peebles2001-100-100,Miroslav2004--,蔡敏2006--,赵学功2001--} %\centering % %\parbox{0.95\linewidth}{\centering \printbibliography[heading=none] %} \end{document}