From d1ca9346d8e86b873c3cf5511105b0252e6c54ad Mon Sep 17 00:00:00 2001 From: Paul Morris Date: Sat, 23 Apr 2016 16:04:56 -0400 Subject: Issue 4828/2: Add StaffSymbol.ledger-positions-function Lets the user provide a (quoted) function that is used to determine the list of ledger positions for a given note head position. --- scm/define-grob-properties.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scm') diff --git a/scm/define-grob-properties.scm b/scm/define-grob-properties.scm index dcf9705998..60b9d5b000 100644 --- a/scm/define-grob-properties.scm +++ b/scm/define-grob-properties.scm @@ -579,6 +579,9 @@ are added.") When set on a @code{StaffSymbol} grob it defines a repeating pattern of ledger lines and any parenthesized groups will always be shown together.") + (ledger-positions-function ,scheme? "A quoted Scheme procedure that +takes a @code{StaffSymbol} grob and the vertical position of a note head +as arguments and returns a list of ledger line positions.") (left-bound-info ,list? "An alist of properties for determining attachments of spanners to edges.") (left-padding ,ly:dimension? "The amount of space that is put -- cgit v1.2.3