Nick Payne <[email protected]> writes:

> On 05/01/13 14:27, Andrew Bernard wrote:
>> On 5/01/13 2:02 PM, Nick Payne wrote:
>>> You could use a left parenthesis and omit the upprall:
>>>
>>> \version "2.17.9"
>>>
>>> { c'-\tweak bound-details.left.text
>>>               \markup { \fontsize #-5 { \musicglyph
>>> #"accidentals.leftparen" } }
>>>        \tweak bound-details.left.stencil-offset #'(0.02 . -0.65)
>>>        \startTrillSpan
>>>    d'
>>>    c'2\stopTrillSpan }
>> Thanks! Solves the matter for me very well indeed.
>
> You can wrap it up more neatly if you're using it in several locations:
>
> \version "2.17.9"
>
> beginPrallSpan = #(define-event-function (parser location) ()
>   #{
>     \tweak bound-details.left.text
>       \markup { \fontsize #-5 { \musicglyph #"accidentals.leftparen" } }
>     \tweak bound-details.left.stencil-offset #'(0.02 . -0.65)
>     \startTrillSpan
>   #}
> )

No need for a function here.

beginPrallSpan =
 \tweak bound-details.left.text
   \markup { \fontsize #-5 { \musicglyph #"accidentals.leftparen" } }
 \tweak bound-details.left.stencil-offset #'(0.02 . -0.65)
 \startTrillSpan

-- 
David Kastrup


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

Reply via email to