lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Up and down arrows


From: Federico Bruni
Subject: Re: Up and down arrows
Date: Tue, 02 May 2017 23:17:29 +0200

Il giorno mar 2 mag 2017 alle 22:54, Federico Bruni <address@hidden> 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
   }
 }
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]