Strange behaviour of Lyrics above Staff

2011-03-07 Thread TaoCG

Hi,

I am having weird results with Lyrics above the Staff.
I tried to reduce the problem to a small snippet.

What I notice is that the distance to the staff is very large except on the
first system on a page.
Also the distance raises if you put a rehearsal mark at the beginning of a
system although they don't collide.

I tried moving the lyrics closer to the staff by overriding the
#'outside-staff-padding property of LyricText but with no effect at all.

Here comes the snippet. If you remove the rehearsal mark you'll see that the
lyrics will move much closer to the staff than on the following systems.

\version 2.13.52

outer = 40
inner = 8

\header
{
title = Test
}

music =
{
\mark \default
\repeat unfold \outer { \repeat unfold \inner { c'8 } \break }
}

text = \lyricmode
{
\repeat unfold \outer { \repeat unfold \inner { foo } }
}

\score
{

\new Staff = s \new Voice = v \music
\new Lyrics \with { alignAboveContext = s }
{
\set associatedVoice = v { \text }
}

}

http://old.nabble.com/file/p31089958/score.pdf score.pdf 
-- 
View this message in context: 
http://old.nabble.com/Strange-behaviour-of-Lyrics-above-Staff-tp31089958p31089958.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Strange behaviour of Lyrics above Staff

2011-03-07 Thread Phil Holmes
- Original Message - 
From: TaoCG tao_lilypondu...@gmx.net

To: lilypond-user@gnu.org
Sent: Monday, March 07, 2011 6:04 PM
Subject: Strange behaviour of Lyrics above Staff




Hi,

I am having weird results with Lyrics above the Staff.
I tried to reduce the problem to a small snippet.

What I notice is that the distance to the staff is very large except on 
the

first system on a page.
Also the distance raises if you put a rehearsal mark at the beginning of a
system although they don't collide.

I tried moving the lyrics closer to the staff by overriding the
#'outside-staff-padding property of LyricText but with no effect at all.

Here comes the snippet. If you remove the rehearsal mark you'll see that 
the

lyrics will move much closer to the staff than on the following systems.



Have a look at http://code.google.com/p/lilypond/issues/detail?id=1486 and 
http://code.google.com/p/lilypond/issues/detail?id=1483 which I think will 
clarify some of this for you.  You may need to experiment with staff spacing 
commands and lyric affinities.


--
Phil Holmes



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


Re: Strange behaviour of Lyrics above Staff

2011-03-07 Thread TaoCG


Phil Holmes-2 wrote:
 
 Have a look at http://code.google.com/p/lilypond/issues/detail?id=1486 and 
 http://code.google.com/p/lilypond/issues/detail?id=1483 which I think will 
 clarify some of this for you.  You may need to experiment with staff
 spacing 
 commands and lyric affinities.
 
 --
 Phil Holmes
 
Thanks. It seems the solution on the page you posted in issue 1486 does the
trick.
I still don't see why 1486 is fixed though. The problem is still there and I
don't think I have seen a potential workaround in the docs, just a note in
CHANGES that only said  lyrics above a staff have to set #'staff-affinity =
#DOWN or use alignAboveContext but that really isn't a change.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Strange-behaviour-of-Lyrics-above-Staff-tp31089958p31094964.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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