Oh my god! I do a lot with lilypond, but it's moments like these when I learn 
just how much I do not know about it. Amusing there appears to be stuff you 
don't understand, too. LOL I know it's all relative, but still.

Thank you. I'm headed to bed here in Wisconsin. Will try it out tomorrow.

Guy

-- 
"There is only love, and then oblivion. Love is all we have
to set against hatred." (paraphrased) Ian McEwan

Guy Stalnaker
[email protected]

> On Dec 15, 2013, at 8:33 PM, Alex Loomis <[email protected]> wrote:
> 
> Disclaimer: the override inside of the relative block comes from this thread, 
> I have no idea how it works.
> 
> \version "2.17.29"
> 
> reminder =
> #(define-music-function
> (parser location note)
> (ly:music?)
> #{
> \once \override ParenthesesItem #'font-size = #3
> \once \override NoteColumn #'X-offset = #1
> \grace { \parenthesize $note }
> \once \override NoteColumn #'X-offset = #1
> #}
> )
> 
> \relative c' {
> \override ParenthesesItem #'stencil = #(lambda (grob)
> (let* ((acc (ly:grob-object (ly:grob-parent grob Y) 'accidental-grob))
> (dot (ly:grob-object (ly:grob-parent grob Y) 'dot)))
> (if (not (null? acc)) (ly:pointer-group-interface::add-grob grob 'elements 
> acc))
> (if (not (null? dot)) (ly:pointer-group-interface::add-grob grob 'elements 
> dot))
> (parentheses-item::print grob)))
> dis \reminder e! f
> }
> 
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to