]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/creating-slurs-across-voices.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[lilypond.git] / input / lsr / creating-slurs-across-voices.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.49"
4
5 \header {
6   lsrtags = "expressive-marks, keyboards, unfretted-strings"
7
8   texidoc = "
9 In some situations, it may be necessary to create slurs between notes
10 from different voices.
11
12 The solution is to add invisible notes to one of the voices, using
13 @code{\\hideNotes}.
14
15 This example is measure 235 of the Ciaconna from Bach's 2nd Partita for
16 solo violin, BWV 1004.
17
18 "
19   doctitle = "Creating slurs across voices"
20 } % begin verbatim
21 \relative c' {
22   << {
23     d16( a') s a s a[ s a] s a[ s a]
24   }
25   \\
26   {
27     \slurUp
28     bes,16[ s e](
29     \hideNotes a)
30     \unHideNotes f[(
31     \hideNotes a)
32     \unHideNotes fis](
33     \hideNotes a)
34     \unHideNotes g[(
35     \hideNotes a)
36     \unHideNotes gis](
37     \hideNotes a)
38   } >>
39 }