[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting the width of system-starter curly braces
From: |
Siska Ádám |
Subject: |
Re: Setting the width of system-starter curly braces |
Date: |
Mon, 19 Mar 2012 01:21:38 +0100 |
Hi MacMillan,
On 2012.03.19., at 1:09, Kieren MacMillan wrote:
> Hi Siska,
>
>> thank you indeed for the reply. Unfortunately I can't get this code to work
>
> Here's a snippet, using David's lovely mod — hope it helps.
> Kieren.
> _________________________
>
> \version "2.15.32"
>
> theMusic = \relative c' { \repeat "unfold" 16 c4 }
>
> \new GrandStaff <<
> \set GrandStaff.instrumentName = #"Corni"
> \set GrandStaff.shortInstrumentName = #"Cor."
> \new Staff {
> \set Staff.instrumentName = #"I"
> \set Staff.shortInstrumentName = #"I"
> \theMusic
> }
> \new Staff {
> \set Staff.instrumentName = #"II"
> \set Staff.shortInstrumentName = #"II"
> \theMusic
> }
> \new Staff {
> \set Staff.instrumentName = #"III"
> \set Staff.shortInstrumentName = #"III"
> \theMusic
> }
> \new Staff {
> \set Staff.instrumentName = #"IV"
> \set Staff.shortInstrumentName = #"IV"
> \theMusic
> }
>>>
>
> \layout {
> \context {
> \GrandStaff
> \override SystemStartBrace #'stencil = #(lambda (grob)
> (ly:stencil-scale (ly:system-start-delimiter::print grob) 0.75 1))
> }
> }
this is quite weird. This code compiles fine. However, in my original score it
doesn't work. After some more experimenting, I figured out that the problem is,
that I have the \RemoveEmptyStaves in the \Staff context. After removing that,
it compiled just fine. Maybe it's some bug. Anyway, the \RemoveEmptyStaves is
not that important for this particular score, so I disabled it.
Thank you for your help,
Ádám