Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions charged-ieee/lib.typ
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import "@preview/scienceicons:0.1.0": orcid-icon
// This function gets your whole document as its `body` and formats
// it as an article in the style of the IEEE.
#let ieee(
Expand Down Expand Up @@ -190,6 +191,10 @@
gutter: 12pt,
..slice.map(author => align(center, {
text(size: 11pt, author.name)
if "orcid" in author {
let orcid-green = rgb("#AECD54")
link("https://orcid.org/" + author.orcid, orcid-icon(color: orcid-green))
}
if "department" in author [
\ #emph(author.department)
]
Expand Down
3 changes: 2 additions & 1 deletion charged-ieee/template/main.typ
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
department: [Co-Founder],
organization: [Typst GmbH],
location: [Berlin, Germany],
email: "haug@typst.app"
email: "haug@typst.app",
orcid: "0000-0000-0000-0000"
),
(
name: "Laurenz Mädje",
Expand Down