diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-12 18:58:39 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-12 19:57:28 +0100 |
| commit | 3ffa7393f0632d9ee5dd9c821685a1a033d5c0ab (patch) | |
| tree | af09b0683352c4028436a2e5251dce54cf41d4aa /library/src/math | |
| parent | f4856c18b9cf3f6952276cc61b557aebeb2fa651 (diff) | |
Make all nodes block-level
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index 105940c7..85bf56ca 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -141,7 +141,7 @@ pub fn module() -> Module { /// ## Category /// math #[func] -#[capable(Show, Finalize, Layout, Inline, LayoutMath)] +#[capable(Show, Finalize, Layout, LayoutMath)] #[derive(Debug, Clone, Hash)] pub struct FormulaNode { /// Whether the formula is displayed as a separate block. @@ -229,8 +229,6 @@ impl Layout for FormulaNode { } } -impl Inline for FormulaNode {} - #[capability] pub trait LayoutMath { fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()>; |
