-
Notifications
You must be signed in to change notification settings - Fork 84
/
opt-gbpub-true.tex
73 lines (60 loc) · 1.96 KB
/
opt-gbpub-true.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于出版项缺省的控制和选项
% 测试gbpub=true选项
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm,paperheight=4.5cm]{geometry}
\usepackage{xcolor}
\usepackage[CJKbookmarks,colorlinks,bookmarksnumbered=true,pdfstartview=FitH,linkcolor=blue]{hyperref}
\usepackage[backend=biber,style=gb7714-2015,gbpub=true]{biblatex}%align=gb7714-2015,gbpub=false
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{booknolocation,
Title = {出版研究},
Author = {余敏},
Date = {2001},
Publisher = {书籍出版社}
}
@Book{booknopublisher,
Title = {出版研究},
Author = {余敏},
Date = {2001},
Location = {北京}
}
@Book{booknopub,
Title = {出版研究},
Author = {余敏},
Date = {2001},
}
@Book{Parsons2000noloc--,
Title = {Radio},
Author = {Parsons, J. D.},
Publisher = {John Wiley and Sons},
Year = {2000}
}
@Book{Parsons2000nopublisher,
Title = {Radio},
Address = {Hoboken},
Author = {Parsons, J. D.},
Year = {2000}
}
@Book{Parsons2000nopub,
Title = {Radio},
Author = {Parsons, J. D.},
Year = {2000}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\renewcommand{\bibfont}{\zihao{-5}}
\begin{document}
%%%测试作者年/biblatex版本兼容性的文件
%%%test file for author year style
%\section{测试gb7714-2015样式对于出版项缺省的控制和gbpub=true选项}
\nocite{*}
{
%\hyphenation{kurose-gawa}
%\hyphenpenalty=1000
%\tolerance=500
\printbibliography[heading=none]
}
\end{document}