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