- Add binary logarithm
lb
. - Make the differential symbol of
pdv
(partial derivative) customizable. - Let
tensor
show everything as a superscript if no+
or-
is given. - Documentation improvements; internal refactorings and cleanups.
- Add
delim
tovecrow(..)
to specify the delimiter.
- Let
braket()
take an optional third argument to renderbraket(u,A,v)
as⟨u|A|v⟩
. The one argument casebraket(a)
is still rendered as⟨a|a⟩
and the two argument casebraket(u,v)
is still rendered as⟨u|v⟩
. - Let
expval()
take an optional second argument to renderexpval(A,a)
as⟨a|A|a⟩
. The one argument caseexpval(A)
is still rendered as⟨A⟩
. - (breaking) Differentiated big-O
Order(...)
and little-oorder(...)
. - Let Taylor series term
taylorterm(...)
automatically add parenthesis, so that e.g.tarlorterm(f,x,1+a,n-1)
's1+a
andn-1
can be put inside parenthesis when needed. - Fixed a rendering issue of
Set(...)
when it contains tall contents. - Removed the
box(..)
layer fromtensor(...)
's phantom index. - Added 2D and 3D rotation matrix
rot2mat(...)
androt3mat(...)
. - Added Gram matrix
grammat(...)
. - (breaking) Removed
gradient
anddivergence
, since most users will use the abbreviated namesgrad
anddiv
. This prevents name collisions when users do wildcard importing, especially with Typst's built-ingradient
that shows color gradients on texts.
- Added show rules
super-T-as-transpose
andsuper-plus-as-dagger
, so that..^T
and..^+
can be rendered as a transpose operator and a dagger (i.e. conjugate transpose) operator, respectively, just like handwriting. - Adjusted spacing for
dd()
, following advice in TeXBook Chapter 18. The intra spacing can be disabled by a new optional argumentcompact:#true
. - Fixed a spacing issue of
vecrow(..)
. - (breaking) Let
iprod(..)
be rendered in the more familiar inner product⟨a,b⟩
, instead of⟨a|b⟩
--that can be done withbraket(a,b)
. - Added optional argument
big:#true
to Jacobian matrix and Hessian matrix, so that the fractions can be rendered in an "uncramped" form. The default is the "cramped" form just like LaTeX. - Added
taylorterm(...)
to display terms in the Taylor series.
Changed the minimum Typst version to 0.10.0.
- Fixed the appearance of
braket
,ketra
, andmel
. - Fixed Hessian matrix
hmax(...)
.
- Added CI.
- (breaking) Let
va(...)
(vector arrow) be not bold, according to the ISO standard.
- First appeared in the official package collection typst/packages.
- Renamed from
physics
tophysica
, meaning natural sciences.