Hi Kieren, thanks for this hint. I checked it and it looks *quite* good, but there is a problem that chords are out of alignment.
I created a "minimal" example (which doesn't fit into ten lines because of the layout setup part) you can find attached and the result. As you can see, the chords in the second version (without notes) are always a bit late, they should appear more to the left. Do you have an idea how to solve this? Best regards Dominic On 06.12.19 22:59, Kieren MacMillan wrote: > Hi Dominic, > >> in a special case I need a "score" with notes, only chords and lyrics. > > Have you looked through the archives for related threads (e.g., > https://lists.gnu.org/archive/html/lilypond-user/2018-12/msg00111.html)? > > Cheers, > Kieren. > ________________________________ > > Kieren MacMillan, composer (he/him/his) > ‣ website: www.kierenmacmillan.info > ‣ email: i...@kierenmacmillan.info > >
\version "2.19.82" verseOne = \lyricmode { \set stanza = "1. " it's a test to make a score that just works but it does not fit } harmonies = { \chordmode { s4 f2 c bes2 g:m7 } } melody = \relative c'' { \time 4/4 \partial 4 a8 a | a8. a16 a a a8~ a4 a8 a | a4 a16 a a8~ a a a } \layout { \context { \ChordNames \override ChordName.font-name = #"Alegreya Medium" \override VerticalAxisGroup.staff-affinity = #DOWN \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((basic-distance . 2.5) (minimum-distance . 2.5) (padding . 1.25) (stretchability . 0)) } \context { \Lyrics \override LyricText.font-name = #"Alegreya" \override VerticalAxisGroup.staff-affinity = #UP \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((basic-distance . 5.5) (minimum-distance . 5.5) (padding . 1.25) (stretchability . 0)) } \context { \ChordNames \name LyricSheetChords \alias ChordNames \inherit-acceptability LyricSheetChords ChordNames \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #'((basic-distance . 1) (minimum-distance . 1) (padding . 1) (stretchability . 0)) } \context { \Lyrics \name LyricSheetLyrics \alias Lyrics \inherit-acceptability LyricSheetLyrics Lyrics \override VerticalAxisGroup.staff-affinity = #UP \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #'((basic-distance . 3) (minimum-distance . 3) (padding . 2) (stretchability . 0)) \override LyricText.self-alignment-X = #-0.9 \override LyricSpace.minimum-distance = #0.625 \override LyricSpace.minimum-length = #0.5 } } \score { << \new ChordNames \harmonies \new Staff \new Voice = "melody" \melody \new LyricSheetLyrics \lyricsto "melody" { \verseOne } >> } \score { << \new ChordNames \harmonies \new Devnull = "melody" \melody \new LyricSheetLyrics \lyricsto "melody" { \verseOne } >> }