Expose hsize and the page box width to the output routine
This commit is contained in:
1 parent
49079f7e70
commit
23956a012b
5 files changed
+56
-4
No files matched your search
@@ -863,6 +863,7 @@ fn build_document(paragraphs: &[SourceParagraph], geometry: &PageGeometry) -> Do
|
||||
let mut document = Document::new(700 * SCALE, units);
|
||||
// LaTeX sets \maxdepth=.5\topskip; sources may override it later.
|
||||
document.max_depth = 5 * SCALE;
|
||||
document.text_width = 480 * SCALE;
|
||||
document.page_breaks = paragraphs
|
||||
.iter()
|
||||
.enumerate()
|
||||
|
||||
Reference in new issue
Block a user