[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Override SystemStartSquare width?
From: |
dtsmarin |
Subject: |
Re: Override SystemStartSquare width? |
Date: |
Thu, 17 Nov 2016 03:38:38 -0700 (MST) |
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.
- 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 <=
- Re: Override SystemStartSquare width?, Thomas Morley, 2016/11/18
- 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