From a70885d225f92cd15fd13bc444a8f3ba49995e1c Mon Sep 17 00:00:00 2001 From: Minsoo Choo Date: Thu, 11 Jun 2026 20:13:53 -0400 Subject: [PATCH 1/3] charged-ieee: add orcid field in author Signed-off-by: Minsoo Choo --- charged-ieee/README.md | 2 +- charged-ieee/lib.typ | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/charged-ieee/README.md b/charged-ieee/README.md index eee984b..7d5792a 100644 --- a/charged-ieee/README.md +++ b/charged-ieee/README.md @@ -21,7 +21,7 @@ This template exports the `ieee` function with the following named arguments: - `title`: The paper's title as content. - `authors`: An array of author dictionaries. Each of the author dictionaries must have a `name` key and can have the keys `department`, `organization`, - `location`, and `email`. All keys accept content. + `location`, `email`, and `orcid`. All keys accept content. - `abstract`: The content of a brief summary of the paper or `none`. Appears at the top of the first column in boldface. - `index-terms`: Array of index terms to display after the abstract. Shall be diff --git a/charged-ieee/lib.typ b/charged-ieee/lib.typ index f3c469e..e02b582 100644 --- a/charged-ieee/lib.typ +++ b/charged-ieee/lib.typ @@ -5,8 +5,8 @@ title: [Paper Title], // An array of authors. For each author you can specify a name, - // department, organization, location, and email. Everything but - // but the name is optional. + // department, organization, location, email, and orcid. Everything but + // the name is optional. authors: (), // The paper's abstract. Can be omitted if you don't have one. @@ -206,6 +206,13 @@ \ #author.email ] } + if "orcid" in author { + if type(author.orcid) == str [ + \ #link(author.orcid) + ] else [ + \ #author.orcid + ] + } })) ) From ee8e2cf5334030bd1a21dc74717449f0c3a74738 Mon Sep 17 00:00:00 2001 From: Minsoo Choo Date: Thu, 11 Jun 2026 20:37:42 -0400 Subject: [PATCH 2/3] charged-ieee: add a note to install fonts Signed-off-by: Minsoo Choo --- charged-ieee/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charged-ieee/README.md b/charged-ieee/README.md index 7d5792a..202df9c 100644 --- a/charged-ieee/README.md +++ b/charged-ieee/README.md @@ -15,6 +15,9 @@ typst init @preview/charged-ieee Typst will create a new directory with all the files needed to get you started. +To render fonts correctly, you need to install `TeX Gyre Termes` and +`TeX Gyre Cursor` on your system. + ## Configuration This template exports the `ieee` function with the following named arguments: From ac7214642bc1fa769e627f8b5cdd477e265f3949 Mon Sep 17 00:00:00 2001 From: Minsoo Choo Date: Thu, 11 Jun 2026 21:24:19 -0400 Subject: [PATCH 3/3] charged-ieee: add thanks Signed-off-by: Minsoo Choo --- charged-ieee/README.md | 2 ++ charged-ieee/lib.typ | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/charged-ieee/README.md b/charged-ieee/README.md index 202df9c..424d561 100644 --- a/charged-ieee/README.md +++ b/charged-ieee/README.md @@ -29,6 +29,8 @@ This template exports the `ieee` function with the following named arguments: the top of the first column in boldface. - `index-terms`: Array of index terms to display after the abstract. Shall be `content`. +- `thanks`: The content equivalent to `thanks{}` in IEEEtran. Appears at the + bottom of the first page. - `paper-size`: Defaults to `us-letter`. Specify a [paper size string](https://typst.app/docs/reference/layout/page/#parameters-paper) to change the page format. diff --git a/charged-ieee/lib.typ b/charged-ieee/lib.typ index e02b582..7a2b04a 100644 --- a/charged-ieee/lib.typ +++ b/charged-ieee/lib.typ @@ -15,6 +15,10 @@ // A list of index terms to display after the abstract. index-terms: (), + // Equivalent to `\thanks` in IEEEtran. Typically used for manuscript dates, + // funding notes, or author affiliations. + thanks: none, + // The article's paper size. Also affects the margins. paper-size: "us-letter", @@ -239,6 +243,21 @@ v(2pt) } + // Display thanks. + if thanks != none { + place( + bottom, + float: true, + scope: "column", + { + set par(first-line-indent: (amount: 1em, all: true), leading: 0.45em) + set text(size: 8pt) + v(5pt) + thanks + }, + ) + } + // Display the paper's contents. body