2016-05-06 15:35 GMT+02:00 Davide Liessi <davide.lie...@gmail.com>: > Hi all. > In the following example the mark "some long texts" is placed between > the chord names, thus creating extra space around the bar line; > removing either \fermata, \markLengthOn or accidentals in chord names, > the mark is placed above the chord names and the extra space > disappears. > Can someone explain why this happens? > Best wishes. > Davide > > \version "2.19.35" > \score { > << > \new ChordNames { > \chordmode { > cis1 > cis1 > } > } > \new Staff { > \markLengthOn > c'1\fermata > \mark "some long text" > c'1 > } > >> > }
This behaviour is caused by the settings for markLengthOn, the default: markLengthOn = { \override Score.MetronomeMark.extra-spacing-width = #'(0 . 1.0) \override Score.RehearsalMark.extra-spacing-width = #'(-0.5 . 0.5) % Raise as much as four staff-spaces before pushing notecolumns right \override Score.MetronomeMark.extra-spacing-height = #'(4 . 4) \override Score.RehearsalMark.extra-spacing-height = #'(4 . 4) } Chord-names like Cis consum more horzontal space than C. A fermata will push a chode-name above, thus more vertical space. If you change the values '(4 . 4) to '(1 . 1) it's consistent. At least with my testings. Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user