-
Notifications
You must be signed in to change notification settings - Fork 86
/
thesis-zju-numeric.tex
59 lines (50 loc) · 1.4 KB
/
thesis-zju-numeric.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
% !Mode:: "TeX:UTF-8"
% 用于测试zju中应用biblatex-gb7714-2015的情况
%
\documentclass[twoside]{article}
\usepackage{ctex}%[zihao=-4]
\usepackage{fontspec}
\setmainfont{CMU Serif}
\IfFileExists{SourceHanSerifSC-Regular.otf}
{\setCJKmainfont{SourceHanSerifSC-Regular.otf}}{}
%\IfFontExistsTF{⟨font name⟩}{⟨true branch⟩}{⟨false branch⟩}
\usepackage{xcolor}
\usepackage{toolbox}
\usepackage[colorlinks,citecolor=blue]{hyperref}
\usepackage{lipsum}
\usepackage{geometry}%,showframe,showcrop
\geometry{
a4paper,
marginpar=0pt,
includeheadfoot,
vmargin={1in,1in},
hmargin={1.25in,1.25in},
headsep=4mm
}
\RequirePackage[backend=biber,style=gb7714-2015]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
% use `texdoc biblatex` to get help
@www{zjuthesisrules,
title = {浙江大学本科生毕业论文(设计)编写规则},
author = {浙江大学本科生院},
year = {2018},
url = {http://bksy.zju.edu.cn/attachments/2018-01/01-1517384518-1149149.pdf},
}
@www{tikz,
title = {tikz宏包},
author = {Till Tantau},
year = {2018},
url = {https://sourceforge.net/projects/pgf/},
}
\end{filecontents}
\addbibresource{\jobname.bib}
%
%\def\cs#1{\textbackslash\texttt{#1}}
%
%\def\BibTeX{\texttt{BibTex}}
\begin{document}
\section*{ZJU}
\nocite{*}
\printbibliography
\end{document}