What's this? Searching the LSR Browse by date Contributing Snippet database | Browsing items 250−259 out of 940 |
\correctOctave \correctOctaveOutOfRange \colorizeOutOfRange \parenthesizeOutOfRange
Here is the code of each Staff.
\music % staff 1 \correctOctave #'above g'' \music % staff 2 \correctOctave #'below g' \music % staff 3 \correctOctaveOutOfRange g' g'' \music % staff 4 \colorizeOutOfRange g' g'' \music % staff 5 \parenthesizeOutOfRange g' g'' \music % staff 6
The visibility of spanners which end on the first note
following a line break is controlled by the after-line-breaking
callback ly:spanner::kill-zero-spanned-time
.
For objects such as glissandos and hairpins, the default behaviour is to hide the spanner after a break; disabling the callback will allow the left-broken span to be shown.
Conversely, spanners which are usually visible, such as text spans, can be hidden by enabling the callback.
StemTremolo
grob it is possible to control the appearance of tremolo slashes.
Property slope
sets the slope for tremolo slashes.
Property shape
determines whether tremolo slashes look like rectangles (value rectangle
) or like very small beams (value beam-like
).
Property style
sets both the slope and the shape depending on whether the note has flags, beams, or only a plain stem. This is in contrast to the previous two properties, which change the slope and shape unconditionally. There are two styles defined.
default
: slashes for down-stem flags are longer and more sloped than slashes for up-stem flags; slashes on beamed notes have a rectangular shape and are parallel to the beam.constant
: all slashes are beam-like and have the same slope except for down-stem flags.The vertical ordering of scripts is controlled with the 'script-priority
property. The lower this number, the closer it will be put to the note. In this example, the TextScript
(the sharp symbol) first has the lowest priority, so it is put lowest in the first example. In the second, the prall trill (the Script
) has the lowest, so it is on the inside. When two objects have the same priority, the order in which they are entered determines which one comes first.