diff options
| author | Christopher Kenny <[email protected]> | 2024-07-08 22:08:30 -0400 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-07-24 10:45:28 -0700 |
| commit | f000fa168bd122fee6e67f5a67bdd6d42d173261 (patch) | |
| tree | 49b8be848793a66f94c207d911091e8026eaee8a /MANUAL.txt | |
| parent | ebf41dd5392283398f35dac1414c04dbc3e3e7ca (diff) | |
Add features to typst base template.
This implements the changes suggested in #9956, with the exception of
the filecolor/urlcolor one. These would require adding some regex to
guess the link types. This is theoretically possible to do, but it
wasn't clear to me that this is a good thing to put in a default
template. Happy to adjust if you have thoughts on this.
Closes #9956.
Some things to note:
I'm converting colors by passing them as content, as I was seeing pandoc
escape # if that was included.
I set the default fonts for math and code ("raw") to fonts that are
bundled with Typst. These need not be those fonts if there are more
familiar pandoc preferences.
Diffstat (limited to 'MANUAL.txt')
| -rw-r--r-- | MANUAL.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 39355c424..7ee20e59a 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -2728,7 +2728,7 @@ Currently the following pipes are predefined: documents `abstract-title` -: title of abstract, currently used only in HTML, EPUB, and docx. +: title of abstract, currently used only in HTML, EPUB, docx, and Typst. This will be set automatically to a localized value, depending on `lang`, but can be manually overridden. @@ -3391,6 +3391,19 @@ The `--css` option also affects the output. `columns` : Number of columns for body text. +`thanks` +: contents of acknowledgments footnote after document title + +`mathfont`, `codefont` +: Name of system font to use for math and code, respectively. + +`linestretch` +: adjusts line spacing, e.g. `1.25`, `1.5` + +`linkcolor`, `filecolor`, `citecolor` +: color for external links, internal links, and citation links, + respectively: expects a hexadecimal color code + ### Variables for ms `fontfamily` |
