X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fusing-alternative-flag-styles.ly;h=145eab583a8c162b38e9f855e112d9a689d09790;hb=c9726c410b1e7be35283b20e1f8719d272057f14;hp=6de17a6f579305eac1da725a53e36b1366903bf1;hpb=4ee99b07605942b02e82c6526df98b68cbc03981;p=lilypond.git diff --git a/Documentation/snippets/using-alternative-flag-styles.ly b/Documentation/snippets/using-alternative-flag-styles.ly index 6de17a6f57..145eab583a 100644 --- a/Documentation/snippets/using-alternative-flag-styles.ly +++ b/Documentation/snippets/using-alternative-flag-styles.ly @@ -1,10 +1,9 @@ -% 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.17.6 +%% 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 { @@ -13,28 +12,40 @@ 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 + } + } }