Blogに戻る

example.typ

Typst Document ExampleThis is an example of a Typst document integrated with Astro.Mathematical TypesettingTypst excels at mathematical typesetting. Here’s the quadratic formula:𝑥=𝑏±𝑏24𝑎𝑐2𝑎Advanced EquationsMaxwell’s equations in differential form:𝑬=𝜌𝜀0𝑩=0×𝑬=𝜕𝑩𝜕𝑡×𝑩=𝜇0𝑱+𝜇0𝜀0𝜕𝑬𝜕𝑡Code BlocksTypst also supports code blocks with syntax highlighting:fn main() { println!("Hello from Typst!"); let x = 42;}TablesLanguageType SystemYearRustStatic2010TypeScriptStatic2012PythonDynamic1991Lists and OrganizationFirst itemNested item ANested item BSecond itemThird item1.Numbered item 12.Numbered item 21.Nested 2.12.Nested 2.23.Numbered item 31ConclusionTypst provides a modern alternative to LaTeX with a more intuitive syntax and faster compilationtimes.2