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