Awesome
typst-undergradmath
A Typst port of undergradmath.
Limitations
The following limitations are also annotated in the document.
-
Script letters, such as $\mathscr{P}$ formIt's possible to get script letters like $\mathscr{P}$ from\mathscr{P}
, are unavailable.cal(P)
by changing thestylistic-set
of thetext()
function. The stylistic set to apply is font-specific, so it's necessary to consult the font to know which set is desired. -
Greek letter $\varsigma$\u{03C2}
from\varsigma
is not defined as a symbol and should probably be defined assigma.alt
.sigma.alt
is available as fromtypst v0.5.0
. - $\emptyset$ from
\emptyset
is available in Typst asnothing
, while $\varnothing$ from\varnothing
is not. May need alet
binding with some specific fonts. See the Version 3.93 section of README at https://www.ctan.org/tex-archive/fonts/newcomputermodern. See also #10 and #16 for details. -
$\imath$$\imath$ and $\jmath$ are\u{1D6A4}
and $\jmath$\u{1D6A5}
, from\imath
and\jmath
respectively, are not defined as symbols. They are used in like vectors $\vec{\imath}$ with\vec{\imath}
.dotless.i
anddotless.j
respectively as fromtypst v0.4.0
. -
$\widehat{x + y}$ fromIt's automatic if you write\widehat{x + y}
is unavailable.$hat(x+y)$
, as mentioned in #2. -
No idea with $\doteq$ fromIt can be obtained with\doteq
. Maybe use fonts from mathabx or do some spacing adjustment withdot
andeq
.\u{2250}
, which is a bit tricky. -
LaTeX arrays (i.e., matrices without fences) are unavailable, but it's easy to get them with theIt's actually available withgrid
function. For math mode, it would be nice to add a new option""
fordelim
of themat
function.$mat(delim: #none, ..)$
. -
No idea with spacing between values and units. It would be really great to have something like siunitx.The space between values and units can bethin
(\u{2009}
), as mentioned in #17. There are also some amazing Typst ports of siunitx, such as metro and unify.
License
Like undergradmath, typst-undergradmath is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
Contributing to typst-undergradmath
If you're interested in contributing to this project, feel free to comment on existing issues, open new issues and create pull requests.
If you create a pull request, make sure to observe the following rules:
- adopt Conventional Commits, and
- keep the document two-page.