]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/new/slides-in-tablature.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / new / slides-in-tablature.ly
1 \version "2.14.0"
2
3 \header {
4   lsrtags = "fretted-strings"
5   texidoc = "
6 Slides can be typeset in both @code{Staff} and @code{TabStaff} contexts:
7 "
8   doctitle = "Slides in tablature"
9 }
10
11 slides = {
12   c'8\3(\glissando d'8\3)
13   c'8\3\glissando d'8\3
14   \hideNotes
15   \grace { g16\3\glissando }
16   \unHideNotes
17   c'4\3
18   \afterGrace d'4\3\glissando {
19   \stemDown \hideNotes
20   g16\3 }
21   \unHideNotes
22 }
23
24 \score {
25   <<
26     \new Staff { \clef "treble_8" \slides }
27     \new TabStaff { \slides }
28   >>
29   \layout {
30     \context {
31       \Score
32       \override Glissando #'minimum-length = #4
33       \override Glissando #'springs-and-rods =
34                           #ly:spanner::set-spacing-rods
35       \override Glissando #'thickness = #2
36     }
37   }
38 }