]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/using-alternative-flag-styles.ly
0e4ad3c261452095e920b89d17b45b9693ce3a9b
[lilypond.git] / Documentation / snippets / new / using-alternative-flag-styles.ly
1 \version "2.15.15"
2
3 \header {
4   lsrtags = "rhythms, tweaks-and-overrides"
5
6 %% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb
7   texidoces = "
8
9 Se pueden imprimir estilos alternativos del corchete o gancho de las
10 corcheas y figuras menores, mediante la sobreescritura de la propiedad
11 @code{stencil} del objeto @code{Flag}.  Son valores vĂ¡lidos
12 @code{modern-straight-flag} y @code{old-straight-flag}.
13
14 "
15   doctitlees = "Uso de estilos alternativos para los corchetes"
16
17
18
19   texidoc = "
20 Alternative styles of flag on eighth and shorter notes can be displayed
21 by overriding the @code{stencil} property of @code{Flag}.  Valid values
22 are @code{modern-straight-flag} and @code{old-straight-flag}.
23
24 "
25   doctitle = "Using alternative flag styles"
26 } % begin verbatim
27
28 testnotes = {
29   \autoBeamOff
30   c8 d16 c32 d64 \acciaccatura { c8 } d64 r4
31 }
32
33 \relative c' {
34   \time 2/4
35   \testnotes
36
37   \override Flag #'stencil = #modern-straight-flag
38   \testnotes
39
40   \override Flag #'stencil = #old-straight-flag
41   \testnotes
42
43   \revert Flag #'stencil
44   \testnotes
45 }
46