|
From: | MING TSANG |
Subject: | Re: Custom key signature stencils, differentiating major and minor keys |
Date: | Tue, 13 Nov 2012 04:26:27 -0800 (PST) |
From: Paul Morris <address@hidden>
To: MING TSANG <address@hidden>
Sent: Monday, November 12, 2012 10:54:56 PM
Subject: Re: Custom key signature stencils, differentiating major and minor keys
Hi Ming,Yes, I saw that too... There is a padding setting that sets the distance between the top of the key signature and the name above it. So you could increase this until it no longer overlapped in the bass clef, but this might create too much space in other places?For example change the .5 in this:(ly:stencil-scale (grob-interpret-markup grob key-name) .7 .7).5 ))To 1.1 like so:(ly:stencil-scale (grob-interpret-markup grob key-name) .7 .7)1.1 ))That pushes the name up above the bass staff, but it also increases the distance in all the other places as well.Cheers,-PaulPS. Sorry for resending my previous message. I realized I did not send it to the lily-user list before.On Nov 12, 2012, at 10:33 PM, MING TSANG <address@hidden> wrote:Hi, Paul:
Thank you for the sample placement of the "\consists \Custom_key_sig_engraver".
One minor drawback: The alternative key signature on Bass is on the staff line, not above the staff. How can I adjust it?Blessing in+,Ming.
From: Paul Morris <address@hidden>
To: MING TSANG <address@hidden>
Sent: Monday, November 12, 2012 9:53:31 PM
Subject: Re: Custom key signature stencils, differentiating major and minor keys
On Nov 12, 2012, at 2:42 PM, MING TSANG <address@hidden> wrote:Hi, Paul:
I try to use custon-key-signature in my lilypond score and I did not get the alternative key printed above the traditional key signature. What is missing in the code below? I have "\Staff \consists \Custom_key_sig_engraver" in \layout as seen in your sample.
Hi Ming, It looks like you need to just put \consists \Custom_key_sig_engraver in the \with block for each of the three staves in your score as shown below. Then you don't need it in the layout block. The following changes below got it to work for me.Cheers,-Paul[...]sopranoVoicePart = \new Staff \with { \consists #numbr\consists \Custom_key_sig_engraverinstrumentName = "Soprano"%midiInstrument = "choir aahs"} { \sopranoVoiceI }\addlyrics { \verseSopranoVoiceI }pianoPart = \new PianoStaff \with {instrumentName = "Piano"} <<\new Staff = "right" \with {\consists \Custom_key_sig_engravermidiInstrument = "acoustic grand"} \right\new Staff = "left" \with {\consists \Custom_key_sig_engravermidiInstrument = "acoustic grand"} { \clef bass \left }>>\score {<<\sopranoVoicePart\pianoPart>>\layout {\context {\RemoveEmptyStaffContext\override VerticalAxisGroup #'remove-first = ##t}}}
2012-11-13_071549.png
Description: PNG image
christmas-favorites-medley_SATB.ly
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |