... but is probably not the "better" way! 2016-02-10 14:18 GMT+01:00 Pierre Perol-Schneider < pierre.schneider.pa...@gmail.com>:
> Hi Andrew, > > In lhMusic mes.2 try : > ... > \tweak X-extent #'(0 . 0) > \tweak extra-offset #'(-3 . 0) > \key es \major > .... > > Cheers, > Pierre > > > 2016-02-10 13:36 GMT+01:00 N. Andrew Walsh <n.andrew.wa...@gmail.com>: > >> Hi List (again), >> >> here's another question, more general: I have a piano part in which the >> upper voice is to have one key signature, the lower to retain another one >> (namely, the right hand has \key c \major, while the left hand has \key es >> \major, which was also declared at the start of the piece). Something like >> this: >> >> \version "2.19.36" >> >> >> beambreakOn = { >> \set subdivideBeams = ##t >> \set baseMoment = #(ly:make-moment 1/8) >> \set beatStructure = #'(2 2 2 2) >> } >> >> beambreakOff = { >> \set subdivideBeams = ##f >> \set baseMoment = #(ly:make-moment 1/8) >> \set beatStructure = #'(2 2 2 2) >> } >> >> rhMusic = \relative c'' { >> \key es \major >> \time 4/8 >> r16 bes d bes d bes d bes | >> \key c \major >> \beambreakOn \tuplet 3/2 { es,\( f g } \tuplet 3/2 { a b cis } dis4\) | >> } >> >> lhMusic = \relative c { >> \clef bass >> \key es \major >> \time 4/8 >> << >> { r16 d f d f d f d | } >> \\ >> { bes2 | } >> >> >> \key es \major >> << >> { es,16 bes' es bes g' d g d | } >> \\ >> { es,2 | } >> >> >> } >> >> \score { >> >> \new PianoStaff << >> \new Staff = "RH" << >> \rhMusic >> >> >> \new Staff = "LH" << >> \lhMusic >> >> >> >> >> } >> ------------ >> My issue is as follows: the engraver in charge of key signatures is >> displacing that second "\key es \major" expression in the left hand, >> presumably because there was already one in place from the beginning (or >> perhaps because it's assuming a possible collision with the "\key c \major" >> expression in the right hand). In either case, what I would prefer is that >> both new key signatures are not displaced horizontally, so that the second >> "\key es \major" is, in effect, merely a cautionary repetition of the one >> from the start and aligned underneath the naturals of the "\key c \major" >> expression in the right hand. >> >> Is there a better way to do this? >> >> Cheers, >> >> A >> >> _______________________________________________ >> lilypond-user mailing list >> lilypond-user@gnu.org >> https://lists.gnu.org/mailman/listinfo/lilypond-user >> >> >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user