fix: gate equation decimal rewrite by locale setting
This commit is contained in:
1 file changed
+4
-4
@@ -85,13 +85,13 @@
|
|||||||
|
|
||||||
show table.cell.where(y: 0): it => if table-header-smallcaps { smallcaps(it) } else { it }
|
show table.cell.where(y: 0): it => if table-header-smallcaps { smallcaps(it) } else { it }
|
||||||
|
|
||||||
show math.equation: it => {
|
show math.equation: it => if decimal-comma {
|
||||||
show regex("\\d+\\.\\d+"): it => if decimal-comma {
|
show regex("\\d+\\.\\d+"): it => {
|
||||||
show ".": { "," + h(0pt) }
|
show ".": { "," + h(0pt) }
|
||||||
it
|
it
|
||||||
} else { it }
|
|
||||||
it
|
|
||||||
}
|
}
|
||||||
|
it
|
||||||
|
} else { it }
|
||||||
|
|
||||||
let digit-grouping = state("digit-grouping", group-digits)
|
let digit-grouping = state("digit-grouping", group-digits)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user