* Documentation/user/invoking.itely: add example to File structure.
+ * Documentation/user/ instrument-notation.itely, cheatsheet.itely,
+ examples.itely, putting.itely: {\new|\context} Lyrics \lyricsto.
+
2006-02-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
* ly/paper-defaults.ly: typo.
@lilypond[fragment,relative=2]
<<
{ g'4 g }
- \lyricsto "" \new Lyrics { twin -- kle }
+ \new Lyrics \lyricsto "" { twin -- kle }
>>
@end lilypond
\score{
<<
- \context Voice = one {
+ \context Voice = "one" {
\autoBeamOff
\melody
}
- \lyricsto "one" \new Lyrics \text
+ \new Lyrics \lyricsto "one" \text
>>
\layout { }
\midi { \tempo 4=60 }
\set chordChanges = ##t
\harmonies
}
- \context Voice = one {
+ \context Voice = "one" {
\autoBeamOff
\melody
}
- \lyricsto "one" \new Lyrics \text
+ \new Lyrics \lyricsto "one" \text
>>
\layout { }
\midi { \tempo 4=60 }
\score {
<<
- \context Voice = mel {
+ \context Voice = "mel" {
\autoBeamOff
\melody
}
- \lyricsto mel \new Lyrics \text
+ \new Lyrics \lyricsto mel \text
\context PianoStaff <<
\context Staff = upper \upper
\score {
\context GrandStaff <<
- \context Staff = upper { \context Voice = singer \upper }
- \lyricsto "singer" \new Lyrics \text
+ \context Staff = upper { \context Voice = "singer" \upper }
+ \new Lyrics \lyricsto "singer" \text
\context Staff = lower {
\clef bass
\lower
}
\score{ <<
- \context Voice = one { \melody }
- \lyricsto "one" \new Lyrics \text
+ \context Voice = "one" { \melody }
+ \new Lyrics \lyricsto "one" \text
>>
\layout { }
}
is the same as
@example
-\context Voice = blah @{ music @}
-\lyricsto "blah" \new lyrics @{ LYRICS @}
+\context Voice = "blah" @{ music @}
+\new Lyrics \lyricsto "blah" @{ LYRICS @}
@end example
@refbugs
correct duration for each syllable. This is achieved by combining the
melody and the lyrics with the @code{\lyricsto} expression
@example
-\lyricsto @var{name} \new Lyrics @dots{}
+\new Lyrics \lyricsto @var{name} @dots{}
@end example
This aligns the lyrics to the
@end example
and then combine the appropriate melodies and lyric lines
@example
-\lyricsto "soprano" \context Lyrics = sopranoLyrics
+\context Lyrics = sopranoLyrics \lyricsto "soprano"
@emph{the lyrics}
@end example
\melismaEnd
e2
}
- \lyricsto "lala" \new Lyrics {
+ \new Lyrics \lyricsto "lala" {
la di __ daah
}
>>
c2 e | g e | c1 |
\context Voice = verse \repeat volta 2 {c4 d e f | g1 | }
a2 b | c1}
- \lyricsto melody \context Lyrics = mainlyrics \lyricmode {
+ \context Lyrics = mainlyrics \lyricsto melody \lyricmode {
do mi sol mi do
la si do }
- \lyricsto verse \context Lyrics = mainlyrics \lyricmode {
+ \context Lyrics = mainlyrics \lyricsto verse \lyricmode {
do re mi fa sol }
- \lyricsto verse \context Lyrics = repeatlyrics \lyricmode {
+ \context Lyrics = repeatlyrics \lyricsto verse \lyricmode {
dodo rere mimi fafa solsol }
>>
}
\[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
}
}
- \lyricsto "cantus" \new Lyrics {
+ \new Lyrics \lyricsto "cantus" {
San- ctus, San- ctus, San- ctus
}
>>
fis\longa^\signumcongruentiae
}
}
- \lyricsto "discantus" \new Lyrics {
+ \new Lyrics \lyricsto "discantus" {
San -- ctus, San -- ctus, San -- ctus
}
>>
\score@{
<<
- \context Voice = one @{
+ \context Voice = "one" @{
\autoBeamOff
\melody
@}
- \lyricsto "one" \new Lyrics \text
+ \new Lyrics \lyricsto "one" \text
>>
\layout @{ @}
\midi @{ \tempo 4=60 @}
\score@{
<<
- \context Voice = one @{
+ \context Voice = "one" @{
\autoBeamOff
\sopranoMusic
@}
- \lyricsto "one" \new Lyrics \sopranoLyrics
+ \new Lyrics \lyricsto "one" \sopranoLyrics
>>
\layout @{ @}
\midi @{ \tempo 4=60 @}
@example
\score@{
-<<
<<
- \context Voice = one @{
- \autoBeamOff
- \sopranoMusic
- @}
- \lyricsto "one" \new Lyrics \sopranoLyrics
+ <<
+ \context Voice = "one" @{
+ \autoBeamOff
+ \sopranoMusic
+ @}
+ \new Lyrics \lyricsto "one" \sopranoLyrics
+ >>
+ \new Staff \celloMusic
>>
- \new Staff \celloMusic
->>
\layout @{ @}
\midi @{ \tempo 4=60 @}
@}
\score{
<<
- <<
- \context Voice = one {
- \autoBeamOff
- \sopranoMusic
- }
- \lyricsto "one" \new Lyrics \sopranoLyrics
- >>
- \new Staff \celloMusic
+ <<
+ \context Voice = "one" {
+ \autoBeamOff
+ \sopranoMusic
+ }
+ \new Lyrics \lyricsto "one" \sopranoLyrics
+ >>
+ \new Staff \celloMusic
>>
\layout { }
\midi { \tempo 4=60 }