#render-symbol Writing templates
Sets a var object's symbol as real math: a subscript, a Greek letter.
#render-symbol()Hover an argument: what it does. Hover its value: every possible value. A click keeps the bubble open.
vrequiredA var object whose
symbol field is Typst math source.The essentials
A template's building blockWhat Woodcore's own commands use; a report seldom needs it.
Real mathA subscript, a Greek letter: set, not copied as text.
Typst sourceThe
symbol field must be valid math source.Arguments
| Argument | Status | What it does, and examples |
|---|---|---|
| The line's arguments | ||
| required | A var object whose symbol field is Typst math source.#render-symbol((symbol: "q_(k,1)"))q with the subscripts k,1#render-symbol((symbol: "gamma_M"))γ with the subscript M | |
Lines to copy
Minimal call
#render-symbol((value: 1.115292, unit: "kN/m²", symbol: "q_k", label: "Charakteristische Schneelast"))Examples
#render-symbol((symbol: "q_(k,1)"))#for s in ("h_\"ref\"", "C_e", "s_k") [ #render-symbol((symbol: s)) #h(1em) ]Defined in lib/calc-engine-core.typ:826