-
Notifications
You must be signed in to change notification settings - Fork 0
/
expose.typ
57 lines (49 loc) · 1.01 KB
/
expose.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
#import "components.typ": body-font, sans-font, author-fullname
#let oot-expose = (
title: "",
author: none,
lang: "en",
document-type: "",
city: "",
date: "",
organisation: [],
body
) => {
set document(title: title, author: author-fullname(author))
set page(
margin: (left: 30mm, right: 30mm, top: 27mm, bottom: 27mm),
numbering: "1",
number-align: center,
)
block(
inset: 0cm
)[
#set align(center)
#text(2em, weight: 700, "Exposé: " + document-type)
#par(leading: 0.6em)[
#text(1.6em, weight: 500, title)
]
#text(1.2em, weight: 500)[
#v(0.3em)
#author-fullname(author)
#v(0.3em)
#organisation
]
]
v(2em)
show par: set block(spacing: 1em)
set par(
leading: 0.7em,
justify: true,
first-line-indent: 1em
)
set text(
font: body-font,
size: 10pt,
lang: lang
)
show heading: set text(size: 11pt)
// Remove level 1 headings
show heading.where(level: 1): h => []
body
}