summaryrefslogtreecommitdiff
path: root/tests/typ/meta/outline.typ
blob: 1d0bcf75e82880f1be3f8a7ad44db47f73a57ac7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#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)
#set math.equation(numbering: "1")

#outline()
#outline(title: [Figures], target: figure)
#outline(title: [Equations], target: math.equation)

= Introduction
#lorem(12)

= Analysis
#lorem(10)

#[
  #set heading(outlined: false)
  == Methodology
  #lorem(6)
]

== Math
$x$ is a very useful constant. See it in action:
$ x = x $

== Interesting figures
#figure(rect[CENSORED], kind: image, caption: [A picture showing a programmer at work.])
#figure(table[1x1], caption: [A very small table.])

== Programming
```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)[Sum]mary
#lorem(10)