]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/creating-slurs-across-voices.ly
Some tweaks to beaming patterns over rests.
[lilypond.git] / input / lsr / creating-slurs-across-voices.ly
index bc2ec548ab2659f8bc6355907517d4615136e3c9..034926d38d8d11c5d0507357ae266ef7f47ef128 100644 (file)
@@ -6,8 +6,8 @@
   lsrtags = "expressive-marks, keyboards, unfretted-strings"
 
   texidoc = "
-In some situations, you may want to create slurs between notes from
-different voices.
+In some situations, it may be necessary to create slurs between notes
+from different voices.
 
 The solution is to add invisible notes to one of the voices, using
 @code{\\hideNotes}.
@@ -18,9 +18,22 @@ solo violin, BWV 1004.
 "
   doctitle = "Creating slurs across voices"
 } % begin verbatim
-\relative c'
-<<
-  {d16( a') s a s a[ s a] s a[ s a] } \\
-  {\slurUp bes,[ s e]( \hideNotes a) \unHideNotes f[( \hideNotes a) \unHideNotes fis]( \hideNotes a) \unHideNotes g[( \hideNotes a) \unHideNotes gis]( \hideNotes a) }
->>
-
+\relative c' {
+  << {
+    d16( a') s a s a[ s a] s a[ s a]
+  }
+  \\
+  {
+    \slurUp
+    bes,16[ s e](
+    \hideNotes a)
+    \unHideNotes f[(
+    \hideNotes a)
+    \unHideNotes fis](
+    \hideNotes a)
+    \unHideNotes g[(
+    \hideNotes a)
+    \unHideNotes gis](
+    \hideNotes a)
+  } >>
+}