Luria Voice separates visual customization into three layers: brand settings inDocumentation Index
Fetch the complete documentation index at: https://docs.brainworkup.org/llms.txt
Use this file to discover all available pages before exploring further.
_brand/_brand.yml for colors and typography, Typst template files for page-level layout, and _quarto.yml for Quarto project settings. You can go as far as you need with each layer — many practices need only a color and font change, while others want complete control over margins, header style, and page geometry.
Layer 1 — Brand colors and typography (_brand/_brand.yml)
The _brand/_brand.yml file is the fastest way to apply your practice’s visual identity. Changes here propagate automatically to headings, tables, figures, and any other branded element in the Typst template.
Colors
Setprimary and secondary hex values to match your practice’s color palette:
primary color is used for section headings and the cover page accent. The secondary color appears in table headers and figure annotations.
Typography
Declare fonts under thetypography.fonts list. Each font entry needs a family name and a source.
- File fonts
- Google Fonts
Use
source: file for fonts you have licensed and installed on your system. Typst will locate them from your OS font directory.Full brand.yml example
Layer 2 — Page layout (_extensions/neurotyp-adult/typst-template.typ)
For page-level changes — margins, paper size, header/footer layout — edit the Typst template directly. The relevant file is _extensions/neurotyp-adult/typst-template.typ.
Changing paper size and margins
Find the#set page(...) call near the top of typst-template.typ:
- A4 (default)
- US Letter
- Narrow margins
The typst-show.typ file
_extensions/neurotyp-adult/typst-show.typ controls how Quarto’s document model maps to Typst layout elements — for example, which Typst function handles a Quarto heading level, or how a code block is rendered. Edit this file if you need to restyle specific document elements beyond what brand.yml exposes.
Layer 3 — Quarto project settings (_quarto.yml)
_quarto.yml controls Quarto-level output options — the output format, extension settings, and any variables passed to the Typst template. You rarely need to change this file directly, but it is the right place for settings that do not fit into brand.yml or the Typst template.
Changing the default output format
keep-typ: true if you want to inspect the intermediate .typ file that Quarto generates before passing it to Typst — useful for debugging layout issues.
Passing custom variables to the Typst template
typst-template.typ and typst-show.typ.
Recommended customization workflow
Start with brand.yml
Make color and font changes in
_brand/_brand.yml first. Re-render and
confirm the changes look correct before moving to lower layers.Adjust margins if needed
If the default A4 margins do not match your practice’s letterhead or
printing requirements, edit the
#set page(...) block in
typst-template.typ.Use _quarto.yml for format-level options
Reserve
_quarto.yml for Quarto project settings and format flags. Avoid
duplicating settings that are already handled by brand.yml.