]> git.donarmstrong.com Git - lilypond.git/blob - input/manual/note-head-style.ly
Merge master into nested-bookparts
[lilypond.git] / input / manual / note-head-style.ly
1 \version "2.11.61"
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 \layout {
15   indent = 0.0
16   ragged-right = ##t
17 }
18
19 pattern = <<
20   \new Voice {
21     \override Stem  #'direction = #UP
22     e'4 e'2. e'1 e'\breve*1/2 e'\longa*1/4
23   }
24   \new Voice {
25     \override Stem  #'direction = #DOWN
26     a4 a2. a1 a\breve*1/2 a\longa*1/4
27   }
28 >>
29
30
31 \transpose c c {
32   \clef C
33
34   \override Staff.NoteHead  #'style = #'default
35   s1*0^\markup { "default" }
36   \pattern
37
38   \override Staff.NoteHead  #'style = #'baroque
39   s1*0^\markup { "baroque" }
40   \pattern
41
42   \break
43
44   \override Staff.NoteHead  #'style = #'neomensural
45   s1*0^\markup { "neomensural" }
46   \pattern
47
48   \override Staff.NoteHead  #'style = #'mensural
49   s1*0^\markup { "mensural" }
50   \pattern
51
52   \break
53
54   \override Staff.NoteHead  #'style = #'petrucci
55   s1*0^\markup { "petrucci" }
56   \pattern
57
58   \override Staff.NoteHead  #'style = #'harmonic
59   s1*0^\markup { "harmonic" }
60   \pattern
61
62   \break
63
64   \override Staff.NoteHead  #'style = #'harmonic-black
65   s1*0^\markup { "harmonic-black" }
66   \pattern
67
68   \override Staff.NoteHead  #'style = #'harmonic-mixed
69   s1*0^\markup { "harmonic-mixed" }
70   \pattern
71
72   \break
73
74   \override Staff.NoteHead  #'style = #'diamond
75   s1*0^\markup { "diamond" }
76   \pattern
77
78   \override Staff.NoteHead  #'style = #'cross
79   s1*0^\markup { "cross" }
80   \pattern
81
82   \break
83
84   \override Staff.NoteHead  #'style = #'xcircle
85   s1*0^\markup { "xcircle" }
86   \pattern
87
88   \override Staff.NoteHead  #'style = #'triangle
89   s1*0^\markup { "triangle" }
90   \pattern
91
92   \break
93
94   \override Staff.NoteHead  #'style = #'slash
95   s1*0^\markup { "slash" }
96   \pattern
97 }
98
99
100