Hello Walt,

> Here is a MWE.

Not quite minimal ...

> The next desired results should look the same except that only chords
> and lyrics are to be shown (don't blame me - that's what they want the
> rhythm guys).
> 
> So my though was to use tag for the staff notes.  And then use NullVoice
> to align the lyrics when the staff is not to be shown.

That can be done. You just need to be aware that NullVoice will require to sit 
under a Staff. So this will create an empty Staff. To get rid of this place the 
NullVoice in e.g. a Devnull context and modify that context to accept 
NullVoice as child:

```
notes = { c'8. d'16 e'4 f'8( g') a'4 }

\layout {
  \context {
    \Devnull
    \accepts NullVoice
  }
}

music = <<
  \new ChordNames \chordmode { c4 a:m f bes:maj7 }
  \tag #'notes \new Staff \notes
  \new Devnull \new NullVoice = "lyrics" \notes
  \new Lyrics \lyricsto "lyrics" { A B C D E }
>>

{ \music }

\removeWithTag #'notes \music
```

Cheers,
Valentin

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to