(Please be sure to repond to the list) Hi Ziad, Here's another possibility. Liltlle hacky though. Needed v2.19:
%%%%%%%%%%% \version "2.19.48" %% <= needed! \score { \new Staff = "sopranoStaff" << \new Voice = "melody" { \relative a' { a1 % common note for Sop.1 and Sop.2 << { \voiceOne fis2. fis4 fis1 % Sop.1 } \new Voice { \voiceTwo b,1 cis4 cis cis2 } \new Devnull = "divisiStaff" \with { \consists Drum_notes_engraver \hideNotes } { b,1 cis4 cis cis2 } %% <= re-copy \new Lyrics \with { alignAboveContext = #"sopranoStaff" } \lyricsto "divisiStaff" { oh oh oh oh } >> \oneVoice d'1 } } \new Lyrics \lyricsto "melody" { ah ah ah ah ah } >> } %%%%%%%%% Cheers, Pierre 2016-10-02 18:35 GMT+02:00 Ziad Gholam <zrgho...@gmail.com>: > Merci encore, Pierre > > > Unfornutately, although your solution "does work" when i copy it into a > new file and compile it, > when i use the same \with { alignAboveContext = "staff" } ... > the solution "does not work" ... > > Perhaps i forgot o mention that before the spliting of the soprani voice, > there are many many measures where the soprani are not split into Sop.1 > and Sop.2 ... > The lyrics must printed BELOW the staff, as it is usually done ... > > The same thing applies after the 4 measures split, i.e. thera are still 3 > or 4 measures > where the soprani voices are re-united ... > > In fact, it is ONLY for 4 measures that the Sop.1 lyrics should be ABOVE > the staff, > and the Sop.2 lyrics BELOW the staff, then, after all > this "turmoil ;-) " the soprani common lyrics should be printed BELOW > the staff ... > > > I am really sorry to bother the Lillypond community" for that (small ?) > issue ... > > > Regards, > Ziad > > > > > 2016-10-01 18:50 GMT+02:00 Pierre Perol-Schneider < > pierre.schneider.pa...@gmail.com>: > >> Sure Ziad, >> It's in the same doc: >> http://lilypond.org/doc/v2.18/Documentation/notation/techniq >> ues-specific-to-lyrics#placing-lyrics-vertically >> >> e.g; >> >> \version "2.18.2" >> >> \score { >> \new Staff = "staff" << >> \new Voice = "melody" { >> \relative a' { >> << >> { >> >> \voiceOne >> a1 % common note for Sop.1 and Sop.2 >> fis2. fis4 fis1 % Sop.1 >> } >> \new Voice = "splitpart" { >> \voiceTwo >> s1 % skip 1 >> b,1 cis4 cis cis2 >> } >> >> >> \oneVoice >> d1 >> } >> } >> \new Lyrics \with { alignAboveContext = "staff" } \lyricsto "melody" { >> ah ah ah ah ah >> } >> \new Lyrics \lyricsto "splitpart" { >> oh oh oh oh >> } >> >> >> } >> >> >> Cheers, >> Pierre >> >> 2016-10-01 11:31 GMT+02:00 Ziad Gholam <zrgho...@gmail.com>: >> >>> Merci Pierre, >>> >>> >>> That really, really helped me ! ! >>> >>> >>> >>> To complete my "happyness", ... , could you please tell me : >>> how to put the Sop.1 lyrics (when soprano voice is split) ABOVE the >>> staff >>> and Sop.2 lyrics BELOW (as usual) the staff ? >>> >>> i.e. using your example (cf. infra) : put the "ah ah ah ah ah" above the >>> staff >>> and the "oh oh oh oh" BELOW the staff (as it is done usually) ... >>> >>> >>> >>> >>> \version "2.18.2" >>> >>> \score { >>> << >>> \new Voice = "melody" { >>> \relative a' { >>> << >>> { >>> \voiceOne >>> a1 % common note for Sop.1 and Sop.2 >>> fis2. fis4 fis1 % Sop.1 >>> } >>> \new Voice = "splitpart" { >>> \voiceTwo >>> s1 % skip 1 >>> b,1 cis4 cis cis2 >>> } >>> >> >>> \oneVoice >>> d1 >>> } >>> } >>> \new Lyrics \lyricsto "melody" { >>> ah ah ah ah ah >>> } >>> \new Lyrics \lyricsto "splitpart" { >>> oh oh oh oh >>> } >>> >> >>> } >>> >>> >>> >>> 2016-10-01 7:55 GMT+02:00 Pierre Perol-Schneider < >>> pierre.schneider.pa...@gmail.com>: >>> >>>> Hi Ziad, >>>> See: http://lilypond.org/doc/v2.18/Documentation/notation/techniq >>>> ues-specific-to-lyrics >>>> E.g.: >>>> >>>> \version "2.18.2" >>>> >>>> \score { >>>> << >>>> \new Voice = "melody" { >>>> \relative a' { >>>> << >>>> { >>>> \voiceOne >>>> a1 % common note for Sop.1 and Sop.2 >>>> fis2. fis4 fis1 % Sop.1 >>>> } >>>> \new Voice = "splitpart" { >>>> \voiceTwo >>>> s1 % skip 1 >>>> b,1 cis4 cis cis2 >>>> } >>>> >> >>>> \oneVoice >>>> d1 >>>> } >>>> } >>>> \new Lyrics \lyricsto "melody" { >>>> ah ah ah ah ah >>>> } >>>> \new Lyrics \lyricsto "splitpart" { >>>> oh oh oh oh >>>> } >>>> >> >>>> } >>>> >>>> >>>> Does that help? >>>> Cheers, >>>> Pierre >>>> >>>> 2016-10-01 0:24 GMT+02:00 Pierre Perol-Schneider < >>>> pierre.schneider.pa...@gmail.com>: >>>> >>>>> Hi Ziad, >>>>> >>>>> Too tired right now to help you. >>>>> Please provide a compilable example: >>>>> http://lilypond.org/tiny-examples.html >>>>> >>>>> Cheers, >>>>> Pierre >>>>> >>>>> 2016-09-30 16:53 GMT+02:00 Ziad Gholam <zrgho...@gmail.com>: >>>>> >>>>>> Hello Lillypond users >>>>>> >>>>>> >>>>>> I am facing a small problem ... >>>>>> >>>>>> I'd like to mometarely ( i.e. for 4 mesures only) separate the >>>>>> Soprani voice into 2 voices, >>>>>> - either on the same stave or >>>>>> - on 2 different staves ... >>>>>> >>>>>> Unfortunately, there are different lyrics on each voice, in these 4 >>>>>> mesures !!! >>>>>> >>>>>> >>>>>> I tried this : >>>>>> >>>>>> >>>>>> a1 % common note for Sop.1 and Sop.2 >>>>>> << >>>>>> { >>>>>> \voiceOne >>>>>> fis2. fis4 >>>>>> fis1 >>>>>> } >>>>>> \new Voice >>>>>> { >>>>>> \voiceTwo >>>>>> b1 >>>>>> cis4 cis cis2 >>>>>> } >>>>>> >> >>>>>> \oneVoice >>>>>> d1 % common note for Sop.1 and Sop.2 >>>>>> >>>>>> ... >>>>>> >>>>>> but the lyrics are not "in the right place" ... >>>>>> >>>>>> Can anyone help ? >>>>>> >>>>>> thanks >>>>>> >>>>>> >>>>>> Z. >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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