lilypond-1.3.118
[lilypond.git] / input / test / noteheadstyle.ly
blobc59f40c073fc3a5ec266938a6dddd316fd869c57
1 \header{
2 texidoc="
3 Note head shapes are settable. The stem endings should be adjusted
4 per note head. If you want different note head styles on one stem,
5 you must create a special context called Thread.
7 Harmonic notes have a different shape and different
8 dimensions. Nevertheless, noteheads in both styles can be combined, on
9 either up or down stems.
13 \version "1.3.117";
16 \score { \notes \relative c{
17 % anyone wanna pop?
18 c''4 c2 c8 c16 c16 c1 c\breve
19 \property Voice.NoteHead \override #'style = #'diamond
20 c4 c2 c8 c16 c16 c1 c\breve
21 \property Voice.NoteHead \override #'style = #'transparent
22 c4 c2 c8 c16 c16 c1 c\breve
23 \property Voice.NoteHead \override #'style = #'cross
24 c4 c2 c8 c16 c16 c1 c\breve
25 \property Voice.NoteHead \override #'style = #'mensural
26 c4 c2 c8 c16 c16 c1 c\breve c\longa
27 \property Voice.NoteHead \override #'style = #'harmonic
28 c4 c2 c8 c16 c16 c1 c\breve
29 \property Voice.NoteHead \override #'style = #'baroque
30 c4 c2 c8 c16 c16 c1 c\breve c\longa
33 \context Voice <
34 \context Thread = TA
36 \property Thread.NoteHead \override #'style = #'cross
37 \property Voice.Stem \override #'direction = #1
38 c16
40 \context Thread = TB
41 { \property Thread.NoteHead \override #'style = #'default a16 }
43 \context Thread = TC
44 { \property Thread.NoteHead \override #'style = #'mensural d16 }
49 \context Voice <\context Thread = TA {
50 \property Thread.NoteHead \override #'style = #'default
51 c4 c4 }
52 \context Thread = TB {
53 \property Thread.NoteHead \override #'style = #'mensural
54 c'4 \stemDown c
55 } >
59 \paper {