-
Notifications
You must be signed in to change notification settings - Fork 86
/
opt-gbtitlelink.tex
55 lines (48 loc) · 1.73 KB
/
opt-gbtitlelink.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
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,当文献存在url时对文献标题做超链接
% 测试gbtitlelink选项
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{fontspec}
%\setmainfont{CMU Serif}
\usepackage{xcolor}
\usepackage[colorlinks=true]{hyperref}
\usepackage{lipsum}
\usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm]{geometry}
\usepackage[backend=biber,style=gb7714-2015,gbpub=false,gbtitlelink=true]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{greenwood1988,
AUTHOR = {Greenwood, Jeremy and Hercowitz, Zvi and Huffman, Gregory W and Williams, Joedge},
PUBLISHER = {JSTOR},
DATE = {1988},
JOURNALTITLE = {The American Economic Review},
KEYWORDS = {greenwood1988investment},
PAGES = {402--417},
TITLE = {Investment, capacity utilization, and the real business cycle},
url={http://www.greenwood.com},
}
@ARTICLE{刘凤良2017,
AUTHOR = {刘凤良 and 章潇萌 and 于泽 and 黄晓},
DATE = {2017},
JOURNALTITLE = {金融研究},
KEYWORDS = {刘凤良2017},
NUMBER = {2},
PAGES = {54--69},
TITLE = {高投资、结构失衡与价格指数二元分化},
url={http://www.finance.com},
}% langid={english}
\end{filecontents}
\addbibresource{\jobname.bib}
%
% \makeatletter
% \def\versionofgbtstyle{2018/04/03 v1.0k}
% \def\versionofbiblatex{\abx@version}
% \makeatother
%\renewcommand{\bibtitlefont}{\kaishu}
\begin{document}
\section{测试gb7714-2015样式当文献存在url时对文献标题做超链接}
% created with biblatex v\versionofbiblatex, last revised at 2019-01-19;\\ \hspace*{1.5em} Style Files (gb7714-2015*.*) have version number: \versionofgbtstyle.
\nocite{*}
\printbibliography
\end{document}