Re: Odp: hotrizontal spacing question

2013-12-26 Thread Trevor Bača
On Mon, Dec 23, 2013 at 10:14 AM, Karol Majewski  wrote:

> Hi Eluze,
>
> now I have found that in my example it should be:
>
> \override Score.SpacingSpanner #'uniform-stretching = ##t
>
> insted of:
>
> \override SpacingSpanner #'uniform-stretching = ##t
>
> :)
>
> Now, uniform-stretching appears to be the right solution.



Agreed: turning on proportional notation should always be done with setting
the SpacingSpanner's uniform-stretching attribute to true. (And, as Karol
found out, the SpacingSpanner lives in the Score context.) This combination
of settings has spaced the notes of hundreds of polyrhythms for me exactly.

Trevor.


-- 
Trevor Bača
trevorb...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Odp: hotrizontal spacing question

2013-12-23 Thread Karol Majewski
Hi Eluze,

now I have found that in my example it should be:

\override Score.SpacingSpanner #'uniform-stretching = ##t

insted of:

\override SpacingSpanner #'uniform-stretching = ##t

:)

Now, uniform-stretching appears to be the right solution.



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


Re: Odp: hotrizontal spacing question

2013-12-23 Thread Eluze
karol wrote
> I discovered this setting yesterday. Then added it to the main layout file
> and compiled some of my scores (more complex). Everything was fine.
> Perhaps NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) should be set
> as default in Lily?

I'm not sure - please have a look at the example given in
http://lilypond.1069038.n5.nabble.com/Unequal-spacing-in-odd-n-tuplet-with-other-simultaneous-subdivisions-td144105.html

adding \override NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) doesn't
help here

but 

\override NoteHead.extra-spacing-width = #'(0 . 0) , combined with

\layout{\context{
\Score
\override SpacingSpanner #'uniform-stretching = ##t
}}

improves the spacing significantly!

see also
https://code.google.com/p/lilypond/issues/detail?can=1&q=3304&colspec=ID%20Type%20Status%20Stars%20Owner%20Patch%20Needs%20Summary&id=3304
for more contributions.

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/hotrizontal-spacing-question-tp156216p156435.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: Odp: hotrizontal spacing question

2013-12-22 Thread Karol Majewski
I discovered this setting yesterday. Then added it to the main layout file and 
compiled some of my scores (more complex). Everything was fine. Perhaps 
NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) should be set as default in 
Lily?




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


Re: Odp: hotrizontal spacing question

2013-12-21 Thread Eluze
karol wrote
> Seems that \override NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0)
> is the right solution.

interesting - do you have experiences with this in more complex situations
(polyphonic, more than one staff...)

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/hotrizontal-spacing-question-tp156216p156326.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: Odp: hotrizontal spacing question

2013-12-21 Thread Karol Majewski
If you mean this:

{
  \override SpacingSpanner #'uniform-stretching = ##t
  \set Score.proportionalNotationDuration = #(ly:make-moment 1/200)
  \clef bass \times 4/6 { c16 e16 a,16 b,16 g,16 e16 }
  \times 4/6 { c16 e16 g,16 b,16 g,16 e16 }
  \times 4/6 { c16 e16 g,16 b,16 g,16 e16 }
  \times 4/6 { c16 e16 g,16 b,16 g,16 e16 }
  \times 4/6 { c16 e16 g,16 b,16 g,16 e16 }
  \times 4/6 { c16 e16 g,16 b,16 g,16 e16 }
  \times 4/6 { c16 e16 g,16 b,16 g,16 e16 }
}

...then it does not work. Spacing between stems is still uneven (look at the 
second and third note inside beamed group).

Seems that \override NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0) is the 
right solution.




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


Re: Odp: hotrizontal spacing question

2013-12-21 Thread Eluze
karol wrote
> Unfortunately "uniform-stretching" doesn't work here.

and it's also recommended there to use

proportionalNotationDuration = #(ly:make-moment 1/200) % choose your number!

to improve the results!
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/hotrizontal-spacing-question-tp156216p156256.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: Odp: hotrizontal spacing question

2013-12-21 Thread Karol Majewski
Unfortunately "uniform-stretching" doesn't work here.




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


Re: Odp: hotrizontal spacing question

2013-12-20 Thread Keith OHara
Karol Majewski  wp.pl> writes:

> > I want all off the stems in tuplet to be spaced evenly. How to achieve 
> > this?

If anybody else runs in to this question, there is an option for this
called  "uniform-stretching" described in Notation Reference section
 4.5.5 Proportional notation




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


Odp: hotrizontal spacing question

2013-12-20 Thread Karol Majewski
OK, got it.

\override NoteHead.extra-spacing-height = #'(-inf.0 . +inf.0)

is what I was looking for.



Dnia 20-12-2013 o godz. 23:58 Karol Majewski napisał(a):
> Hi.
> 
> Here, even though all optical-spacing features are disabled, spacing is 
> still uneven:
> 
> \version "2.17.97"
> 
> {
>   \override ScoreNoteSpacing.same-direction-correction = #0
>   \override Score.NoteSpacing.stem-spacing-correction = #0
>   \override Score.StaffSpacing.stem-spacing-correction = #0
>   \clef bass \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
>   \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
>   \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
>   \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
>   \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
>   \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
>   \tuplet 6/4 { c16 e16 g,16 b,16 g,16 e16 }
> }
> 
> And the distance between second and third stem in the group is smaller.
> 
> I want all off the stems in tuplet to be spaced evenly. How to achieve 
> this?
> 
> 
> Karol




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