]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/example-3.ly
Merge master into nested-bookparts
[lilypond.git] / input / example-3.ly
index fbcec3dfbe21f93b2c364fcd52225e784b3860e3..c2827edb881565519bc6786c0eb7544ec271b9c8 100644 (file)
@@ -1,26 +1,36 @@
-\version "1.5.68"
+%%% 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
+<<
+  \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"