lilypond-user
[Top][All Lists]
Advanced

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

Re: Yet another vertical spacing question


From: Mats Bengtsson
Subject: Re: Yet another vertical spacing question
Date: Tue, 02 Aug 2005 11:41:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

See http://lists.gnu.org/archive/html/bug-lilypond/2005-06/msg00210.html

  /Mats

Trevor Baca wrote:
Anyone have any idea what's going on with the space between the voice
and the piano staves in the opening of this bit of Mozart?

Clearly the first system is using the spacing of the *second* system,
which looks kinda insane given that the second system has 3 stanzas
while the first system has none.

Also odd is that the end of the song (not include in the already long
snippet) ends as it began: with piano only, no lyrics. For the the
ending -- but not, alas, the beginning -- Lily catches the absence of
lyrics and pushes the voice staff right down to where it should be,
above the piano without such a gap.

Trevor.

%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%

\version "2.7.0"
\include "english.ly"
#(set-default-paper-size "letter" 'portrait)

% soprano
mAAA = {
   \clef treble
   \key bf \major
   \time 2/4
   R2 | %1
   R2 | %2
R2 | %3 R2 \break | %4
   \bar "|:" f''4. \appoggiatura ef''16 d''8 | %5
   \appoggiatura c''8 bf'4 r8 bf'8 | %6
   bf'8( ef''4) g'8 | %7
   g'8 f'8 r4 | %8
   f'4. bf'8 | %9
   bf'4( a'8) bf'8 | %10
}

mAAB = \lyricmode {
   \set stanza = "1. "
   Kom -- met | her, ihr | fre -- chen | Sün -- der, |
   seht den | Hei -- land |
}

mAAC = \lyricmode {
   \set stanza = "2. "
   Kom -- met, | seht Ma -- | ri -- am | e -- ben |
   an dem | Fuss __ des |
}

mAAD = \lyricmode {
   \set stanza = "3. "
   Dan -- ket | nun für | sol -- che | Lie -- be, |
   so der | Mut -- ter |
}

% piano rh
mABA = {
   \clef treble
   \key bf \major
   \time 2/4
   \once \override DynamicText #'extra-offset = #'(0 . 1.5)
   f''8.^\fp( bf''16) f''4 ~ | %1
   f''8[ f''8\staccato f''8\staccato f''8\staccato] | %2
   \once \override DynamicText #'extra-offset = #'(0 . 0.5)
   c'''8.^\fp( a''16) f''4 ~ | %3
   f''8 g''16 f''16 \appoggiatura f''16 ef''8 d''16 c''16 | %4
   <d' bf'>4 r4 | %5
   r8 <d' f'>8( <ef' g'>8 <f' af'>8) | %6
   <ef' g'>8 <ef' g'>8 r8 <ef' g'>8 | %7
   r8 <<
      \new Voice {\voiceOne f'4 f'8 | %8
         f'4. bf'8 | %9
         bf'4( a'8) bf'8 \oneVoice}
      \new Voice {\voiceTwo bf16.( c'32 d'16.[ bf32 ef'16. c'32]) | %8
         bf4 ~ <bf d'>8 <d' f'>8 | %9
         r8 d'8([ c'8 bf8]) \oneVoice}
      >> | %10
}


% piano lh
mABB = {
   \clef bass
   \key bf \major
   \time 2/4
   bf,8\f
   \override DynamicText #'extra-offset = #'(0.0 . 1.0)
   <bf d'>8[^\fp( <d' f'>8 <c' ef'>] | %1
   <bf d'>8^\p)
   \revert DynamicText #'extra-offset
   r8 \clef treble <bf d' bf'>8 r8 \clef bass | %2
   f,8\f
   \override DynamicText #'extra-offset = #'(0.0 . 1.0)
   <a c'>8[^\fp( <c' ef'>8 <bf d'>] | %3
   <a c'>8^\p)
   \revert DynamicText #'extra-offset
   r8 <f a ef'>8 r8 | %4
   <bf, bf>4 r4 | %5
   <bf, bf>2 ~ | %6
   <bf, bf>8 bf8[ bf,8 bf8] | %7
   \voiceOne <<
      {r8 d8[( f8 a8)]}
      \new Voice {\voiceTwo bf,4.( c8) \oneVoice}
   >> \oneVoice | %8
   d8[ f8 d8 bf8] | %9
   \voiceOne <<
      {f4( ef8 d8)}
      \new Voice {\voiceTwo {f,2} \oneVoice}
   >> \oneVoice | %10
}

\header {
   title = "Kommet her, ihr frechen Sünder"
   composer = \markup \override #'(baseline-skip . 2.5) \column
{\center-align {"W. A. Mozart" "K. 146 (1779)"}}
}

\score {
   <<
      \new Staff <<
         \set Staff.instrument = \markup \huge \bold {"Voice" \hspace #1 ""}
         \context Voice = "soprano" {\mAAA}
         \lyricsto "soprano" \new Lyrics \mAAB
         \lyricsto "soprano" \new Lyrics \mAAC
         \lyricsto "soprano" \new Lyrics \mAAD
      >>
      \new PianoStaff <<
         \set PianoStaff.instrument = \markup \huge \bold {"Piano"
\hspace #1 ""}
         \new Staff \mABA
         \new Staff \mABB
      >>
   >>
}

%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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