diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/preproc/eqn/pile.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -4,8 +4,8 @@ Problem reported by Andy Spencer <andy753421@gmail.com>. - * src/preproc/eqn/pile.cpp (pile_box::compute_metrics): Fix - rounding. + * src/preproc/eqn/pile.cpp (pile_box::compute_metrics, + matrix_box::compute_metrics): Fix rounding. 2013-01-07 Deri James <deri@chuzzlewit.myzen.co.uk> diff --git a/src/preproc/eqn/pile.cpp b/src/preproc/eqn/pile.cpp index a511ce7e..79982d07 100644 --- a/src/preproc/eqn/pile.cpp +++ b/src/preproc/eqn/pile.cpp @@ -167,7 +167,7 @@ int matrix_box::compute_metrics(int style) printf(">?(\\n[" DEPTH_FORMAT "]+\\n[" HEIGHT_FORMAT "]+%dM)", p[i]->p[j-1]->uid, p[i]->p[j]->uid, default_rule_thickness*5); // round it so that it's a multiple of the vertical resolution - printf("/\\n(.V+(\\n(.V/2)*\\n(.V\n"); + printf("+(\\n(.V/2)/\\n(.V*\\n(.V\n"); printf(".nr " SUP_RAISE_FORMAT " \\n[" BASELINE_SEP_FORMAT "]*%d/2" "+%dM\n", uid, uid, max_len-1, axis_height - shift_down); |