forked from bsp0109/ieee-typst-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.typ
40 lines (38 loc) · 910 Bytes
/
main.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
#import "template.typ": *
#show: ieee.with(
title: "[-doc.title-]",
abstract: [
[-parts.abstract-]
],
authors: (
[# for author in doc.authors #]
(
name: "[-author.name-]",
[# if author.email #]
email: "[-author.email-]",
[# endif #]
[# if author.affiliations[0] #]
[# if author.affiliations[0].value.name #]
organization: "[-author.affiliations[0].value.name-]",
[# endif #]
[# if author.affiliations[0].value.department #]
department: "[-author.affiliations[0].value.department-]",
[# endif #]
[# if author.affiliations[0].value.address #]
location: "[-author.affiliations[0].value.address-]",
[# endif -#]
[# endif #]
),
[# endfor #]
),
[# if doc.keywords #]
index-terms: (
[#- for keyword in doc.keywords -#]"[-keyword-]",[#- endfor -#]
),
[# endif #]
[# if doc.bibtex #]
bibliography-file: "[-doc.bibtex-]",
[# endif #]
)
[-IMPORTS-]
[-CONTENT-]