[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange interaction between chord names, \markLengthOn and \fermata
From: |
Thomas Morley |
Subject: |
Re: Strange interaction between chord names, \markLengthOn and \fermata |
Date: |
Fri, 6 May 2016 17:25:16 +0200 |
2016-05-06 15:35 GMT+02:00 Davide Liessi <address@hidden>:
> 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