Amazing, ty all

Il giorno lun 3 feb 2020 alle 10:19 Pierre Perol-Schneider <
pierre.schneider.pa...@gmail.com> ha scritto:

> Hi Marco, hi Kevin,
>
> If you want to stick to the image, I'd modified Kevin's coding as:
>
> {
>   \override TextSpanner.bound-details.left.padding = #3.5
>   \override TextSpanner.bound-details.right.padding = #-3.5
>   \override TextSpanner.bound-details.left.text = \markup \lower #1 "fill "
>   \override TextSpanner.thickness = #1.8
>   \override TextSpanner.dash-fraction = #.5
>   \override TextSpanner.dash-period = #2
>   \override TextSpanner.bound-details.right.text = \markup \draw-line #'(0
> . -1)
>   \override Rest.stencil = #ly:percent-repeat-item-interface::beat-slash
>   \override Rest.thickness = #0.48
>   \override Rest.slope = #1
>   \override Rest.X-extent = #'(-2 . 2)
>   r4 r\startTextSpan r r \stopTextSpan
>   r r r
> }
>
> Cheers,
> Pierre
>
> Le lun. 3 févr. 2020 à 09:24, Kevin Barry <barr...@gmail.com> a écrit :
>
>> On Mon, Feb 03, 2020 at 08:41:21AM +0100, Marco Bagolin wrote:
>> > I tried to use:
>> >
>> > \ottava #1
>> > \set Staff.ottavation = #”fill”
>> > ... music in drum mode...
>> > \ottava #0
>> >
>> > but obviously it can not work in drum mode...
>>
>> Hi Marco,
>>
>> Perhaps a TextSpanner would be a better choice for this. Does something
>> like the below do what you want?
>>
>> {
>>   \override TextSpanner.bound-details.left.text = \markup \lower #1 "fill"
>>   \override TextSpanner.bound-details.right.text = \markup
>> \draw-dashed-line #'(0 . -1)
>>   \override TextSpanner.to-barline = ##t
>>   c'4\startTextSpan c' c' c'
>>   c'\stopTextSpan
>> }
>>
>> Kevin
>>
>>

Reply via email to