lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spacer rests, dynamics and lyrics don't mix


From: Risto Vääräniemi
Subject: Spacer rests, dynamics and lyrics don't mix
Date: Fri, 5 Dec 2008 10:49:18 +0200

Dear All,

I just noticed that if I use spacer rests to position dynamics
everything works well until I add some lyrics to the soup. With lyrics
the dynamics attached to the spacer rests adjust themselves with the
lyrics instead of the notes.

In the attached image in the first bar the dynamics are attached to
the notes - in the next two ones to the spacer rests. The middle bar
has the problematic cocktail and the dynamics get screwed. Something
strange also happens without lyrics. In the last bar I've attached the
first 'f' to the note and the second one to a spacer rest. The second
one is aligned differently (a bit more to the left).

Can you tell me if these are bugs or a features?

-Risto

%%% Start %%%
\version "2.11.65"

melody = \relative c' \context Voice = "mel"
{
    \time 3/4
    f8._\> f16\! f8 f8_\< f f\!
    f8. f16 f8 f8 f f
    f8. f16 f8 f8 f f
    f4_\f f f
}

dynamics =
{
    \time 3/4
    s2.
    s8._\> s16\!  s8 s_\< s8 s\!
    s8._\> s16\!  s8 s_\< s8 s\!
    s4 s_\f s
}

words = \lyricmode
{
    Tral -- la -- la tral -- la -- lah!
    Tral -- la -- la tral -- la -- lah!
}

<<
    \new Staff
    <<
        \melody
        \dynamics
    >>
    \new Lyrics \lyricsto "mel" \words
>>
%%% END %%%

Attachment: spacer_dynamics_with_lyrics.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]