lilypond-devel
[Top][All Lists]
Advanced

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

Text-Align


From: Henrik Evers
Subject: Text-Align
Date: Wed, 25 Jan 2006 23:55:19 +0100
User-agent: KMail/1.9

Hi,

I like to have some text below one note. And I can't find any hint in the 
documentation. It goes into the direction of melismas, but I only have one 
note or one chord and lots of text to sing on this chord - so it's the 
opposite of a melisma. It seems to be impossible for me after two days of 
studying lilypond to find a solution. Please help ;-) The text should start 
aligned with the first chord, not centered, because ther're lots of words.

If there's any idea, please let me know. Here's my score:

%% Generated by lilypond-book.py
%% Options: [indent=0\mm,fragment,quote,relative=2,alt=[image of 
music],raggedright]

#(set! toplevel-score-handler print-score-with-defaults)
#(set! toplevel-music-handler (lambda (p m)
                               (print-score-with-defaults
                                p (scorify-music m p))))

#(ly:set-option (quote no-point-and-click))
#(define inside-lilypond-book #t)
#(define version-seen? #t)







% ****************************************************************
% Start cut-&-pastable-section 
% ****************************************************************

\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  linewidth = 160\mm - 2.0 * 0.4\in
  raggedright = ##t
}

% ****************************************************************
% ly snippet contents follows:
% ****************************************************************

 barOne = { \once \override Staff.BarLine #'bar-size = #2
       \bar "|" }
 barTwo = { \once \override Staff.BarLine #'extra-offset = #'(0 . 2)
       \once \override Staff.BarLine #'bar-size = #2
       \bar "|" }

 SopranNoten = \relative c'' {
        \key f \major
       \set Score.timing = ##f
       \override Staff.Stem #'transparent = ##t

       a2 bes4 g4 a4 f4 f4 \barTwo
       f2 d'4 c4 bes4 c4 c4 c4 \barOne
        \set Staff.printKeyCancellation = ##f
        \key a \major
        e,2 fis4 a4 b4 b4 \barTwo
        gis2 a4 e'4 d4 cis4 b4 a4 a4 a4 a4
     }

 AltNoten = \relative c' {
        \key f \major
       \set Score.timing = ##f
       \override Staff.Stem #'transparent = ##t

       c2 c4 c4 c4 e4 d4 \barTwo
       es2 d4 es!4 d4 e4 f4 f4 \barOne
        \set Staff.printKeyCancellation = ##f
        \key a \major
        e2 fis4 fis4 fis4 eis4 \barTwo
        e2 e4 fis4 f4 e4 d4 e4 e4 d4 e4
     }

 TenorNoten = \relative c {
        \clef bass
        \key f \major
       \set Score.timing = ##f
       \override Staff.Stem #'transparent = ##t

       f2 f4 g4 g4 a4 a4 \barTwo
       a2 f4 a4 g4 bes4 a4 a4 \barOne
        \set Staff.printKeyCancellation = ##f
        \key a \major
        e'2 cis4 b4 gis4 gis4 \barTwo
        a2 a4 a4 b4 a4 a4 d4 d4 b4 cis4
     }

 BassNoten = \relative c {
        \clef bass
        \key f \major
       \set Score.timing = ##f
       \override Staff.Stem #'transparent = ##t

       f2 f4 e4 e4 d4 d4 \barTwo
       c2 bes4 fis4 g4 c4 f4 f4 \barOne
        \set Staff.printKeyCancellation = ##f
        \key a \major
        e2 dis4 dis4 d4 d4 \barTwo
        cis2 cis4 d4 d4 e4 f4 fis4 b,4 e4 a,4
     }

 strophen =\lyricmode {
        \set associatedVoice = #"Bass"
        Wie_schön_ist_es dem Herrn zu dan- ken, deinem_Namen_du
     }

     \score {

        \context ChoirStaff <<
           \context Staff = women <<
              \context Voice =
                sopranos { \voiceOne << \SopranNoten >> }
              \context Voice =
                altos { \voiceTwo << \AltNoten >> }
                 >>

        \context Lyrics = strophen { s1 }
        \context Lyrics = altos \lyricsto altos \strophen

        \context Staff = men <<
              \context Voice =
                sopranos { \voiceOne << \TenorNoten >> }
              \context Voice =
                altos { \voiceTwo << \BassNoten >> }
                 >>
        

           >>


       \layout {
           \context {
              % a little smaller so lyrics
              % can be closer to the staff
              \Staff
              \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
           }
        }
       \midi { \tempo 4=60 }
     }


% ****************************************************************
% end ly snippet
% ****************************************************************




reply via email to

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