From e33b1538fe76b5a030c6f8e65ed5f1ce85b84f19 Mon Sep 17 00:00:00 2001 From: Neil Puttock Date: Sat, 26 Jul 2008 19:51:42 +0100 Subject: [PATCH] Change short-indent behaviour. Harmonize with indent so that short instrument names are not indented in the margin. --- lily/output-def.cc | 4 +++- scm/paper.scm | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lily/output-def.cc b/lily/output-def.cc index 0e0259f128..a849afe69b 100644 --- a/lily/output-def.cc +++ b/lily/output-def.cc @@ -137,7 +137,9 @@ Interval line_dimensions_int (Output_def *def, int n) { Real lw = def->get_dimension (ly_symbol2scm ("line-width")); - Real ind = n ? 0.0 : def->get_dimension (ly_symbol2scm ("indent")); + Real ind = n + ? def->get_dimension (ly_symbol2scm ("short-indent")) + : def->get_dimension (ly_symbol2scm ("indent")); return Interval (ind, lw); } diff --git a/scm/paper.scm b/scm/paper.scm index 951addf12d..d587f5e9c0 100644 --- a/scm/paper.scm +++ b/scm/paper.scm @@ -207,7 +207,7 @@ size. SZ is in points" (ly:modules-lookup (list m) 'right-margin (* 10 mm)))) (module-define! m 'indent (/ w 14)) - (module-define! m 'short-indent (* 5 mm)) + (module-define! m 'short-indent 0) ;; page layout - what to do with (printer specific!) margin settings? -- 2.11.4.GIT