-
Notifications
You must be signed in to change notification settings - Fork 86
/
opt-gbalign-gb.tex
39 lines (32 loc) · 1.77 KB
/
opt-gbalign-gb.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式的gbalign=gb7714-2015选项
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm]{geometry}
\usepackage{xcolor}
\usepackage[CJKbookmarks,colorlinks,bookmarksnumbered=true,pdfstartview=FitH,linkcolor=blue]{hyperref}
\usepackage[backend=biber,style=gb7714-2015,gbalign=gb7714-2015,gbnamefmt=pinyin]{biblatex}
\addbibresource[location=local]{example.bib}
%\renewcommand{\bibfont}{\zihao{5}}
%\setlength{\bibitemsep}{0ex}
%\setlength{\bibnamesep}{0ex}
%\setlength{\bibinitsep}{0ex}
\iftoggle{iftleight}{\defdoublelangentry{易仕和2013--}{Yi2013--}}{}
\iftoggle{iftlnine}{\defdoublelangentry{易仕和2013--}{Yi2013--}}{}
\iftoggle{iftlatest}{\defdoublelangentry{易仕和2013--}{Yi2013--}}{}
\begin{document}
%编译信息:biblatex v\versionofbiblatex;gb7714-2015*.* version number \versionofgbtstyle.
\section{测试gb7714-2015样式gbalign=gb7714-2015选项}
\defbibentryset{bilangzhang}{张敏莉2007-500-503,Zhang2007-500-503}
%\defbibentryset{bilangyi}{易仕和2013--,Yi2013--}
双语文献:set动态方法\cite{bilangzhang};
\iftoggle{iftleight}{related动态方法\cite{易仕和2013--}}{}
\iftoggle{iftlnine}{related动态方法\cite{易仕和2013--}}{}
\iftoggle{iftlatest}{related动态方法\cite{易仕和2013--}}{}
文献\cite{王夫之1845--}\cite{陈建军2010-93-93};
文献\parencite{张田勤2000--}\parencite{吴云芳2003--};
文献\pagescite[][300]{汤万金2013-09-30--}\pagescite[][100-107]{张凯军2012-04-05--};
文献\yearpagescite{萧钰2001--}\yearpagescite{国家环境保护局科技标准司1996-2-3};
其它\cite{Calkin2011-8-9,CRAWFPRD1995--,Babu2014--,CALMS1965--,DESMARAIS1992-605-609}
\printbibliography[heading=subbibintoc,title=【参考文献】]
\end{document}