Line 81: |
Line 81: |
| | | |
| * <lilybook> | | * <lilybook> |
− | Produces: same as <lilymidi>
| |
| | | |
| <lilybook> | | <lilybook> |
− | lots of code... | + | \version "2.10.29" |
| + | . |
| + | \header { |
| + | title = "Mary Had a Little Lamb" |
| + | tagline = "" |
| + | } |
| + | . |
| + | \paper { |
| + | traggedright = ##t |
| + | traggedbottom = ##t |
| + | tindent = 0\mm |
| + | } |
| + | . |
| + | melody = \relative c' { |
| + | e d c d | e e e e | |
| + | d d e d | c1 | |
| + | } |
| + | |
| + | text = \lyricmode { |
| + | \set stanza = "1." Ma- ry had a lit- tle lamb, |
| + | its fleece was white as snow. |
| + | } |
| + | |
| + | \book{ |
| + | \score{ << |
| + | \new Voice = "one" { \melody } |
| + | \new Lyrics \lyricsto "one" \text |
| + | >> |
| + | \layout { } |
| + | \midi { } |
| + | } |
| + | \markup{ |
| + | \wordwrap-string #" |
| + | Verse 2. |
| + | |
| + | Mary took it home again, |
| + | |
| + | It was against the rule." |
| + | } |
| + | } |
| </lilybook> | | </lilybook> |
| + | |
| + | produces: An Image, linked to a midi if ''' \midi { }''' is included |
| + | |
| + | [[Image:LilypondMary.png|Lilypond Song]] |
| | | |
| Notes: | | Notes: |