docs/changelog/0.11.0.md
table.cell] element for per-cell configurationalign and inset arguments of the table
function now also take {(x, y) => ..} functionstable.hline] and [table.vline] for convenient line customizationtable.header] element for table headers that repeat on every pagetable.footer] element for table footers that repeat on every pageThanks to @PgBiel for his work on tables!
typst init <template> command in the CLI. You can
browse the available templates here.{context text.lang}
to access the language set via {set text(lang: "..")}query],
[locate], [measure], [counter.display], [counter.at],
[counter.final], [state.at], and [state.final]counter.get] and [state.get] to retrieve the
value of a counter or state in the current contexthere] to retrieve the [location] of the current
contextlocate] function now returns the location of a selector's unique match.
Its old behavior has been replaced by context expressions and only remains
temporarily available for compatibility.counter.at] and [state.at] methods are now more flexible: They
directly accept any kind of locatable selector with a
unique match (e.g. a label) instead of just locationscounter.display] now directly returns the result
of applying the numbering instead of yielding opaque content. It should not be
used anymore without context. (Deprecation planned)state.display function should not be used anymore, use [state.get]
instead (Deprecation planned)location argument of [query], [counter.final], and [state.final]
should not be used anymore (Deprecation planned)styles argument of the measure function should not be used anymore
(Deprecation planned)style function should not be used anymore, use context instead
(Deprecation planned){show heading.where(level: 1): set heading(numbering: "1.")}) now work properly{show heading: it => { set heading(..); it }}) is not supported anymore
(previously it also only worked sometimes); use show-set rules instead
(Breaking change){show "cmd": `cmd`})locate]reflow argument to rotate and scale which
lets them affect the layouthide] function didn't hide its contents
properlyh] and [v] in stacksstroke property for textdepth and offset arguments to
heading to increase or decrease the heading level for a bunch of content; the
heading syntax now sets depth rather than level (Breaking change)quote] function now more robustly selects the correct quotes based on
language and nestingnumber-align argument to equationssize of accents
relative to their basemath.primes] element which backs the [$f'$] syntax in mathstrong] and [emph] anymoreattach under fractionsmath.class] did not affect smart limit placementlr groupsgradient as an alias for nablapartial as an alias for diff, diff will be deprecated in the
futurecolon.double, gt.approx, gt.napprox, lt.approx, and lt.napproxarrow.r.tilde and arrow.l.tildetilde.dotforces and forces.notspace.nobreak.narrowlrm (Left-to-Right Mark) and rlm (Right-to-Left Mark)star.stroked symbol (which previously had the wrong codepoint)to-absolute to lengthscalc.rootint.signum] and [float.signum] methodsfloat.is-nan] and [float.is-infinite] methodsint.bit-not], [int.bit-and], [int.bit-or], [int.bit-xor],
[int.bit-lshift], and [int.bit-rshift] methodsarray.chunks] methodrow-type argument to csv function to configure
how rows will be representedstr and repr{.fields()}
dictionariesrepr output of strokescontext] is now a keyword and cannot be used as an identifier
anymore (Breaking change)x.) would be treated as a field accessraw] textimage] function doesn't upscale images beyond their natural size
anymoreimage] function now respects rotation stored in EXIF metadataluma colorscolor.transparentize] and [color.opacify] methodscolor.negate] functionstroke and radius
arguments to highlight functionhighlight] color to be transparentcolor.components] doesn't round anything anymore{set document(date: none)} is setwidth and height-, Typst will now read input from stdin--color flag to configure whether to print colored output--vendor-openssl to CLI to configure whether to link OpenSSL
statically instead of dynamically (not applicable to Windows and Apple
platforms)--timings flag which supersedes the old flamegraph profiling in
the CLItypst-docs crate for extracting the language and
standard library documentation as JSONtypst_pdf::export function's ident argument switched from Option to
Smart. It should only be set to Smart::Custom if you can provide a stable
identifier (like the web app can). The CLI sets Smart::Auto.