]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/tweaks.itely
Clarifications and reorg.
[lilypond.git] / Documentation / user / tweaks.itely
index f1ce54324f2f5ce8a283225313b61b0ceae74459..33331bbd9bbda901a1e40b96a96e6d2611b62089 100644 (file)
@@ -323,16 +323,14 @@ want an articulation attached to the second variable, we
 must #####.
 
 @lilypond[quote,verbatim,ragged-right]
-%pattern = #(define-music-function (parser location x y) (ly:music? ly:music?)
-%#{
-%  $x e8-. a-. b-. $y-.-> b-. a-. e-.
-%#})
+pattern = #(define-music-function (parser location x y) (ly:music? ly:music?)
+#{
+  $x e8 a b $y b a e
+#})
 
 \relative c''{
-c'4
-%  \pattern c8 c8
-%  \pattern d8 ais8
-%  \pattern cis8 des8
+  \pattern c8 c8\f
+  \pattern {d16 dis} { ais16-> b\p }
 }
 @end lilypond