X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fexample-3.ly;h=c2827edb881565519bc6786c0eb7544ec271b9c8;hb=7598743b05280d80f22a8f687db12b4050a38ee1;hp=73fa8071c15e66a29e6e9501787ce0e270894a76;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/example-3.ly b/input/example-3.ly index 73fa8071c1..c2827edb88 100644 --- a/input/example-3.ly +++ b/input/example-3.ly @@ -1,32 +1,36 @@ -#(ly:set-option 'old-relative) -\version "1.9.8" +%%% 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: -% -% ly2dvi 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.11.61"