]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/chord-glissando-in-tablature.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / new / chord-glissando-in-tablature.ly
1 \version "2.14.0"
2
3 \header {
4   lsrtags = "fretted-strings"
5   texidoc = "
6 Slides for chords can be indicated in both Staff and TabStaff.
7 String numbers are necessary for TabStaff because automatic
8 string calculations are different for chords and for single notes,
9 and @code{\chordGlissando} draws lines between single notes.
10 "
11   doctitle = "Chord glissando in tablature"
12 }
13
14 myMusic = \relative c' {
15   \chordGlissando
16   <c\3 e\2 g\1>8 <f\3 a\2 c\1>
17 }
18
19 \score {
20   <<
21     \new Staff {
22       \clef "treble_8"
23       \myMusic
24     }
25     \new TabStaff {
26       \myMusic
27     }
28   >>
29 }