]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/using-alternative-flag-styles.ly
Imported Upstream version 2.19.45
[lilypond.git] / Documentation / snippets / using-alternative-flag-styles.ly
index 3338586384e5c4cf501bda9191a73f166515aafa..145eab583a8c162b38e9f855e112d9a689d09790 100644 (file)
@@ -1,11 +1,10 @@
-% 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
-\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 {
   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
+    }
+  }
 }