diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-11-18 15:10:11 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-11-18 15:10:11 +0100 |
| commit | 1a6fb48bc5e95d0a9ef243ab62517557189c0eea (patch) | |
| tree | 06f704fe638d5ae25f4976874500c5da75316348 /src/library/mod.rs | |
| parent | 1eb25f86dd6763c4f2d7e60b6d09af60ada50af6 (diff) | |
Page style modification functions 📜
- `page.size`
- `page.margins`
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index d795d488..5fa326c8 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -6,6 +6,7 @@ pub_use_mod!(boxed); pub_use_mod!(axes); pub_use_mod!(spacing); pub_use_mod!(style); +pub_use_mod!(page); /// Create a scope with all standard functions. pub fn std() -> Scope { @@ -19,7 +20,6 @@ pub fn std() -> Scope { std.add::<LineBreak>("line.break"); std.add::<ParagraphBreak>("paragraph.break"); std.add::<PageBreak>("page.break"); - std.add::<HorizontalSpace>("h"); std.add::<VerticalSpace>("v"); @@ -27,5 +27,8 @@ pub fn std() -> Scope { std.add::<Italic>("italic"); std.add::<Monospace>("mono"); + std.add::<PageSize>("page.size"); + std.add::<PageMargins>("page.margins"); + std } |
