]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/chord-glissando-in-tablature.ly
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / Documentation / snippets / chord-glissando-in-tablature.ly
index 6bd5505fd0018853d7df7efabe5899360e789581..9b6167453936c3714096283418a84f36fb0679a8 100644 (file)
@@ -1,27 +1,36 @@
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.13.53
-\version "2.13.53"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.18.0"
 
 \header {
   lsrtags = "fretted-strings"
+
   texidoc = "
-Slides for chords can be indicated in both Staff and TabStaff.
-String numbers are necessary for TabStaff because automatic
-string calculations are different for chords and for single notes,
-and @code{\\chordGlissando} draws lines between single notes.
+Slides for chords are indicated by default in both @code{Staff} and
+@code{TabStaff}. String numbers are necessary for @code{TabStaff}
+because automatic string calculations are different for chords and for
+single notes.
+
 "
   doctitle = "Chord glissando in tablature"
 } % begin verbatim
 
-
 myMusic = \relative c' {
-  \chordGlissando
-  <c\3 e\2 g\1>8 <f\3 a\2 c\1>
+  <c e g>1 \glissando <f a c>
+}
+
+\score {
+  <<
+    \new Staff {
+      \clef "treble_8"
+      \myMusic
+    }
+    \new TabStaff \myMusic
+  >>
 }
 
 \score {
@@ -30,7 +39,7 @@ myMusic = \relative c' {
       \clef "treble_8"
       \myMusic
     }
-    \new TabStaff {
+    \new TabStaff \with { \override Glissando.style = #'none } {
       \myMusic
     }
   >>