Disclaimer: the override inside of the relative block comes from this
thread<http://code.google.com/p/lilypond/issues/detail?id=155>,
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

}


On Sun, Dec 15, 2013 at 8:47 PM, Alex Loomis <thebluemusic...@gmail.com>wrote:

> The following works, but it doesn't exactly look nice. I'll play around
> with it a little to see if I can clean it up.
>
>
> \version "2.17.29"
>
> {dis' \grace{ \parenthesize es'8 }}
>
>
> On Sun, Dec 15, 2013 at 8:39 PM, Nick Baskin <amphio...@gmail.com> wrote:
>
>> On Sun, Dec 15, 2013 at 8:35 PM, Guy Stalnaker <jimmyg...@gmail.com>wrote:
>>
>>> No. It is the notational equivalent of:
>>>
>>> ds (ef) | ef
>>>
>>> The (ef) would be transparent to midi and lyrics.
>>>
>>> --
>>> "There is only love, and then oblivion. Love is all we have
>>> to set against hatred." (paraphrased) Ian McEwan
>>>
>>> Guy Stalnaker
>>> jimmyg...@gmail.com
>>>
>>> On Dec 15, 2013, at 7:30 PM, Alex Loomis <thebluemusic...@gmail.com>
>>> wrote:
>>>
>>> You mean like this?
>>> http://www.lilypond.org/doc/v2.16/Documentation/notation/inside-the-staff#parentheses
>>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>> If you override the trill stencil to be transparent or nonexistent, it's
>> possible the pitched trill interface (
>> http://www.lilypond.org/doc/v2.16/Documentation/notation/expressive-marks-as-lines#trills)
>>  will do what you need?
>>
>> HTH
>> Nick
>>
>> --
>> And she forgot the stars, the moon, and sun,
>> And she forgot the blue above the trees,
>> And she forgot the dells where waters run,
>> And she forgot the chilly autumn breeze...
>>
>> — Keats, "Isabella, or the Pot of Basil"
>>
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to