]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/using-alternative-flag-styles.ly
Doc: run makelsr locally
[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   lsrtags = "rhythms, tweaks-and-overrides"
25
26   texidoc = "
27 Alternative styles of flag on eighth and shorter notes can be displayed
28 by overriding the @code{stencil} property of @code{Flag}.  Valid values
29 are @code{modern-straight-flag} and @code{old-straight-flag}.
30
31 "
32   doctitle = "Using alternative flag styles"
33 } % begin verbatim
34
35
36 testnotes = {
37   \autoBeamOff
38   c8 d16 c32 d64 \acciaccatura { c8 } d64 r4
39 }
40
41 \relative c' {
42   \time 2/4
43   \testnotes
44
45   \override Flag #'stencil = #modern-straight-flag
46   \testnotes
47
48   \override Flag #'stencil = #old-straight-flag
49   \testnotes
50
51   \revert Flag #'stencil
52   \testnotes
53 }
54