new voice with cluster changes horizontal spacing

2017-05-19 Thread Klaus Blum
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> 




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/new-voice-with-cluster-changes-horizontal-spacing-tp203189.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: new voice with cluster changes horizontal spacing

2017-05-19 Thread Thomas Morley
2017-05-19 20:22 GMT+02:00 Klaus Blum :

> 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":
> 
>
> without "\new Voice":
> >
  \newSpacingSection
  \revert Score.SpacingSpanner.spacing-increment
  c'4 d' e' f' g' f' e' d'
}


HTH a bit,
  Harm
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: new voice with cluster changes horizontal spacing

2017-05-20 Thread Klaus Blum
Hi Harm, 

Thomas Morley-2 wrote
>   \newSpacingSection
>   %% the value 1.68 was found by try and error
>   \override Score.SpacingSpanner.spacing-increment = #1.68
>  

Thanks for your suggestion. 
Unfortunately, I'm looking for a solution that works automatically, as I'm
trying to build a function: 
https://raw.githubusercontent.com/openlilylib/analysis/connected-noteheads/connected-noteheads/test.ly

Anybody here with some knowledge about clusters? They seem to be written in
c as they don't appear in any of the *.scm files. 

Cheers, 
Klaus



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/new-voice-with-cluster-changes-horizontal-spacing-tp203189p203205.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: new voice with cluster changes horizontal spacing

2017-05-20 Thread Simon Albrecht

Am 19.05.2017 um 20:22 schrieb Klaus Blum:

if the clusters are preceeded by a "\new Voice" command, the
horizontal spacing changes.


This sounds bug-worthy. Could you please check if there’s already an 
issue in the tracker and else report on the bug list?


Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user