]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/noteheadstyle.ly
c59f40c073fc3a5ec266938a6dddd316fd869c57
[lilypond.git] / input / regression / noteheadstyle.ly
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.
6
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.
10 ";
11 }
12
13 \version "1.3.117";
14
15
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
31
32
33    \context Voice <
34     \context Thread = TA
35       {
36         \property Thread.NoteHead \override #'style = #'cross
37         \property Voice.Stem \override #'direction = #1
38         c16
39        }
40     \context Thread = TB
41       { \property Thread.NoteHead \override #'style = #'default a16  }
42
43     \context Thread = TC
44       { \property Thread.NoteHead \override #'style = #'mensural d16 }
45
46   >
47
48
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 } >
56
57 }
58
59     \paper {
60
61
62 }
63 }