From: Paul Morris Date: Fri, 20 Mar 2015 04:34:31 +0000 (-0400) Subject: add test staff-ledger-positions-dotted-notes.ly X-Git-Tag: release/2.19.18-1~7 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c2e7e635eb84f635b0134f93aa27a11db06e4677;p=lilypond.git add test staff-ledger-positions-dotted-notes.ly Issue 4040 (patch 2 of 2) tests positioning of dots on dotted notes with custom ledger line positions --- diff --git a/input/regression/staff-ledger-positions-dotted-notes.ly b/input/regression/staff-ledger-positions-dotted-notes.ly new file mode 100644 index 0000000000..3237af9a7e --- /dev/null +++ b/input/regression/staff-ledger-positions-dotted-notes.ly @@ -0,0 +1,16 @@ +\header { + + texidoc = "When the vertical positions of ledger lines have been +customized by setting the @code{ledger-positions} property of the +StaffSymbol, and a dotted note falls on a ledger line, the dot is shifted +up to avoid the ledger line (just as with uncustomized ledger lines)." +} + +\version "2.19.17" + +\new Staff \relative c' { + \override Staff.StaffSymbol.line-positions = #'(-3 0 3) + \override Staff.StaffSymbol.ledger-positions = #'(-3 0) + \override Staff.StaffSymbol.ledger-extra = #1 + f,4. g a b c d g' a b c d e +}