X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpage-layout-problem.cc;h=7120c6c68094ffe9aebe9ea75640c184885d7838;hb=5da0db091d4fa6bd23894af0918b96489b123a81;hp=376716929cd6b2804c5f739cb0dc3471e48fbb16;hpb=647aa505f55f0a19c65d18e7b9347edd164ab0e9;p=lilypond.git diff --git a/lily/page-layout-problem.cc b/lily/page-layout-problem.cc index 376716929c..7120c6c680 100644 --- a/lily/page-layout-problem.cc +++ b/lily/page-layout-problem.cc @@ -176,14 +176,14 @@ Page_layout_problem::add_footnotes_to_lines (SCM lines, int counter, Paper_book if (!s) { programming_error ("Your numbering function needs to return a stencil."); - footnote_number_markups.push_back (SCM_EOL); + footnote_number_markups.push_back (SCM_EOL); footnote_number_stencils.push_back (Stencil (Box (Interval (0, 0), Interval (0, 0)), SCM_EOL)); } else - { - footnote_number_markups.push_back (markup); - footnote_number_stencils.push_back (*s); - } + { + footnote_number_markups.push_back (markup); + footnote_number_stencils.push_back (*s); + } counter++; } @@ -201,8 +201,8 @@ Page_layout_problem::add_footnotes_to_lines (SCM lines, int counter, Paper_book { in_text_numbers = scm_cons (footnote_number_markups[i], in_text_numbers); footnote_number_stencils[i].translate_axis ((max_length - - footnote_number_stencils[i].extent (X_AXIS).length ()), - X_AXIS); + - footnote_number_stencils[i].extent (X_AXIS).length ()), + X_AXIS); numbers = scm_cons (footnote_number_stencils[i].smobbed_copy (), numbers); } @@ -262,9 +262,9 @@ Page_layout_problem::add_footnotes_to_lines (SCM lines, int counter, Paper_book Stencil annotation = *unsmob_stencil (scm_car (numbers)); annotation.translate_axis ((footnote_stencil.extent (Y_AXIS)[UP] - + number_raise - - annotation.extent (Y_AXIS)[UP]), - Y_AXIS); + + number_raise + - annotation.extent (Y_AXIS)[UP]), + Y_AXIS); footnote_stencil.add_at_edge (X_AXIS, LEFT, annotation, 0.0); numbers = scm_cdr (numbers); in_text_numbers = scm_cdr (in_text_numbers); @@ -301,9 +301,9 @@ Page_layout_problem::add_footnotes_to_lines (SCM lines, int counter, Paper_book if (!unsmob_stencil (in_text_stencil)) in_text_stencil = SCM_EOL; annotation.translate_axis ((footnote_stencil.extent (Y_AXIS)[UP] - + number_raise - - annotation.extent (Y_AXIS)[UP]), - Y_AXIS); + + number_raise + - annotation.extent (Y_AXIS)[UP]), + Y_AXIS); footnote_stencil.add_at_edge (X_AXIS, LEFT, annotation, 0.0); numbers = scm_cdr (numbers); in_text_numbers = scm_cdr (in_text_numbers);