|
From: | James Worlton |
Subject: | Re: Parentheses overrides |
Date: | Fri, 6 Feb 2015 13:53:41 -0600 |
Cheers,With "my" words I'd say that it'll help you to add or reduce the space before and/or after a grob.As english isn't my native language I'm not sure to find the right words.Manual says it "computes the width of an object" (see: http://lilypond.org/doc/v2.19/Documentation/extending/callback-functions.html).
Pierre2015-02-06 20:08 GMT+01:00 James Worlton <address@hidden>:Thanks, Pierre. That's exactly what I'm looking for. So what does the ParenthesesItem X-extent do?James WOn Fri, Feb 6, 2015 at 12:49 PM, Pierre Perol-Schneider <address@hidden> wrote:HTH,So here it goes :If I follow you, you'd rather extent the note head.Hi James,I understand the idea but I thing you missunderstand the X-extent effect.
\version "2.19.15"
parenWider = {
\once\override NoteHead.X-extent = #'(-1.5 . 1.3)
\once\override Accidental.X-extent = #'(1.5 . 0)
\once\override Accidental.extra-offset = #'(1.5 . 0)
}
\score {
\new Staff { \parenWider \parenthesize fis'4 }
}
Pierre
[Prev in Thread] | Current Thread | [Next in Thread] |