Re: Another Lyrics spacing issue.
2016-03-18 4:57 GMT+01:00 Hwaen Ch'uqi : > Greetings, > > Yes, this is perfect! I am sheepish to admit that I do not quite > understand the solution. For example, if I were to leave out the first > measure in the code I submitted and then compiled, there appears a > large gap between the penultimate and the final word of the spoken > dialogue? Could you enlighten me as to this? Thank you again for your > solution! > > Hwaen Ch'uqi I can't reproduce the problem with the gap, could you post the code? For the other things: There are two problems: (1) Creating new contexts vs continuing them. Your code created two _new_ Lyric-contexts. LilyPond sorts newly created contexts below the already existing ones, so the Lyrics were note aligned. Regard this small example: << \new Voice = "one" { c''1 << r1 \new Lyrics = "lyr2" \with { \override LyricText.color = #red } \lyricmode { barbarbarbarbar } >> d'' } \new Lyrics = "lyr1" \lyricsto "one" { foo buzz } >> \new Lyrics = "lyr2" is _not_ a continuation of \new Lyrics = "lyr1" (and thus the context-modification via \with { ... } works) Naming them "lyr1/2" is only for better understanding, you can delete the names, without changing what works or not. Compare with: << \new Voice = "one" { c''1 << r1 \context Lyrics = "lyr1" \with { \override LyricText.color = #red } \lyricmode { barbarbarbarbar } >> d'' } \new Lyrics = "lyr1" \lyricsto "one" { foo buzz } >> \context Lyrics = "lyr1" _is_ a continuation of \new Lyrics = "lyr1" and the lyrics _are_ aligned. You can delete the naming as well, but _if_ you use names they should be the same! n.b. the context-modification via does _not_ work!! (2) context-modifications If you continue a context via \context you obviously can't use \with { ... } to insert there context-modifications like overrides. You need to do \override and \revert in the music-expression. << \new Voice = "one" { c''1 << r1 \context Lyrics = "lyr" %% doesn't work: \with { \override LyricText.color = #red } \lyricmode { \override LyricText.self-alignment-X = #LEFT barbarbarbarbar \revert LyricText.self-alignment-X } >> d'' } \new Lyrics = "lyr" %% works: \with { \override LyricText.color = #cyan } \lyricsto "one" { foo buzz } >> Hope that helps a bit, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Another Lyrics spacing issue.
Greetings, Yes, this is perfect! I am sheepish to admit that I do not quite understand the solution. For example, if I were to leave out the first measure in the code I submitted and then compiled, there appears a large gap between the penultimate and the final word of the spoken dialogue? Could you enlighten me as to this? Thank you again for your solution! Hwaen Ch'uqi On 3/16/16, Thomas Morley wrote: > 2016-03-16 19:54 GMT+01:00 Hwaen Ch'uqi : >> Greetings All, >> >> I have been having another puzzling alignment issue involving >> competing Lyrics contexts.. The result of this code is again that the >> part to be shouted by the chorus prints before the spoken line of the >> single character is finished. I believe I have correctly attempted the >> spacing solution given in the NR, but to no avail. I have tried other >> ways of manipulating the code (which I alas cannot reproduce at the >> moment), which results in a correct alignment between the solo >> character and the Chorus, but there is then an unwanted gap between >> the penultimate and last words of the spoken line. Is there a way to >> resolve this so that there is neither a gap in the spoken text nor a >> collision between the two lines? Ideally, I would like to accomplish >> this using a double-dotted half rest rather than the half and dotted >> quarter rsts shown below. Thank you so much for any help. >> >> Hwaen Ch'uqi >> >> \version "2.18.2" >> >> #(set-global-staff-size 17.82) >> >> \score{ >> << >> \new Voice = "Darcy" \relative c' { >> \autoBeamOff >> \compressFullBarRests >> \key d \major \time 2/2 \clef treble >> a'8 r r4 r2 %62 >> R1*3 %63-65 >> << >> { >> r2 r4.\fermata >> } >> \new Lyrics \with { >> % \consists "Bar_engraver" >> % \override BarLine.transparent = ##t >> \override LyricText.font-shape = #'italic >> \override LyricText.self-alignment-X = #LEFT >> } >> { >> \lyricmode { >> \markup { >> \line { >> \fontsize #1 \upright \smallCaps Esther: "Hey! I don't >> feel so icky" >> } >> }8*4 >> "anymore!"8*3 >> } >> } >> >> >> \override NoteHead.style = #'cross >> b8^\markup \fontsize #1 \smallCaps {Sasha and Chorus} %66 >> b r r4 r2\bar "|." %67 >> } >> \new Lyrics \lyricsto "Darcy" { >> \override LyricHyphen.minimum-distance = #1.0 >> \set lyricMelismaAlignment = #CENTER >> long. >> Hur -- ray! >> } >> >> >> } > > > > Hi, > > do you mean like below? > > \version "2.18.2" > > #(set-global-staff-size 17.82) > > \score{ > << > \new Voice = "Darcy" \relative c' { > \autoBeamOff > \compressFullBarRests > \key d \major \time 2/2 \clef treble > a'8 r r4 r2 %62 > R1*3 %63-65 > << > { > r2..\fermata > } > \context Lyrics = "lyr" > { > \lyricmode { > \override LyricText.font-shape = #'italic > \override LyricText.self-alignment-X = #LEFT > \markup { > \line { > \fontsize #1 \upright \smallCaps Esther: "Hey! I > don't feel so icky" > } > }8*4 > "anymore!"8*3 > \revert LyricText.self-alignment-X > } > } > >> > \override NoteHead.style = #'cross > b8^\markup \fontsize #1 \smallCaps {Sasha and Chorus} %66 > b r r4 r2\bar "|." %67 > } > \context Lyrics = "lyr" \lyricsto "Darcy" { > \override LyricHyphen.minimum-distance = #1.0 > \set lyricMelismaAlignment = #CENTER > long. > Hur -- ray! > } > >> > } > > > Cheers, > Harm > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Another Lyrics spacing issue.
2016-03-16 19:54 GMT+01:00 Hwaen Ch'uqi : > Greetings All, > > I have been having another puzzling alignment issue involving > competing Lyrics contexts.. The result of this code is again that the > part to be shouted by the chorus prints before the spoken line of the > single character is finished. I believe I have correctly attempted the > spacing solution given in the NR, but to no avail. I have tried other > ways of manipulating the code (which I alas cannot reproduce at the > moment), which results in a correct alignment between the solo > character and the Chorus, but there is then an unwanted gap between > the penultimate and last words of the spoken line. Is there a way to > resolve this so that there is neither a gap in the spoken text nor a > collision between the two lines? Ideally, I would like to accomplish > this using a double-dotted half rest rather than the half and dotted > quarter rsts shown below. Thank you so much for any help. > > Hwaen Ch'uqi > > \version "2.18.2" > > #(set-global-staff-size 17.82) > > \score{ > << > \new Voice = "Darcy" \relative c' { > \autoBeamOff > \compressFullBarRests > \key d \major \time 2/2 \clef treble > a'8 r r4 r2 %62 > R1*3 %63-65 > << > { > r2 r4.\fermata > } > \new Lyrics \with { > % \consists "Bar_engraver" > % \override BarLine.transparent = ##t > \override LyricText.font-shape = #'italic > \override LyricText.self-alignment-X = #LEFT > } > { > \lyricmode { > \markup { > \line { > \fontsize #1 \upright \smallCaps Esther: "Hey! I don't > feel so icky" > } > }8*4 > "anymore!"8*3 > } > } > >> > \override NoteHead.style = #'cross > b8^\markup \fontsize #1 \smallCaps {Sasha and Chorus} %66 > b r r4 r2\bar "|." %67 > } > \new Lyrics \lyricsto "Darcy" { > \override LyricHyphen.minimum-distance = #1.0 > \set lyricMelismaAlignment = #CENTER > long. > Hur -- ray! > } > >> > } Hi, do you mean like below? \version "2.18.2" #(set-global-staff-size 17.82) \score{ << \new Voice = "Darcy" \relative c' { \autoBeamOff \compressFullBarRests \key d \major \time 2/2 \clef treble a'8 r r4 r2 %62 R1*3 %63-65 << { r2..\fermata } \context Lyrics = "lyr" { \lyricmode { \override LyricText.font-shape = #'italic \override LyricText.self-alignment-X = #LEFT \markup { \line { \fontsize #1 \upright \smallCaps Esther: "Hey! I don't feel so icky" } }8*4 "anymore!"8*3 \revert LyricText.self-alignment-X } } >> \override NoteHead.style = #'cross b8^\markup \fontsize #1 \smallCaps {Sasha and Chorus} %66 b r r4 r2\bar "|." %67 } \context Lyrics = "lyr" \lyricsto "Darcy" { \override LyricHyphen.minimum-distance = #1.0 \set lyricMelismaAlignment = #CENTER long. Hur -- ray! } >> } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Another Lyrics spacing issue.
Greetings All, I have been having another puzzling alignment issue involving competing Lyrics contexts.. The result of this code is again that the part to be shouted by the chorus prints before the spoken line of the single character is finished. I believe I have correctly attempted the spacing solution given in the NR, but to no avail. I have tried other ways of manipulating the code (which I alas cannot reproduce at the moment), which results in a correct alignment between the solo character and the Chorus, but there is then an unwanted gap between the penultimate and last words of the spoken line. Is there a way to resolve this so that there is neither a gap in the spoken text nor a collision between the two lines? Ideally, I would like to accomplish this using a double-dotted half rest rather than the half and dotted quarter rsts shown below. Thank you so much for any help. Hwaen Ch'uqi \version "2.18.2" #(set-global-staff-size 17.82) \score{ << \new Voice = "Darcy" \relative c' { \autoBeamOff \compressFullBarRests \key d \major \time 2/2 \clef treble a'8 r r4 r2 %62 R1*3 %63-65 << { r2 r4.\fermata } \new Lyrics \with { % \consists "Bar_engraver" % \override BarLine.transparent = ##t \override LyricText.font-shape = #'italic \override LyricText.self-alignment-X = #LEFT } { \lyricmode { \markup { \line { \fontsize #1 \upright \smallCaps Esther: "Hey! I don't feel so icky" } }8*4 "anymore!"8*3 } } >> \override NoteHead.style = #'cross b8^\markup \fontsize #1 \smallCaps {Sasha and Chorus} %66 b r r4 r2\bar "|." %67 } \new Lyrics \lyricsto "Darcy" { \override LyricHyphen.minimum-distance = #1.0 \set lyricMelismaAlignment = #CENTER long. Hur -- ray! } >> } Sample.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user