mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-20 08:50:17 +00:00
better enum number alignment
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
5422a0da04
commit
699b99e67f
@ -218,9 +218,9 @@
|
|||||||
show figure.where(kind: "exercise-problem"): it => {
|
show figure.where(kind: "exercise-problem"): it => {
|
||||||
let cat_display = "习题"
|
let cat_display = "习题"
|
||||||
set align(left)
|
set align(left)
|
||||||
set enum(numbering: "(a) ") // 与原书一致
|
set enum(numbering: "(a)", number-align: center + top) // 与原书一致
|
||||||
problem_box({
|
problem_box({
|
||||||
context fancy_term_box(cat_display, it.counter.get().at(0))
|
fancy_term_box(cat_display, it.counter.get().at(0))
|
||||||
h(0.5em)
|
h(0.5em)
|
||||||
it.body
|
it.body
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user