Il giorno mar 2 mag 2017 alle 22:54, Federico Bruni
<f...@inventati.org> ha scritto:
Here's the snippet: http://lsr.di.unimi.it/LSR/Item?id=879
BTW, I would change this snippet and replace manual beams with
automatic beams, in order to make stand what matters.
I would add also a comment to explain the override of
TextScript.padding.
Harm, can you update it on the LSR?
\version "2.18.2"
arrUp = _\markup \translate #'(-.2 . 0) \rotate #90 \char ##x279B
arrDown = _\markup \translate #'(-.2 . 0) \rotate #-90 \char ##x279B
music = \relative c {
\time 4/4
\set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/8)
\set Timing.beatStructure = #'(3 3 2)
d8\arrDown g\arrDown b\arrUp d,\arrDown g\arrDown b\arrUp d,\arrDown
g\arrUp |
f8\arrDown b\3\arrDown d\arrUp f,\arrDown b\3\arrDown d\arrUp
f,\arrDown b\3\arrUp |
c8\arrUp g\arrUp e\arrDown c'8\arrUp g\arrUp e\arrDown c'8\arrUp
g\arrDown |
b8\arrUp g\arrUp d\arrDown b'\arrUp g\arrUp d\arrDown b'\arrUp
g\arrUp |
}
\score {
\new StaffGroup <<
\new Staff <<
\context Voice { \clef "G_8" \music }
>>
\new TabStaff <<
\context TabVoice { \clef "moderntab" \music }
>>
>>
\layout {
\context {
\Score
% vertically align the arrows and add padding from staff
\override TextScript.padding = #3
}
\context {
\Staff
\override StringNumber.stencil = ##f
}
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user