-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.typ
More file actions
62 lines (55 loc) · 1.25 KB
/
main.typ
File metadata and controls
62 lines (55 loc) · 1.25 KB
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
#set page(
paper: "a4",
margin: (
top: 32pt, bottom: 32pt,
left: 30pt, right: 20pt,
),
header: [
#set text(weight: "bold")
NYCU_ACtame (National Yang Ming Chiao Tung University)
#h(1fr)
Page #counter(page).display("1/1", both: true)
],
header-ascent: 20%,
footer: [
#set text(weight: "bold")
#set align(center)
2023 ICPC World Finals Luxor
],
footer-descent: 20%,
)
#show raw: set text(
font: "Jetbrains Mono",
ligatures: false,
features: (calt: 0),
size: 7.4pt,
weight: 700,
)
#show raw.line: it => {
if calc.rem(it.number, 2) == 1 {
h(-0.5em)
box(
width: 0em,
align(right, text(fill: gray)[#it.number]),
)
h(0.5em)
}
it.body
}
#import "lib.typ": recursively_render_content
#align(center)[#block(inset: 2em)[
#text(weight: "bold", size: 2em)[
NYCU_ACtame Team Reference Document
]
]]
#columns(2, gutter: 12pt)[
#set text(size: 9.8pt)
#set par(leading: 0.45em)
#outline(indent: auto, title: none)
]
#pagebreak()
#columns(2, gutter: 12pt)[
#set text(size: 9.6pt)
#set par(leading: 0.4em)
#recursively_render_content(yaml("content.yaml"))
]