lilypond-user
[Top][All Lists]
Advanced

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

Learning to use minimumVerticalExtent


From: Eduardo Vieira
Subject: Learning to use minimumVerticalExtent
Date: Thu, 5 Jan 2006 10:49:48 -0200

Hello list,
I'm messing with some scores I download in order to learn more about Lilypond, but I still can't grasp how to use minimumVerticalExtent.
I'm trying to adjust the spacing of lyrics between stanzas and staves.
Changing the values of the pair of numbers for the minimumVerticalExtent of the lyrics in the layout block doesn't seem to alter anything.
What does the pair of number say about the lyrics? Is first number the bottom space and the second the top space?
I'm using version 2.7.17 /Windows Native
 
Here's the code:
 
\version "2.6.0"
\header {
  filename =  "smc004.ly"
  dedication = "St. Peter of the Fields Parish"
  title = "Awake, My Soul, and with the Sun"
  subtitle = "Morning Hymn 8.8.8.8"
  opus = "François Barthélémon, 1791"
  poet = "Thomas Ken, 1692"
  copyright = "2003, Brian M. Ames"
  enteredby = "Brian M. Ames"
 

  lastupdated = "2004-01-05"
  style = "Hymn"
  tagline = "The Ames Hymn Collection"
}
 
global =  {
  \key g \major
  \time 4/4
 \skip 1*2 \bar "||" \skip 1*2 \bar "||" \skip 1*2 \bar "||" \skip 1*2 \bar "|."
}
 
saMusic =  {
  \partial 4
  <g' d'>4 <b' g'>4 <b' g'>4 <b' g'>4 <c'' a'>8 <b' g'>8 <a' fis'>4 <<{a'4} \\ {g'4}>> <a' fis'>4
  <d'' d'>4 <cis'' e'>4 <d'' fis'>4 <cis'' a'>8 <b' g'>8 <a' fis'>8[ <g' e'>8] <fis' d'>4 <e' cis'>4 <<{d'4\fermata} \\ {d'4}>>
  <<{d'4} \\ {d'4}>> <fis' d'>4 <g' d'>4 <a' d'>4 <<{fis'8 g'8} \\ {d'4}>> <a' e'>4 <b' e'>4 <<{c''4} \\ {e'8  fis'8}>>
  <b' g'>4 <<{e'4} \\ {e'4}>> <fis' d'>4 <<{g'8[ b'8]} \\ {d'4}>> <d'' d'>8 <c'' e'>8 <b' d'>4 <<{a'4} \\ {d'8  c'8}>> <g'\fermata b>4
}
 
tbMusic =  {
  <b g>4 <d' g>4 <d' d>4 <d' g,>4 <e' c>4 <a d>4 <cis' e>4 <d' d>4
  <a fis>4 <g e>4 <<{a8 d'8} \\ {d4}>> <d' g>4 <b g>4 <<{a4} \\ {a4}>> <g a,>4 \once \override Script   #'padding = #2 <fis d_\fermata>4
  <fis d>4 <a d>4 <b d>4 <fis d>4 <<{c'8 b8} \\ {d4}>> <a c>4 <gis b,>4 <a a,>4
  <d' b,>4 <c' c>4 <a c>4 <g b,>4 <<{g4} \\ {b,8 c8}>> <g d>4 <fis d>4 <g g,_\fermata>4
}
 
verseA = \lyricmode {
  A4 -- wake,4 my4 soul,4 and4 with4 the4 sun4
  Thy4 dai4 -- ly4 stage4 of4 du4 -- ty4 run;4
  Shake4 off4 dull4 sloth,4 and4 joy4 -- ful4 rise,4
  To4 pay4 thy4 morn4 -- ing4 sac4 -- ri4 -- fice.4
 
  }
 
verseB = \lyricmode {
  Thy4 prec4 -- ious4 time4 mis4 -- spent,4 re4 -- deem,4
  Each4 pres4 -- ent4 day4 thy4 last4 es4 -- teem,4
  Im4 -- prove4 thy4 tal4 -- ent4 with4 due4 care;4
  For4 the4 great4 day4 thy4 -- self4 pre4 -- pare.4
 
}
 
verseC = \lyricmode {
  By4 in4 -- fluence4 of4 the4 Light4 di4 -- vine4
  Let4 thy4 own4 light4 to4 oth4 -- ers4 shine.4
  Re4 -- flect4 all4 heaven's4 pro4 -- pit4 -- ious4 ways4
  In4 ar4 -- dent4 love,4 and4 cheer4 -- ful4 praise.4
 
}
 
verseD = \lyricmode {
  Wake,4 and4 lift4 up4 thy4 -- self,4 my4 heart,4
  And4 with4 the4 an4 -- gels4 bear4 thy4 part,4
  Who4 all4 night4 long4 un4 -- wear4 -- ied4 sing4
  High4 praise4 to4 the4 e4 -- ter4 -- nal4 King.4
 
}
 
verseE = \lyricmode {
  All4 praise4 to4 Thee,4 Who4 safe4 has4 kept4
  And4 hast4 re4 -- freshed4 me4 while4 I4 slept4
  Grant,4 Lord,4 when4 I4 from4 death4 shall4 wake4
  I4 may4 of4 end4 -- less4 light4 par4 -- take.4
 
}
 
verseF = \lyricmode {
  Di4 -- rect,4 con4 -- trol,4 sug4 -- gest,4 this4 day,4
  All4 I4 de4 -- sign,4 or4 do,4 or4 say,4
  That4 all4 my4 powers,4 with4 all4 their4 might,4
  In4 Thy4 sole4 glo4 -- ry4 may4 u4 -- nite.4
 
}
 
verseG = \lyricmode {
  Praise4 God,4 from4 Whom4 all4 bless4 -- ings4 flow;4
  Praise4 Him,4 all4 crea4 -- tures4 here4 be4 -- low;4
  Praise4 Him4 a4 -- bove,4 ye4 heaven4 -- ly4 host;4
  Praise4 Fa4 -- ther,4 Son,4 and4 Ho4 -- ly4 Ghost.4
 
}
 
\score {
   <<
    \context Staff = "sa" { <<
       \oldaddlyrics
        \override Staff.TimeSignature   #'style = #'numbered
 \clef treble
        \global
        \context Voice = VA { \saMusic }
        \context Lyrics = lyricsUno {\set stanza = "1." \verseA}
        \context Lyrics = lyricsDue {\set stanza = "2." \verseB}
        \context Lyrics = lyricsTre {\set stanza = "3." \verseC}
\context Lyrics = lyricsQuattro {\set stanza = "4." \verseD}
        \context Lyrics = lyricsCinque {\set stanza = "5." \verseE}
        \context Lyrics = lyricsSei {\set stanza = "6." \verseF}
        \context Lyrics = lyricsSette {\set stanza = "7." \verseG}
      >> }
      \context Staff = "tb" { <<
        \override Staff.TimeSignature   #'style = #'numbered
 \clef bass
        \global
        \context Voice = VC { \tbMusic }
      >> }
    >>  
  \layout {
    indent = 0.0\pt
   \context {
 \Lyrics
 minimumVerticalExtent = #'(-7 . 7)    % I've put other number and nothing changes
 \override LyricText #'font-size = #-1
 \override StanzaNumber #'font-size = #-1
     }
  
   }
}

reply via email to

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