lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to remove all notes and only show Chords and Lyrics?


From: lilypond
Subject: RE: How to remove all notes and only show Chords and Lyrics?
Date: Tue, 10 Dec 2019 15:14:59 +0100


> -----Original Message-----
> From: Dominic Sonntag <address@hidden>
> Sent: Tuesday, December 10, 2019 8:44 AM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: How to remove all notes and only show Chords and Lyrics?
> 
> This is really quite close, but can I remove that horizontal line and bring 
> the
> chords and lyrics closer together?
> 
> 
> On 07.12.19 15:50, address@hidden wrote:
> >
> >
> >> -----Original Message-----
> >> From: lilypond-user
> >> <lilypond-user-bounces+lilypond=address@hidden>
> >> On Behalf Of Dominic Sonntag
> >> Sent: Friday, December 6, 2019 11:08 AM
> >> To: address@hidden
> >> Subject: How to remove all notes and only show Chords and Lyrics?
> >>
> >> Hi,
> >>
> >> in a special case I need a "score" with notes, only chords and
> >> lyrics. A basic example is
> >> this:
> >>
> >> \version "2.19.82"
> >> \score { <<
> >>     \new ChordNames { s4 f2 c }
> >>     \new Staff {
> >>         \relative c' {
> >>             \partial 4
> >>             \time 4/4
> >>             \key f \major
> >>             f8 g | f4. e16 d e c8~ c4
> >>         }
> >>     }
> >>     \addlyrics { It's not time to make a change, }
> >>>> }
> >>
> >>
> >> I want the notes and clefs and barlines etc. (the whole staff) not to
> >> be shown, but the lyrics should still take the time the notes have.
> >> In this little example, the result should look something like this:
> >>
> >>          F              C
> >> It's not time to make a change,
> >>
> >> or see my attached image.
> >>
> >> How can I achieve this? (Maybe with the least effort on changing the
> >> input as it is a long
> >> song.)
> >>
> >> Kind regards
> >> Dominic
> > [>]
> > This is not exactly what you want, but it is close:
> > \version "2.19.82"
> >
> > \layout {
> >   \set RhythmicStaff.explicitKeySignatureVisibility = #all-invisible
> >   \set Staff.printKeyCancellation = ##f
> >     \context {
> >         \RhythmicStaff
> >       \remove "Time_signature_engraver"
> >       \override Clef.break-visibility = #all-invisible
> >     }
> > }
> >
> >
> > \score { <<
> >     \new ChordNames { s4 f2 c }
> >     \new RhythmicStaff {
> >       \new NullVoice
> >         \relative c' {
> >             \override Score.BarLine.stencil = ##f
> >             \partial 4
> >             \time 4/4
> >             \key f \major
> >             f8 g | f4. e16 d e c8~ c4
> >         }
> >     }
> >     \addlyrics { It's not time to make a change, }
> >>> }
> >
> >
[>] 

Try:
\layout {
     \context { 
         \RhythmicStaff
       \remove "Time_signature_engraver"
        \override StaffSymbol.line-count = #'0
     }
     \context {
       \Lyrics
       \override LyricText.Y-offset = #10.0
     }
 }

You can play with the Y-offset, if it is to close for you
Jaap




reply via email to

[Prev in Thread] Current Thread [Next in Thread]