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