diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-06-13 14:06:41 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-06-13 14:07:48 +0200 |
| commit | 2fe549c1ec40681829b59f95a5a2f5db335ec3af (patch) | |
| tree | e8ba3877342e62f458d4668acf3f2f721d534986 /src/library/math/mod.rs | |
| parent | 7660978ee5d842648e244e2972273264d94ca37b (diff) | |
Fix inline math formula frame size
Diffstat (limited to 'src/library/math/mod.rs')
| -rw-r--r-- | src/library/math/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/math/mod.rs b/src/library/math/mod.rs index 6ed759b7..1eed89b1 100644 --- a/src/library/math/mod.rs +++ b/src/library/math/mod.rs @@ -56,7 +56,7 @@ impl Show for MathNode { }; Ok(if self.display { - Content::block(node) + Content::block(node.pack().aligned(Spec::with_x(Some(Align::Center.into())))) } else { Content::inline(node) }) |
