mirror of
https://github.com/typst/typst
synced 2025-06-28 08:12:53 +08:00
Fix typos in page-setup.md (#6499)
This commit is contained in:
parent
d54544297b
commit
d3caedd813
@ -206,7 +206,6 @@ label exists on the current page:
|
|||||||
```typ
|
```typ
|
||||||
>>> #set page("a5", margin: (x: 2.5cm, y: 3cm))
|
>>> #set page("a5", margin: (x: 2.5cm, y: 3cm))
|
||||||
#set page(header: context {
|
#set page(header: context {
|
||||||
let page-counter =
|
|
||||||
let matches = query(<big-table>)
|
let matches = query(<big-table>)
|
||||||
let current = counter(page).get()
|
let current = counter(page).get()
|
||||||
let has-table = matches.any(m =>
|
let has-table = matches.any(m =>
|
||||||
@ -218,7 +217,7 @@ label exists on the current page:
|
|||||||
#h(1fr)
|
#h(1fr)
|
||||||
National Academy of Sciences
|
National Academy of Sciences
|
||||||
]
|
]
|
||||||
}))
|
})
|
||||||
|
|
||||||
#lorem(100)
|
#lorem(100)
|
||||||
#pagebreak()
|
#pagebreak()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user