Check matrix and cases positions against pdfLaTeX
This commit is contained in:
1 parent
e926bc9eb3
commit
52a74755f7
5 files changed
+183
-21
No files matched your search
@@ -1031,8 +1031,9 @@ impl Page {
|
||||
align,
|
||||
left,
|
||||
right,
|
||||
row_lead,
|
||||
} => {
|
||||
let layout = math::matrix_layout(rows, font, align, *left, *right);
|
||||
let layout = math::matrix_layout(rows, font, align, *left, *right, *row_lead);
|
||||
let base_extent = |delimiter: char| font.height(delimiter) + font.depth(delimiter);
|
||||
let scaled = |metrics: (char, i64, i64, i64)| -> (i64, i64) {
|
||||
let base = base_extent(metrics.0);
|
||||
|
||||
Reference in new issue
Block a user