[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Override SystemStartSquare width?
From: |
Thomas Morley |
Subject: |
Re: Override SystemStartSquare width? |
Date: |
Sat, 19 Nov 2016 00:25:55 +0100 |
2016-11-17 11:38 GMT+01:00 dtsmarin <address@hidden>:
> Hi Thomas,
>
> My code uses Scorlatti font and I'm trying to replicate SCORE's look.
> <http://lilypond.1069038.n5.nabble.com/file/n196771/scorelook.png>
>
> I simply changed the offset and width of the brackets because Lilypond's
> defaults are so far from the staves. Also I can't fix the vertical distance
> of the brackets even if I used this code:
> \override StaffGroup.SystemStartBracket.stencil =
> #(lambda (grob)
> (let* ((stil (ly:system-start-delimiter::print grob))
> (extra-height (ly:grob-property grob 'padding))
> (yext (ly:stencil-extent stil Y))
> (ytop (cdr yext))
> (ylen (interval-length yext))
> (yfinal (+ ylen (* 2 extra-height)))
> (yscale (/ yfinal ylen))
> )
> (ly:stencil-translate
> (ly:stencil-scale
> (ly:stencil-translate stil (cons 0 (- ytop)))
> 1 yscale)
> (cons 0 (+ ytop extra-height)))
> ))
>
> I'm trying to achieve this type of bracketing (for violin sections when
> multiple staves are used)
> <http://lilypond.1069038.n5.nabble.com/file/n196771/gouldexample.png>
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Override-SystemStartSquare-width-tp196731p196771.html
> Sent from the User mailing list archive at Nabble.com.
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
Hi,
sorry for the late reply.
For unknown reasons _all_ your posts are send to my spam-box first,
which I don't check frequently.
Seems gmail doesn't like yahoo.
Will have a look at it the upcoming weekend.
Cheers,
Harm
- Override SystemStartSquare width?, dtsmarin, 2016/11/16
- Re: Override SystemStartSquare width?, Nathan Ho, 2016/11/17
- Re: Override SystemStartSquare width?, Thomas Morley, 2016/11/17
- Re: Override SystemStartSquare width?, dtsmarin, 2016/11/17
- Re: Override SystemStartSquare width?,
Thomas Morley <=
- Re: Override SystemStartSquare width?, Thomas Morley, 2016/11/19
- Re: Override SystemStartSquare width?, dtsmarin, 2016/11/19
- Re: Override SystemStartSquare width?, dtsmarin, 2016/11/20
- Re: Override SystemStartSquare width?, Simon Albrecht, 2016/11/20
- Re: Override SystemStartSquare width?, dtsmarin, 2016/11/20
- Re: Override SystemStartSquare width?, Simon Albrecht, 2016/11/20
- Re: Override SystemStartSquare width?, dtsmarin, 2016/11/20
- Re: Override SystemStartSquare width?, Thomas Morley, 2016/11/20
- Re: Override SystemStartSquare width?, Simon Albrecht, 2016/11/20