View changelog with more links on typst.app
Tables (thanks to @PgBiel)
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 pageTemplates
typst init <template>
command in the CLI. You can browse the available templates here.Context
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)Styling
show heading.where(level: 1): set heading(numbering: "1.")
) now work properlyshow 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
Layout
reflow
argument to rotate
and scale
which lets them affect the layouthide
function didn't hide its contents properlyh
and v
in stacksText
stroke
property for textModel
depth
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 nestingMath
number-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
groupsSymbols
gradient
as an alias for nabla
partial
as an alias for diff
, diff
will be deprecated in the futurecolon.double
, gt.approx
, gt.napprox
, lt.approx
, and lt.napprox
arrow.r.tilde
and arrow.l.tilde
tilde.dot
forces
and forces.not
space.nobreak.narrow
lrm
(Left-to-Right Mark) and rlm
(Right-to-Left Mark)star.stroked
symbol (which previously had the wrong codepoint)Scripting
to-absolute
to lengthscalc.root
int.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 strokesSyntax
context
is now a keyword and cannot be used as an identifier anymore (Breaking change)x.)
would be treated as a field accessTooling & Diagnostics
raw
textVisualization
image
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 anymoreExport
set document(date: none)
is setwidth
and height
Command line interface
-
, Typst will now read input from stdin--color
flag to configure whether to print colored outputDevelopment
--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
.Thanks to everyone who contributed to this release: @Leedehai, @PgBiel, @frozolotl, @Dherse, @MDLC01, @Andrew15-5, @Enter-tainer, @Myriad-Dreamin, @peng1999, @EpicEricEE, @jcbhmr, @Heinenen, @tingerrr, @Jollywatt, @LaurenzV, @YDX-2147483647, @k-84mo10, @s-cerevisiae, @01mf02, @A-Walrus, @C0ffeeCode, @CosmicHorrorDev, @DavidMazarro, @Hofer-Julian, @Jocs, @Midbin, @Quaqqer, @artemist, @astrale-sharp, @cmoog, @drupol, @dyc3, @eltociear, @emilyyyylime, @emmett-rayes, @espinielli, @evfinkn, @f3rn0s, @freundTech, @geekvest, @h-arry-smith, @istudyatuni, @jaroeichler, @jbirnick, @kg583, @mattfbacon, @max397574, @mkpoli, @mkroening, @muzimuzhi, @natsukagami, @nvarner, @onerandomusername, @pineapplehunter, @silvergasp, @t-rapp, @tertsdiepraam, @uetcis, @violetfauna, @voidiz, @xTeamStanly, @xalbd, @xkevio, @zica87.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4