lilypond-user
[Top][All Lists]
Advanced

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

Vertical spacing between verses


From: szaszkaroly
Subject: Vertical spacing between verses
Date: Wed, 20 Feb 2013 00:58:31 -0800 (PST)

Hello, 
please help me adjust the space between the verses. My problem is that
there's a well seeing difference between the white space after the 1st and
the white space after the 2nd verse. How can I change the distance between
the verses equally, no matter what kind of letters I use?
Here's the code I use:

 \override VerticalAxisGroup #'nonstaff-nonstaff-spacing =
                #'((basic-distance . 0.6 )
                (minimum-distance . 0.6 )
                (padding . 0.6 )
                (stretchability . 0))

And here is the content of the *.ly file:

\version "2.12.3"

strofaI= \lyricmode {
        \set stanza = "1."      
El -- ső vers -- szak el -- ső vers -- szak el -- ső vers -- szak el -- ső
vers -- szak el -- ső vers -- szak el -- ső vers -- szakel -- ső vers --
szak
}
 
strofaII= \lyricmode {
        \set stanza = "2."      
Má -- so -- dik, itt már jé és gé is van,  eb -- ben már jé és gé is van, 
eb -- ben már jé és gé is van, eb -- ben már jé és gé is van,
}

strofaIII= \lyricmode {
        \set stanza = "3."
Itt a hi -- ba, mert Ő is, Ő is, Ő is van benne,  Ő is, Ő is, Ő is van
benne,  Ő is, Ő is, Ő is van benne, Ő is, Ő is, Ő is van benne,
}

strofaIV= \lyricmode {
        \set stanza = "4."
A vers -- sza -- kok köz -- ti tá -- vol -- ság így már nem egy -- for -- ma
így már nem egy -- for -- ma így már nem egy -- for -- ma
}
 
partitura = \new ChoirStaff  {
<< \new Staff { \numericTimeSignature \set Staff.midiInstrument="choir aahs"
\clef treble 
        \time 3/4
        \key es \major
        << \context Voice = "Soprana" \transpose d es { \relative c' { \voiceOne
                \override Script #'padding = #0.5
                \override Score.BarNumber #'break-visibility = #all-invisible
                d4
                fis e d( a') g fis4. e8 fis[ g] fis4 e a4\rest 
                e4 a cis \break
                d4. b8 cis[ a] e4( cis') b a2 a4\rest d,4 fis e d( a') g \break 
  
                \bar "|."
                } }
        \context Voice = "Alto" \transpose d es { \relative c' { \voiceTwo 
                 d  d cis   d2  e4 d4.   cis8  d[  e] d4 cis s4 cis e e
                d4.  e8  e[  e] cis4( e) d cis2 s4   d  d cis   d2  e4 
                } }
                >>
        }
                        \context Lyrics = "lmelodySATLI" { c }
                        \override VerticalAxisGroup 
#'nonstaff-relatedstaff-spacing = 
                        #'((basic-distance . 2 )
                        (minimum-distance . 1 )
                        (padding . 1 )
                        (stretchability . 8 ))
                        \context Lyrics = "lmelodySATLII" { d }
                        \context Lyrics = "lmelodySATLIII" { e }
                        \context Lyrics = "lmelodySATLIV" { f }
        
\new Staff { \set Staff.midiInstrument="choir aahs" \numericTimeSignature
\clef bass
        \key es \major
        << \context Voice = "Tenor" \transpose d es { \relative c { \voiceOne  
                fis4 a g fis2 a4  a4.  a8   a[  b]  a4  a c,4\rest a'4 a a
                   fis8[( e)] fis([ gis)]   a8  a a2 gis4 e2 c4\rest  fis4 a g 
fis2 a4  
                } }
        \context Voice = "Bass" \transpose d es { \relative c { \voiceTwo
                \override Script #'padding = #0.5
                d4 d a d2 cis4 d8[( e)] fis([ g]) fis[ e] a4 a, s4 a cis a
                b4. e8 a,[ cis] e2 e4 a,2 s4 d4 d a d2 cis4  
                
                
                } } >>          
        } 
>>
}
\score { << \partitura
                \context Lyrics = "lmelodySATLI" \lyricmode  { \lyricsto 
"Soprana"
\strofaI }
                \context Lyrics = "lmelodySATLII" \lyricmode  { \lyricsto 
"Soprana"
\strofaII }
                \context Lyrics = "lmelodySATLIII" \lyricmode  { \lyricsto 
"Soprana"
\strofaIII }
                \context Lyrics = "lmelodySATLIV" \lyricmode  { \lyricsto
"Soprana" \strofaIV }
        >>
        \midi { }
        \layout  { indent = 0\mm
                \context { \Lyrics \override VerticalAxisGroup 
#'nonstaff-nonstaff-spacing
=
                #'((basic-distance . 0.6 )
                (minimum-distance . 0.6 )
                (padding . 0.6 )
                (stretchability . 0))
                \override LyricSpace #'minimum-distance = #0.5 } }
        \header {

                }
        }

\paper { }

<http://lilypond.1069038.n5.nabble.com/file/n141187/teszt.jpg> 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Vertical-spacing-between-verses-tp141187.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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