]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/using-alternative-flag-styles.ly
30b1a8fcb835e167e846358a948d6d1b3f31c847
[lilypond.git] / Documentation / snippets / using-alternative-flag-styles.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.15
8 \version "2.15.15"
9
10 \header {
11 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
12   texidoces = "
13
14 Se pueden imprimir estilos alternativos del corchete o gancho de las
15 corcheas y figuras menores, mediante la sobreescritura de la propiedad
16 @code{stencil} del objeto @code{Flag}.  Son valores válidos
17 @code{modern-straight-flag} y @code{old-straight-flag}.
18
19 "
20   doctitlees = "Uso de estilos alternativos para los corchetes"
21
22
23
24 %% Translation of GIT committish: d5307870fe0ad47904daba73792c7e17b813737f
25   texidocfr = "
26 Une dérogation à la propriété  @code{stencil} de l'objet @code{Flag}
27 permet aux croches et notes de durée inférieure d'adopter une autre
28 forme de crochet.  Sont disponibles les variantes
29 @code{modern-straight-flag} et @code{old-straight-flag}.
30
31 "
32   doctitlefr = "Crochets de style alternatif"
33
34   lsrtags = "rhythms, tweaks-and-overrides"
35
36   texidoc = "
37 Alternative styles of flag on eighth and shorter notes can be displayed
38 by overriding the @code{stencil} property of @code{Flag}.  Valid values
39 are @code{modern-straight-flag} and @code{old-straight-flag}.
40
41 "
42   doctitle = "Using alternative flag styles"
43 } % begin verbatim
44
45
46 testnotes = {
47   \autoBeamOff
48   c8 d16 c32 d64 \acciaccatura { c8 } d64 r4
49 }
50
51 \relative c' {
52   \time 2/4
53   \testnotes
54
55   \override Flag #'stencil = #modern-straight-flag
56   \testnotes
57
58   \override Flag #'stencil = #old-straight-flag
59   \testnotes
60
61   \revert Flag #'stencil
62   \testnotes
63 }
64