]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/page-layout-problem.cc
Doc-es: update Input, Rhythms, Vocal.
[lilypond.git] / lily / page-layout-problem.cc
index 376716929cd6b2804c5f739cb0dc3471e48fbb16..7120c6c68094ffe9aebe9ea75640c184885d7838 100644 (file)
@@ -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);