\version "2.17.30" \header { lsrtags = "fretted-strings" texidoc = " Slides may go from an imprecise point of the fretboard to a specific fret (slide into) or viceversa (slide out). A good way to do that is to add a grace hidden note before or after the note which is actually played, as demonstrated in the following example. " doctitle = "Guitar slides from or to an arbitrary point" } %% Hide fret number: useful to draw slide into/from a casual point of %% the fretboard. onceHideNote = { \once \hide TabNoteHead \once \hide NoteHead \once \hide Stem \once \override NoteHead.no-ledgers = ##t \once \override Glissando.bound-details.left.padding = #0.3 } music= \relative c' { \grace { \onceHideNote a8\3^\markup \tiny { Slide into } \glissando } b4\3 s \grace { \onceHideNote d8 \glissando } f4\2 s | f4\3^\markup \tiny { Slide from } \glissando \onceHideNote \grace { c8\3 } s4 e,4\5 \glissando \grace { \onceHideNote c8 } s4 | } \score { << \new Staff { \clef "G_8" \music } \new TabStaff { \music } >> \layout { \context { \Score \override Glissando.minimum-length = #4 \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods \override Glissando.thickness = #2 } \context { \Staff \omit StringNumber } } }