X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fusing-alternative-flag-styles.ly;h=145eab583a8c162b38e9f855e112d9a689d09790;hb=493fa01bf15b02089b985bcba87c5a9a1be7f3b9;hp=8bc04b65bf329dee9fff01d9bdc8c0f5ee435692;hpb=c5133c2f8447bd86a9b0569eda7120318ca1080c;p=lilypond.git diff --git a/Documentation/snippets/using-alternative-flag-styles.ly b/Documentation/snippets/using-alternative-flag-styles.ly index 8bc04b65bf..145eab583a 100644 --- a/Documentation/snippets/using-alternative-flag-styles.ly +++ b/Documentation/snippets/using-alternative-flag-styles.ly @@ -1,54 +1,51 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.15.15 -\version "2.15.15" +%% 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.18.0" \header { -%% Translation of GIT committish: 2d548a99cb9dba80f2ff035582009477cd37eceb - 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" - - - lsrtags = "rhythms, tweaks-and-overrides" texidoc = " Alternative styles of flag on eighth and shorter notes can be displayed by overriding the @code{stencil} property of @code{Flag}. Valid values -are @code{modern-straight-flag} and @code{old-straight-flag}. +are @code{modern-straight-flag}, @code{old-straight-flag} and +@code{flat-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 Flag #'stencil = #modern-straight-flag - \testnotes - - \override Flag #'stencil = #old-straight-flag - \testnotes - - \revert Flag #'stencil - \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 + } + } } -