-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_quarto.yml
127 lines (122 loc) · 3.24 KB
/
_quarto.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
title: 用 Quarto 写作中文学术论文
subtitle: 一个简单的示例
author:
name: Tom Ben
email: [email protected]
student-id: 1234567890
supervisor: 导师姓名
institute: 所在学校名称
major: 专业名称
date-format: "YYYY年M月D日"
project:
output-dir: outputs
number-sections: true
link-citations: true
toc: true
toc-depth: 4 # `3` is enouth, `4` is set as `shift-heading-level-by: 1` is enabled for html
toc-title: 目录
crossref:
fig-title: 图
tbl-title: 表
fig-prefix: 图
tbl-prefix: 表
reference-section-title: 参考文献
bibliography: bibliography.bib
csl: _styles/gb-author-date.csl # Author-year style, `gb-numeric.csl` for numeric style
nocite: |
@*
filters:
- links-to-citations
- ignore-softbreaks
execute:
cache: true
freeze: auto
echo: true
warning: false
format:
docx:
reference-doc: _styles/custom.docx
template: _styles/custom.openxml
filters:
- remove-spaces
- docx-quotes
date: today
html:
template: _styles/html5.html
date: 2024-05-26
date-modified: today
theme:
light: [flatly, _styles/custom.scss]
dark: [darkly, _styles/custom.scss]
shift-heading-level-by: 1
title-block-style: manuscript
title-block-banner: true
link-external-icon: true
link-external-newwindow: true
lightbox: true
language:
title-block-author-single: 作者
title-block-affiliation-single: 学校
title-block-published: 发布于
title-block-modified: 更新于
section-title-footnotes: 脚注
related-formats-title: 其他格式
pdf:
filters:
- latex-quotes
include-in-header:
- _styles/custom.tex
template-partials:
- _styles/title.tex
- _styles/before-body.tex
- _styles/toc.tex
- _styles/biblio.tex
# pdf-engine: lualatex
indent: true
papersize: a4
twoside: true
geometry: [margin=2.5cm]
linkcolor: winered
citecolor: winered
urlcolor: urlblue
toccolor: wordblue
cite-method: biblatex
biblio-style: gb7714-2015ay # Author-year style, `gb7714-2015` for numeric style
biblatexoptions:
- backend=biber
- backref=true
- dashed=false # Do not replace repeated author names with a dash
- gblabelref=false # Disable hyperlink for author names
- gblanorder=englishahead # English first
- gbnamefmt=lowercase # Disable uppercase name
- gbfieldtype=true # Enable field type for theses
# - gbalign=gb7714-2015 # Add numeric label, redundant for author-year style
# - autocite=plain # Add bracket squares in citiations for numeric style
epub:
epub-cover-image: figures/cover.png
rights: © 2024--Present Tom Ben
date: today
revealjs:
template: _styles/revealjs.html
theme: _styles/metropolis.scss
output-file: slides.html
logo: figures/logo.svg
citeproc: false
toc-depth: 1
menu: false
scrollable: true
slide-number: true
number-sections: false
chalkboard:
buttons: false
pdf-separate-fragments: true
include-in-header:
- text: |
<style>
.reveal .slide-logo {
max-height: unset;
height: 50px;
}
</style>
revealjs-plugins:
- confetti