//! The standard library for the _Typst_ language. use crate::func::Scope; pub_use_mod!(boxed); pub_use_mod!(align); pub_use_mod!(spacing); pub_use_mod!(style); pub_use_mod!(page); /// Create a scope with all standard functions. pub fn std() -> Scope { let mut std = Scope::new(); std.add::("box"); std.add::("align"); std.add::("n"); std.add::("line.break"); std.add::("paragraph.break"); std.add::("page.break"); std.add::("h"); std.add::("v"); std.add::("bold"); std.add::("italic"); std.add::("mono"); std.add::("page.size"); std.add::("page.margins"); std }