Typst Syntax
Raw Blocks
This is an inline raw block class T
class T
.
This is an inline raw block class T
class T
.
This is a long inline raw block class T {}; class T {}; class T {}; class T {}; class T {}; class T {}; class T {}; class T {}; class T {};
class T {}; class T {}; class T {}; class T {}; class T {}; class T {}; class T {}; class T {}; class T {};
.
Js syntax highlight are handled by syntect:
Typst syntax hightlight are specially handled internally:
Equations
This part is the most important part of the syntax test since our blog is heavily math-oriented. This is a test of inline math: . And this is a test of long block math:
There is another test for the equation block from academic-homepage-typst: GRPO
where:
- is the importance sampling ratio for the -th response at time step .
- is the advantage for the -th response at time step .