summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-03-20 21:56:32 +0100
committerLaurenz <laurmaedje@gmail.com>2023-03-20 22:09:10 +0100
commit2d16f9434f46ab591cede54def23ae4bc477b668 (patch)
treec6b113b2da8ab526804f7b17bc1edd1b0fa6c34f /library/src/math/mod.rs
parent22bf0117a0613dc63ace4c495f97bd980db0140c (diff)
Documentation for citation, bibliography, and content
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index cf665203..4e91dd51 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -158,7 +158,7 @@ pub struct EquationElem {
}
impl Synthesize for EquationElem {
- fn synthesize(&mut self, _: &Vt, styles: StyleChain) {
+ fn synthesize(&mut self, styles: StyleChain) {
self.push_block(self.block(styles));
self.push_numbering(self.numbering(styles));
}
@@ -216,7 +216,7 @@ impl Layout for EquationElem {
if let Some(numbering) = self.numbering(styles) {
let pod = Regions::one(regions.base(), Axes::splat(false));
let counter = Counter::of(Self::func())
- .display(numbering, false)
+ .display(Some(numbering), false)
.layout(vt, styles, pod)?
.into_frame();