table captions left align
This commit is contained in:
@ -101,6 +101,8 @@
|
|||||||
|
|
||||||
// figures
|
// figures
|
||||||
set figure.caption(separator: [ -- ])
|
set figure.caption(separator: [ -- ])
|
||||||
|
show figure.where(kind: table): set figure.caption(position: top)
|
||||||
|
show figure.caption.where(kind: table): set align(left)
|
||||||
|
|
||||||
let img = counter("image")
|
let img = counter("image")
|
||||||
let tab = counter("table")
|
let tab = counter("table")
|
||||||
@ -117,7 +119,6 @@
|
|||||||
context str(counter(heading).get().at(0)) + "." + context tab.display()
|
context str(counter(heading).get().at(0)) + "." + context tab.display()
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
show figure.where(kind: table): set figure.caption(position: top) // TODO: left align the caption
|
|
||||||
|
|
||||||
// appearance of references to images and tables
|
// appearance of references to images and tables
|
||||||
show ref: it => {
|
show ref: it => {
|
||||||
|
Reference in New Issue
Block a user