diff options
| author | Mickaël Canouil <[email protected]> | 2024-05-12 18:39:27 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-12 09:39:27 -0700 |
| commit | fef5f2d94cdd1901075b9ba83ba7189601c7f7cd (patch) | |
| tree | 215ee146103e329fe75b162e59ffc421d5a429b8 /test/writer.typst | |
| parent | 12de77958fc4bb97707f63cb9d9194f3b050a6f6 (diff) | |
Add subtitle to Typst template (#9747)
Diffstat (limited to 'test/writer.typst')
| -rw-r--r-- | test/writer.typst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/writer.typst b/test/writer.typst index b9f15b45c..3e21fb7a8 100644 --- a/test/writer.typst +++ b/test/writer.typst @@ -22,6 +22,7 @@ #let conf( title: none, + subtitle: none, authors: (), keywords: (), date: none, @@ -56,6 +57,10 @@ if title != none { align(center)[#block(inset: 2em)[ #text(weight: "bold", size: 1.5em)[#title] + #(if subtitle != none { + parbreak() + text(weight: "bold", size: 1.25em)[#subtitle] + }) ]] } |
