2017-05-19 20:22 GMT+02:00 Klaus Blum <[email protected]>:
> Hi everybody,
>
> I want to have some clusters along with the notes in the same staff.
> However, if the clusters are preceeded by a "\new Voice" command, the
> horizontal spacing changes.
> Does anybody know why this happens and how I can avoid it?
> Removing the "\new Voice" command would help, but I need to create a
> dedicated voice.
>
> % -----------------------------------------
> \new Staff {
> c'4 d' e' f' g' f' e' d'
> <<
> {c'4 d' e' f' g' f' e' d'}
> \new Voice
> \makeClusters {c'4 d' e' f' g' f' e' d'}
> >>
> c'4 d' e' f' g' f' e' d'
> }
> % -----------------------------------------
>
> Thanks for any hint.
> Klaus
>
>
> with "\new Voice":
> <http://lilypond.1069038.n5.nabble.com/file/n203189/with_new-voice.png>
>
> without "\new Voice":
> <http://lilypond.1069038.n5.nabble.com/file/n203189/without_new-voice.png
Tbh, I've no clue why this happens.
You could correct it with:
\new Staff {
c'4 d' e' f' g' f' e' d'
\newSpacingSection
%% the value 1.68 was found by try and error
\override Score.SpacingSpanner.spacing-increment = #1.68
<<
{c'4 d' e' f' g' f' e' d'}
\new Voice {
\makeClusters {c'4 d' e' f' g' f' e' d'}
}
>>
\newSpacingSection
\revert Score.SpacingSpanner.spacing-increment
c'4 d' e' f' g' f' e' d'
}
HTH a bit,
Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user