X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fexample-3.ly;h=5bf6fe86e4dfa3823cb609075c08bd22e194f353;hb=ce6e56a8510206bff0d329bb79b9c0211999636f;hp=73fa8071c15e66a29e6e9501787ce0e270894a76;hpb=d2e7425b88e579fe53989106965fa13eab551c92;p=lilypond.git diff --git a/input/example-3.ly b/input/example-3.ly index 73fa8071c1..5bf6fe86e4 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.7.39"