diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-08-04 11:46:04 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-08-04 11:46:04 +0200 |
| commit | ed4fdcb0ada909f1cc3d7436334e253f0ec14d55 (patch) | |
| tree | 2b9abe7a852a060899ce4aa976391fa8dd9d293b /src/library/spacing.rs | |
| parent | dbfb3d2ced91e56314dfabbb4df9a338926c0a7a (diff) | |
Par nodes 🧳
Diffstat (limited to 'src/library/spacing.rs')
| -rw-r--r-- | src/library/spacing.rs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/library/spacing.rs b/src/library/spacing.rs index 545f3910..6503556f 100644 --- a/src/library/spacing.rs +++ b/src/library/spacing.rs @@ -3,26 +3,6 @@ use crate::length::ScaleLength; use super::*; function! { - /// `parbreak`: Ends the current paragraph. - /// - /// This has the same effect as two subsequent newlines. - #[derive(Debug, Default, Clone, PartialEq)] - pub struct ParBreakFunc; - - parse(default) - layout(self, ctx, f) { vec![BreakParagraph] } -} - -function! { - /// `pagebreak`: Ends the current page. - #[derive(Debug, Default, Clone, PartialEq)] - pub struct PageBreakFunc; - - parse(default) - layout(self, ctx, f) { vec![BreakPage] } -} - -function! { /// `h` and `v`: Add horizontal or vertical spacing. #[derive(Debug, Clone, PartialEq)] pub struct SpacingFunc { |
