blob: f373d050faafeb223a57cf1245d7541da59304b3 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
\version "2.19.8"
\header {
= "Controlling the appearance of tremolo slashes. Property
@code{slope} is self-explanatory. Property @code{shape} determines
whether slashes look like rectangles or like very small beams. Setting
these properties directly cause all slashes behave in the specified way.
However, one usually wants the slashes to behave differently depending on
whether the note has flags, beams or only a plain stem. That's what the
@code{style} property is used for: it sets shape and slope depending on
the situation. There are two styles defined: @code{default} and
@code{constant}."
}
music = {
a''4:32 a':
e''8: \noBeam e':
a'': [ a': ]
f': [ g':]
d': [ d': ]
}
\markup \wordwrap { default. First three notes should have beam-like slashes.
Slash of the third note should be more sloped than first two notes.
Slashes on beamed notes should be rectangular and parallel to the beams. }
\new Staff {
\music
}
\markup \wordwrap { style=constant. All slashes should be rectangular.
All slashes should have the same slope except for downstem flagged notes. }
\new Staff {
\override StemTremolo.style = #'constant
\music
}
\markup \wordwrap { shape=rectangle. All slashes should be rectangular.
Slope like in default. }
\new Staff {
\override StemTremolo.shape = #'rectangle
\music
}
\markup \wordwrap { shape=beam-like. All slashes should be beam-like.
Slope like in default. }
\new Staff {
\override StemTremolo.shape = #'beam-like
\music
}
\markup \wordwrap { slope=-0.2 All slashes should have the same downward slope.
Shape like in default. }
\new Staff {
\override StemTremolo.slope = #-0.2
\music
}
|