On Sat 12 Dec 2015 at 00:00:24 (-0600), David Wright wrote:
> Hi, I'm used to a bit of work setting up lyric alignment with
> NullVoice—normally involving making sure that NullVoice has the
> most subdivisions of any part—but I was surprised by the appearance
> of the natural sign on the B line.
> 
> As you can see, I normally copy one part (typically soprano) into
> the NullVoice and then subdivide it with ties as in MYalign.
> The Notation Manual recommends modifying NullVoice with the moving
> part as in NMalign (but only if in the same Staff). Both methods work
> with accidentals, but MYalign fails when they're cautionaries.

and this time with the attachments...

Cheers,
David.
\version "2.18.2"
\language "english"
\header { tagline = ##f }
notesi  = \relative { g'4 g fs g g g f       g  }
MYalign = \relative { g'4 g fs g g g f8  f   g4 }
NMalign = \relative { g'4 g fs g g g d8  cs  g4 }
notesii = \relative { d'4 d d  d d d e8( cs) d4 }
words = \lyricmode { jk kl lm mn no p qq __ _ rrr }

\score {
  \new PianoStaff <<
    \accidentalStyle piano-cautionary
    \new Staff <<
      \new NullVoice = valign { \voiceOne \MYalign }
      \new Lyrics \lyricsto valign { \words }
      \new Voice { \voiceOne \notesi }
      \new Voice { \voiceTwo \notesii }
    >>
  >>
  \layout { indent = 0 }
}

\score {
  \new PianoStaff <<
    \accidentalStyle piano-cautionary
    \new Staff <<
      \new NullVoice = valign { \voiceOne \NMalign }
      \new Lyrics \lyricsto valign { \words }
      \new Voice { \voiceOne \notesi }
      \new Voice { \voiceTwo \notesii }
    >>
  >>
  \layout { indent = 0 }
}

\score {
  \new PianoStaff <<
    \accidentalStyle piano
    \new Staff <<
      \new NullVoice = valign { \voiceOne \MYalign }
      \new Lyrics \lyricsto valign { \words }
      \new Voice { \voiceOne \notesi }
      \new Voice { \voiceTwo \notesii }
    >>
  >>
  \layout { indent = 0 }
}

Attachment: align-cautionary.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to