]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/slides-in-tablature.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / slides-in-tablature.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.13.49
8 \version "2.13.49"
9
10 \header {
11   lsrtags = "fretted-strings"
12   texidoc = "
13 Slides can be typeset in both @code{Staff} and @code{TabStaff} contexts:
14 "
15   doctitle = "Slides in tablature"
16 } % begin verbatim
17
18
19 slides = {
20   c'8\3(\glissando d'8\3)
21   c'8\3\glissando d'8\3
22   \hideNotes
23   \grace { g16\3\glissando }
24   \unHideNotes
25   c'4\3
26   \afterGrace d'4\3\glissando {
27   \stemDown \hideNotes
28   g16\3 }
29   \unHideNotes
30 }
31
32 \score {
33   <<
34     \new Staff { \clef "treble_8" \slides }
35     \new TabStaff { \slides }
36   >>
37   \layout {
38     \context {
39       \Score
40       \override Glissando #'minimum-length = #4
41       \override Glissando #'springs-and-rods =
42                           #ly:spanner::set-spacing-rods
43       \override Glissando #'thickness = #2
44     }
45   }
46 }