Align preprint metadata spacing with the reference
This commit is contained in:
1 parent
8c07d3442e
commit
09414e1fe1
3 files changed
+9
-6
No files matched your search
@@ -1879,7 +1879,7 @@ pub(super) fn build_positioned_pages(
|
||||
);
|
||||
}
|
||||
}
|
||||
cursor = cursor.saturating_add(millimeters_to_scaled(10.54));
|
||||
cursor = cursor.saturating_add(millimeters_to_scaled(11.6));
|
||||
let blocks = model
|
||||
.author
|
||||
.split('\u{F7001}')
|
||||
@@ -1990,7 +1990,7 @@ pub(super) fn build_positioned_pages(
|
||||
cursor = cursor.saturating_add(row_height);
|
||||
}
|
||||
}
|
||||
cursor = cursor.saturating_add(millimeters_to_scaled(7.9));
|
||||
cursor = cursor.saturating_add(millimeters_to_scaled(10.0));
|
||||
let date = if model.date.is_empty() {
|
||||
crate::rust_typeset::frontend::current_date_utc()
|
||||
} else {
|
||||
@@ -2027,6 +2027,10 @@ pub(super) fn build_positioned_pages(
|
||||
}
|
||||
}
|
||||
cursor = cursor.saturating_add(normal_line_height);
|
||||
// Title-block gaps are compensated in the page goal so pagination
|
||||
// stays stable while metadata sits at TeX reference positions.
|
||||
cursor = cursor.saturating_add(i64::from(scaled_points(10.0).0));
|
||||
page_goal = page_goal.saturating_sub(i64::from(scaled_points(10.0).0));
|
||||
pre_display_size = None;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user