Please use the lilypond-user mailing list, for usage questions like this one
and use bug-lilypond only for bugs (or errors/suggestions for improvements
in the manual).

In the manual for the latest development version of LilyPond, there's
an example in "Lyrics independent of notes" that provides a simpler
solution (which unfortunately does not work in version 2.8). Using
that technique in the example below would result in:

WordsI  =  \lyricmode { Oh que de mots pour de si pe_tit' notes }
WordsII = \lyricmode { U ti li ser Open Office _ mieux se ra   }
Chords  = \chordmode {  a2. d4 e4 b4 b4 f2 c4 }
Rhythm   = { \repeat unfold 12 {  \stopStaff  c'4 } }

<<
\new ChordNames { \Chords }
   \new Devnull = "rhythm" \Rhythm
   \new Lyrics \lyricsto rhythm \WordsI
   \new Lyrics \lyricsto rhythm  \WordsII
>>

\layout {
    ragged-right = ##t
}


However, in this particular case, you can (at least conceptually)
imagine that all the syllables occur at regular quarter note beats
(just as is done below) so then there's no use for the \lyricsto feature.
You can just as well specify the duration of each syllable explicitly
(it only has to be done on the first syllable, just as when you have
a consecutive series of quarter notes in ordinary music).
This simplifies the example further into:

WordsI  =  \lyricmode { Oh4 que de mots pour de si pe_tit' notes }
WordsII = \lyricmode { U ti li ser Open Office _ mieux se ra   }
Chords  = \chordmode {  a2. d4 e4 b4 b4 f2 c4 }

<<
   \new ChordNames { \Chords }
   \new Lyrics \WordsI
   \new Lyrics \WordsII
>>

\layout {
    ragged-right = ##t
}


  /Mats


Martial wrote:

how to set out a piece which consists only of lyrics and chords


A way ! But is better to use OpenOffice

%%------- code -------------
% No_staff_no_note
\paper { ragged-right = ##t }

WordsI  =  \lyricmode { Oh que de mots pour de si pe_tit' notes }
WordsII = \lyricmode { U ti li ser Open Office _ mieux se ra   }
Chords  = \chordmode {  a2. d4 e4 b4 b4 f2 c4 }
Notes   = { \repeat unfold 12 {  \stopStaff  c'4 } }

<<
\new ChordNames { \Chords }
    \new Lyrics =  "A"   { s1 }
    \new Lyrics =  "B"   { s1 }
    \new  Voice = "V" { \hideNotes \Notes }
    \context Lyrics = A \lyricsto V  \WordsI
    \context Lyrics = B \lyricsto V  \WordsII
>>

\layout {
     \context {
      \Staff
      \remove Time_signature_engraver
      \remove Clef_engraver
      \remove Bar_engraver
    }
}
%%----------------------------


--
Martial



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond


--
=============================================
        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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to