2017-01-12 21:13 GMT+01:00 Risto Vääräniemi <risva...@gmail.com>: > Hi all, > > The spacing between ChordNames and Staff seems a bit tight by default. I've > been trying to adjust it but I haven't figured out the right magic words > yet. The IR says *) that there should be > nonstaff-nonstaff-spacing.padding and > nonstaff-relatedstaff-spacing.padding > available and I have tried those + some more (see the example below). > However, there's no change in the spacing. > > Am I missing something obious? > > BR, > Risto > > *) http://lilypond.org/doc/v2.19/Documentation/internals/chordnames > > --- > > \version "2.19.49" > > chordStuff = \chords { c1 d:m } > > melody = \relative c'' { c4 c c c | d d d d } > > \score { > << > \new ChordNames \with { > \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = > #10 > \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = #10 > \override VerticalAxisGroup.staff-staff-spacing.padding = #10 > } { \chordStuff } > \new Staff { \melody } > >> > \layout { } > }
Do it in \layout chordStuff = \chords { c1 d:m } melody = \relative c'' { c4 c c c | d d d d } \score { << \new ChordNames { \chordStuff } \new Staff { \melody } >> \layout { \context { \ChordNames \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #10 } } } HTH, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user