

[…] I’ve definitely had my fair share of experiences wrestling with Typst to do things that are trivial in LaTeX […]
Could you share some of these experiences? 🙂
All of this user’s content is licensed under CC BY 4.0.


[…] I’ve definitely had my fair share of experiences wrestling with Typst to do things that are trivial in LaTeX […]
Could you share some of these experiences? 🙂


[…] [Typst] still has not reached feature parity with LaTeX […]
What, in your opinion, do you think it’s still lacking?


[…] LaTeX ignores whitespace, so you can just use a formatter to space out your code and ensure the curly braces. This is not even an option in typst, which uses the space as an escape character.
I’m not sure I exactly follow what you mean. Could you elaborate?


Update (2026-03-20T00:37Z): @Meron35@lemmy.world, it has since been found that Typst is aware of this inconsistency [7].
[…] You can see how this would start to struggle even with high school level maths, with bracketed terms and possibly fractional terms in exponents, integrals, etc.
For example, it is very difficult for me to work out the difference between the following three in typst. That is specifically not what you want from a typesetting language.
1/2(x + y) 1/x(x + y) 1/2^x(x + y)[…]
I think these are valid complaints. For clarity, this is the output that I found for each:
[1]
[2]
[3]I was surprised by the second; I expected it to produce
[6]. I didn’t know what to expect for the third.
I tried searching through the documentation [4], but I was unable to find any information that exactly defined expressions [5], and how they are grouped within the fraction when juxtaposed like in your examples.
echo "#set page(width: auto, height: auto, margin: 0pt); $ 1/2(x + y) $" | typst compile - o.png
echo "#set page(width: auto, height: auto, margin: 0pt); $ 1/x(x + y) $" | typst compile - o.png
echo "#set page(width: auto, height: auto, margin: 0pt); $ 1/2^x(x + y) $" | typst compile - o.png
[…] Use a slash to turn neighbouring expressions into a fraction. […]
echo "#set page(width: auto, height: auto, margin: 0pt); $ 1/x (x + y) $" | typst compile - o.png


[…]
\frac{n(n+1)}{2}in latex turns into(n(n + 1)) / 2in typst […]
Note that one can also write that as frac(n(n+1), 2) [1][4].
echo "#set page(width: auto, height: auto, margin: 0pt); $ (n(n + 1)) / 2 $" | typst compile - o.png
echo "#set page(width: auto, height: auto, margin: 0pt); $ frac(n(n+1), 2) $" | typst compile - o.png
(n(n + 1)) / 2, and frac(n(n+1), 2) result in
in Typst [2][3]

[…] For example,
\frac{n(n+1)}{2}in latex turns into(n(n + 1)) / 2in typst. The typst code is incredibly unclear - the first set of brackets with the slash together actually form the fraction operator, so neither end up visible. […]
IMO, it’s only unclear if one isn’t familiar with the syntax — I think the documentation states the behaviour clearly:
[…] Multiple atoms can be grouped into a single expression using round grouping parentheses. Such parentheses are removed from the output, but you can nest multiple to force them. [1]
This isn’t in defense of Typist’s syntax, but I challenge you to show the uninitiated your example LaTeX expression, \frac{n(n+1)}{2}, and see if they are able to accurately parse it.


[…] use markdown with a typst backend
How could one do that?


I don’t know what Typst’s custom font support was like in the past, but, currently [1], Typst does allow the usage of custom fonts:
--font-path argument or the TYPST_FONT_PATHS environment variable [1.3].In the web app, […] You can provide additional fonts by uploading
.ttfor.otffiles into your project. […]
Locally, [in the CLI,] Typst uses your installed system fonts […]
Locally, […] in the CLI, […] you can use the
--font-pathargument orTYPST_FONT_PATHSenvironment variable to add directories that should be scanned for fonts.


I’d say it still have a long way to go, especially for advanced use cases […]
What do you think it’s still lacking?


My main server runs Ubuntu Server (I’m thinking about switching it to Debian), and my laptop and desktop both run Arch Linux. Generally, I pick whatever I think is best for the given usecase — things like stability, package availability, documentation, security, etc. are considered.
Out of curiosity, what made you choose Simplex over Matrix?
I’m not sure what you mean — I personally just write it in VS Code [1], and then compile it locally [2].
References