X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-alternative-flag-styles.ly;fp=Documentation%2Fsnippets%2Fusing-alternative-flag-styles.ly;h=c975e50ac42b18366a31e0ce6d14aa8aa2c822fe;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/Documentation/snippets/using-alternative-flag-styles.ly b/Documentation/snippets/using-alternative-flag-styles.ly new file mode 100644 index 0000000000..c975e50ac4 --- /dev/null +++ b/Documentation/snippets/using-alternative-flag-styles.ly @@ -0,0 +1,52 @@ +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.dsi.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.14.0" + +\header { + lsrtags = "rhythms, tweaks-and-overrides" + +%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c + texidoces = " + +Se pueden imprimir estilos alternativos del corchete o gancho de las +corcheas y figuras menores, mediante la sobreescritura de la propiedad +@code{flag} del objeto @code{Stem}. Son valores válidos +@code{modern-straight-flag} y @code{old-straight-flag}. + +" + doctitlees = "Uso de estilos alternativos para los corchetes" + + + + texidoc = " +Alternative styles of flag on eighth and shorter notes can be displayed +by overriding the @code{flag} property of @code{Stem}. Valid values +are @code{modern-straight-flag} and @code{old-straight-flag}. + +" + doctitle = "Using alternative flag styles" +} % begin verbatim + +testnotes = { + \autoBeamOff + c8 d16 c32 d64 \acciaccatura { c8 } d64 r4 +} + +\relative c' { + \time 2/4 + \testnotes + + \override Stem #'flag = #modern-straight-flag + \testnotes + + \override Stem #'flag = #old-straight-flag + \testnotes + + \revert Stem #'flag + \testnotes +} +