]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/note-head-style.ly
*** empty log message ***
[lilypond.git] / input / regression / note-head-style.ly
1 \version "2.6.0"
2 \header{
3   texidoc="
4 Note head shapes may be set from several choices.  
5 The stem endings should be adjusted according to the note head.  
6 If you want different note head styles on one stem,
7 you must create a special context.
8
9 Harmonic notes have a different shape and different
10 dimensions. 
11 "
12 }
13
14 pattern = <<
15   \new Voice {
16     \override Stem  #'direction = #UP
17     e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4
18   }
19   \new Voice {
20     \override Stem  #'direction = #DOWN
21     a4 a2. a1 a\breve*1/2 a\longa*1/4
22   }
23 >>
24
25
26 \transpose c c {
27   \clef C
28
29   \override Staff.NoteHead  #'style = #'default
30   s1*0^\markup { "default" }
31   \pattern
32
33   \override Staff.NoteHead  #'style = #'baroque
34   s1*0^\markup { "baroque" }
35   \pattern
36
37   \break
38
39   \override Staff.NoteHead  #'style = #'neomensural
40   s1*0^\markup { "neomensural" }
41   \pattern
42
43   \override Staff.NoteHead  #'style = #'mensural
44   s1*0^\markup { "mensural" }
45   \pattern
46
47   \break
48
49   \override Staff.NoteHead  #'style = #'petrucci
50   s1*0^\markup { "petrucci" }
51   \pattern
52
53   \override Staff.NoteHead  #'style = #'harmonic
54   s1*0^\markup { "harmonic" }
55   \pattern
56
57   \break
58
59   \override Staff.NoteHead  #'style = #'diamond
60   s1*0^\markup { "diamond" }
61   \pattern
62
63   \override Staff.NoteHead  #'style = #'cross
64   s1*0^\markup { "cross" }
65   \pattern
66
67   \break
68
69   \override Staff.NoteHead  #'style = #'xcircle
70   s1*0^\markup { "xcircle" }
71   \pattern
72
73   \override Staff.NoteHead  #'style = #'triangle
74   s1*0^\markup { "triangle" }
75   \pattern
76
77   \break
78
79   \override Staff.NoteHead  #'style = #'slash
80   s1*0^\markup { "slash" }
81   \pattern
82 }
83
84 \layout {
85   indent = 0.0
86   raggedright = ##t
87 }
88