Re: HorizontalBracket's stencil

2020-01-22 Thread Paolo Prete
On Wed, Jan 22, 2020 at 8:47 PM Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Rutger,
>
> > Cannot you fake it using a TupletBracket (\tuplet 1/1) and override the
> TupletNumber.text?
>
> Absolutely — that’s a great solution.
>
>
Hi Kieren and Rutger,

Unfortunately I can't use this solution because I need to do the opposite:
I have to fake a TupletBracket with a HorizontalBracket.
I observed that TupletBracket is very buggy on cross-staff music. The
padding properties are 1) blacklisted in the code itself or 2) lead to
weird behavior (see this thread:
https://lists.gnu.org/archive/html/lilypond-user/2020-01/msg00482.html  ).
And I observed that I don't have these issues with HorizontalBracket...


The other (more flexible and configurable) solution is David Nalesnik’s
> MeasureAttachedSpanner.
>
>
Are you referring to this?

http://lsr.di.unimi.it/LSR/Item?id=954

IIUC it only applies on a full measure, and not on a group of notes.
Please correct me if I'm wrong.

Best,
P







> Cheers,
> Kieren.
> 
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
>


Re: HorizontalBracket's stencil

2020-01-22 Thread Kieren MacMillan
Hi Rutger,

> Cannot you fake it using a TupletBracket (\tuplet 1/1) and override the 
> TupletNumber.text?

Absolutely — that’s a great solution.

The other (more flexible and configurable) solution is David Nalesnik’s 
MeasureAttachedSpanner.

Cheers,
Kieren.


Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info




Re: HorizontalBracket's stencil

2020-01-22 Thread Rutger Hofman
Cannot you fake it using a TupletBracket (\tuplet 1/1) and override the 
TupletNumber.text?


Rutger

On 1/22/20 8:14 PM, Paolo Prete wrote:

Hello,

is it possible to obtain a stencil, for a HorizontalBracket, similar to 
the TupletBracket one?


Something like:

  some-text  
|                                     |

I see that there is a .bracket-flare property for the grob, but it's not 
enough for achieving this result. I wonder if at least I can copy the 
Scheme procedure for drawing the stencil from somewhere in the src of 
the project...


thanks
best,
P




HorizontalBracket's stencil

2020-01-22 Thread Paolo Prete
Hello,

is it possible to obtain a stencil, for a HorizontalBracket, similar to the
TupletBracket one?

Something like:

  some-text  
| |

I see that there is a .bracket-flare property for the grob, but it's not
enough for achieving this result. I wonder if at least I can copy the
Scheme procedure for drawing the stencil from somewhere in the src of the
project...

thanks
best,
P