X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fexample-3.ly;h=34291864c993aae00b8e6a8428184a437370373c;hb=f69bd6761b3b3c077b0b994bd65b5a5bd79b5582;hp=d85a2ef5d14cfc7644f818158ff1dbbb3d69dec2;hpb=ecaf73bb03e974018c17e3051b3ac3a805dd1653;p=lilypond.git diff --git a/input/example-3.ly b/input/example-3.ly index d85a2ef5d1..34291864c9 100644 --- a/input/example-3.ly +++ b/input/example-3.ly @@ -1,32 +1,36 @@ -#(ly:set-option 'old-relative) -\version "2.1.28" +%%% A full example with two staves -one = \notes\relative c{ - c'' d e f +\header { + title = "And now, example 3" + copyright = "public domain" } -two = \notes\relative c{ - \clef "bass" - c'2 g2 +one = \relative { + c' d e f } -\score{ - << - \one - \two - >> - \paper{} - \midi{} +two = \relative { + \clef "bass" + c2 g2 } -% A full example with two staves -% -% Type: -% -% lilypond example-3 -% xdvi example-3 # or your dvi viewer here - -%% -%% For learning LilyPond, please read the tutorial, included in the -%% user-manual. -%% +<< + \new Staff \one + \new Staff \two +>> + +%{ +Type + + lilypond example-3 + xpdf example-3 # or your PDF viewer here + +For learning LilyPond, please read the tutorial + + http://lilypond.org/tutorial + +also included in the user-manual. +%} + +%% Optional version number +\version "2.12.0"