X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-alternative-flag-styles.ly;h=145eab583a8c162b38e9f855e112d9a689d09790;hb=65ba9df14e3a74b78689aa9e504d9d45f9cd35ac;hp=749cf4909148c2028c4f68e20182f036494d276c;hpb=f2fbf0dd215c8af6a30aae6c9634f3b92333b0ab;p=lilypond.git diff --git a/Documentation/snippets/using-alternative-flag-styles.ly b/Documentation/snippets/using-alternative-flag-styles.ly index 749cf49091..145eab583a 100644 --- a/Documentation/snippets/using-alternative-flag-styles.ly +++ b/Documentation/snippets/using-alternative-flag-styles.ly @@ -1,28 +1,19 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.12.2" +\version "2.18.0" \header { lsrtags = "rhythms, tweaks-and-overrides" -%% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec - 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}. +by overriding the @code{stencil} property of @code{Flag}. Valid values +are @code{modern-straight-flag}, @code{old-straight-flag} and +@code{flat-flag}. " doctitle = "Using alternative flag styles" @@ -33,17 +24,28 @@ testnotes = { 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 +\score { + \relative c' { + \time 2/4 + \testnotes + + \override Flag.stencil = #modern-straight-flag + \testnotes + + \override Flag.stencil = #old-straight-flag + \testnotes + + \override Flag.stencil = #flat-flag + \testnotes + + \revert Flag.stencil + \testnotes + } + \layout { + indent = 0 + \context { + \Score + \override NonMusicalPaperColumn.line-break-permission = ##f + } + } } -