Compare commits
2 Commits
7262caeee7
...
a7f4937f9e
Author | SHA1 | Date |
---|---|---|
Sven Vogel | a7f4937f9e | |
Sven Vogel | b46660e605 |
|
@ -141,7 +141,7 @@
|
|||
if headers-before.len() > 0 {
|
||||
header-title = headers-before.last().body
|
||||
} else {
|
||||
let headers-after = query(selector(heading.where(numbering: "1.", level: 1)).after(here()))
|
||||
let headers-after = query(selector(heading.where(numbering: "1.1.1", level: 1)).after(here()))
|
||||
|
||||
if headers-after.len() > 0 {
|
||||
header-title = headers-after.first().body
|
||||
|
@ -172,13 +172,13 @@
|
|||
}
|
||||
|
||||
#let content_styled(config, body) = {
|
||||
set heading(numbering: "1.")
|
||||
set heading(numbering: "1.1.1")
|
||||
|
||||
body
|
||||
}
|
||||
|
||||
#let end_styled(config, body) = {
|
||||
set heading(numbering: "1.")
|
||||
set heading(numbering: "1.1.1")
|
||||
|
||||
body
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue