summaryrefslogtreecommitdiff
path: root/library/src/lib.rs
diff options
context:
space:
mode:
authorPg Biel <9021226+PgBiel@users.noreply.github.com>2023-04-06 10:36:36 -0300
committerGitHub <noreply@github.com>2023-04-06 15:36:36 +0200
commitca71081d05e1d2fabf65f4d4576ef0ac095221f9 (patch)
treea705ca338a6f172d68635281df5ef587872f376a /library/src/lib.rs
parent5cb226026e104c0ddb855c3ad6fee5212a796006 (diff)
Add 'layout' function to obtain the size of the outer container (#557)
Diffstat (limited to 'library/src/lib.rs')
-rw-r--r--library/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/lib.rs b/library/src/lib.rs
index c11b818e..ac99425f 100644
--- a/library/src/lib.rs
+++ b/library/src/lib.rs
@@ -97,6 +97,7 @@ fn global(math: Module, calc: Module) -> Module {
global.define("bibliography", meta::BibliographyElem::func());
global.define("locate", meta::locate);
global.define("style", meta::style);
+ global.define("layout", meta::layout);
global.define("counter", meta::counter);
global.define("numbering", meta::numbering);
global.define("state", meta::state);