]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/note-head-style.ly
2005-05-09 Jürgen Reuter <reuter@ipd.uka.de>
[lilypond.git] / input / regression / note-head-style.ly
index 4f8f23ecfccf476362c95070c13d739f821e6329..97d48ac9516266f422541057c7f2102b22a593aa 100644 (file)
@@ -1,29 +1,29 @@
-\version "2.1.22"
+\version "2.4.0"
 \header{
 texidoc="
-Note head shapes are settable.  The stem endings should be adjusted
-per note head.  If you want different note head styles on one stem,
-you must create a special context called 
+Note head shapes may be set from several choices.  
+The stem endings should be adjusted according to the note head.  
+If you want different note head styles on one stem,
+you must create a special context.
 
 Harmonic notes have a different shape and different
 dimensions. 
 "
 }
 
-pattern = \notes <<
-      \new Voice {
-        \override Stem  #'direction = #UP
-        e'4
-         e'2. e'1 e'\breve*1/2 e'\longa*1/4
-      }
-      \new Voice {
-        \override Stem  #'direction = #DOWN
-         a4 a2. a1 a\breve*1/2 a\longa*1/4
-      }
-    >>
+pattern = <<
+  \new Voice {
+    \override Stem  #'direction = #UP
+    e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4
+  }
+  \new Voice {
+    \override Stem  #'direction = #DOWN
+    a4 a2. a1 a\breve*1/2 a\longa*1/4
+  }
+>>
 
 \score {
-  \notes \transpose c c {
+  \transpose c c {
     \clef C
 
     \override Staff.NoteHead  #'style = #'default
@@ -33,49 +33,55 @@ pattern = \notes <<
     \override Staff.NoteHead  #'style = #'baroque
     s1*0^\markup { "baroque" }
     \pattern
-        \break
 
-    \override Staff.NoteHead  #'style = #'neo_mensural
+    \break
+
+    \override Staff.NoteHead  #'style = #'neomensural
     s1*0^\markup { "neomensural" }
     \pattern
 
     \override Staff.NoteHead  #'style = #'mensural
     s1*0^\markup { "mensural" }
     \pattern
-    
+
     \break
 
+    \override Staff.NoteHead  #'style = #'petrucci
+    s1*0^\markup { "petrucci" }
+    \pattern
+
     \override Staff.NoteHead  #'style = #'harmonic
     s1*0^\markup { "harmonic" }
     \pattern
 
+    \break
+
     \override Staff.NoteHead  #'style = #'diamond
     s1*0^\markup { "diamond" }
     \pattern
-    \break
 
     \override Staff.NoteHead  #'style = #'cross
     s1*0^\markup { "cross" }
     \pattern
 
+    \break
+
     \override Staff.NoteHead  #'style = #'xcircle
     s1*0^\markup { "xcircle" }
-\pattern
-    
-    \break
+    \pattern
 
     \override Staff.NoteHead  #'style = #'triangle
     s1*0^\markup { "triangle" }
     \pattern
-    
+
+    \break
 
     \override Staff.NoteHead  #'style = #'slash
     s1*0^\markup { "slash" }
     \pattern
-    \break
   }
 
-  \paper {
+  \layout {
     indent = 0.0
     raggedright = ##t
   }