mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Typst template: polyfill divider for typst < 0.15.
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
stroke: none
|
||||
)
|
||||
|
||||
#let horizontalrule = line(start: (25%,0%), end: (75%,0%))
|
||||
// Polyfill divider to allow compiling with typst < 0.15:
|
||||
#let divider = if "divider" in std { divider } else { horizontalRule }
|
||||
|
||||
#show figure.where(
|
||||
kind: table
|
||||
): set figure.caption(position: top)
|
||||
|
||||
Reference in New Issue
Block a user