mirror of
https://github.com/typst/typst
synced 2025-05-17 02:25:27 +08:00
38 lines
567 B
Typst
38 lines
567 B
Typst
#set page("a7", margin: 20pt, numbering: "1")
|
|
#set heading(numbering: "(1/a)")
|
|
#show heading.where(level: 1): set text(12pt)
|
|
#show heading.where(level: 2): set text(10pt)
|
|
|
|
#outline()
|
|
|
|
= Einleitung
|
|
#lorem(12)
|
|
|
|
= Analyse
|
|
#lorem(10)
|
|
|
|
#[
|
|
#set heading(outlined: false)
|
|
== Methodik
|
|
#lorem(6)
|
|
]
|
|
|
|
== Verarbeitung
|
|
#lorem(4)
|
|
|
|
== Programmierung
|
|
```rust
|
|
fn main() {
|
|
panic!("in the disco");
|
|
}
|
|
```
|
|
|
|
==== Deep Stuff
|
|
Ok ...
|
|
|
|
// Ensure 'bookmarked' option doesn't affect the outline
|
|
#set heading(numbering: "(I)", bookmarked: false)
|
|
|
|
= #text(blue)[Zusammen]fassung
|
|
#lorem(10)
|