Created
October 17, 2018 16:19
-
-
Save nekketsuuu/df928f8cb079356101ff5a539de3bb43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@require: pervasives | |
@require: math | |
let-block ctx +p inner = | |
let ib-inner = read-inline ctx inner in | |
let ib-parag = ib-inner ++ inline-fil in | |
form-paragraph ctx ib-parag | |
let standalone bt = | |
let ctx = | |
get-initial-context 440pt (command \math) | |
|> set-dominant-narrow-script Latin | |
|> set-dominant-wide-script Kana | |
in | |
let bb = read-block ctx bt in | |
page-break A4Paper | |
(fun _ -> (| | |
text-origin = (80pt, 100pt); | |
text-height = 630pt; | |
|)) | |
(fun _ -> (| | |
header-origin = (0pt, 0pt); | |
header-content = block-nil; | |
footer-origin = (0pt, 0pt); | |
footer-content = block-nil; | |
|)) | |
bb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment