Alex,

Visually it is perfect! Thank you for the time you took to do this. It's still a grace note in midi, but I can live with that. As a grace note it does not affect lyrics, which is a plus. It's still in the midi output, but if I'm doing something with the midi, I can always comment out for midi and uncomment for pdf. Not a big issue.

Best regards,

Guy S.

On 12/15/2013 08:33 PM, Alex Loomis wrote:

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 <[email protected] <mailto:[email protected]>> 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 <[email protected]
    <mailto:[email protected]>> wrote:

        On Sun, Dec 15, 2013 at 8:35 PM, Guy Stalnaker
        <[email protected] <mailto:[email protected]>> 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
            [email protected] <mailto:[email protected]>

            On Dec 15, 2013, at 7:30 PM, Alex Loomis
            <[email protected]
            <mailto:[email protected]>> wrote:

            You mean like this?
            
http://www.lilypond.org/doc/v2.16/Documentation/notation/inside-the-staff#parentheses


            _______________________________________________
            lilypond-user mailing list
            [email protected] <mailto:[email protected]>
            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"




--

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

Guy Stalnaker, [email protected]


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to