-
Notifications
You must be signed in to change notification settings - Fork 0
/
outlines.typ
61 lines (52 loc) · 1.14 KB
/
outlines.typ
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
// 各种目录
#import "@preview/i-figured:0.2.4"
#let toc=[
#set par(first-line-indent: 0em)
#show outline.entry:it=>[
#text(size: 12pt)[#it]
]
#show outline.entry.where(level:1):it=>[
#text(font: ("Times New Roman","Source Han Sans"),size: 12pt)[
#it
]
]
#align(center)[
#text(font: "Source Han Sans",size: 16pt)[
目#h(3.5em)录
]
]
#v(-0.5cm)
#outline(title: [],indent: auto)
]
#let figures=[
#text(size:0em)[
#heading(level: 1)[插图索引]
]
#set par(first-line-indent: 0em)
#show outline.entry:it=>[
#text(size: 12pt)[#it]
]
#align(center)[
#text(font: "Source Han Sans",size: 16pt,weight: "regular")[
插图索引
]
]
#v(-0.5cm)
#outline(title: [],target: figure.where(kind:i-figured._prefix+repr(image)))
]
#let tables=[
#text(size:0em)[
#heading(level: 1)[附表索引]
]
#set par(first-line-indent: 0em)
#show outline.entry:it=>[
#text(size: 12pt)[#it]
]
#align(center)[
#text(font: "Source Han Sans",size: 16pt)[
附表索引
]
]
#v(-0.5cm)
#outline(title: [],target: figure.where(kind:i-figured._prefix+repr(table)))
]