]> git.donarmstrong.com Git - lilypond.git/commitdiff
StringNumber: change 'avoid-slur setting to 'around.
authorNeil Puttock <n.puttock@gmail.com>
Sun, 24 Aug 2008 19:54:41 +0000 (20:54 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sun, 24 Aug 2008 19:54:41 +0000 (20:54 +0100)
Add regression test.

input/regression/string-number-around-slur.ly [new file with mode: 0644]
scm/define-grobs.scm

diff --git a/input/regression/string-number-around-slur.ly b/input/regression/string-number-around-slur.ly
new file mode 100644 (file)
index 0000000..42c8a39
--- /dev/null
@@ -0,0 +1,12 @@
+\version "2.11.57"
+
+\header {
+  texidoc = "String numbers should only be moved outside slurs when there
+is a collision."
+}
+
+\relative c'' {
+  \textLengthOn
+  <c\3>4-"inside"( d' <e,\2>-"inside" g
+  <c\1>1-"outside")
+}
index d43ce82efcd375617de9047cdba399b048df210d..f8a6526acf6659202a3845cc2e9a1454ed301da1 100644 (file)
        (self-alignment-X . ,CENTER)
        (self-alignment-Y . ,CENTER)
        (script-priority . 100)
-       (avoid-slur . outside)
+       (avoid-slur . around)
        (font-encoding . fetaNumber)
        (font-size . -5)                ; don't overlap when next to heads.
        (meta . ((class . Item)