2013/6/8 Federico Bruni <[email protected]>

> Hi LilyPonders
>
> I'm trying to figure out how to notate the arrows up/down used in
> particular in flatpicking guitar to indicate the direction of the picking.
> In the attached example I'd like to fix three problems:
>
> 1) the arrows should be vertically aligned to the same level
> 2) the horizontal align is not perfect: the arrows are not centered on the
> note heads, they are slightly on the right
> 3) I don't like too much the UTF-8 arrows. How can I get a better look?
>
> Thanks
> Federico
>

Hi Federico,
1) use TextScript #'padding
2) use  \translate
3) There are other arrows in the UTF-8 characters.
For ex. :

up = _\markup \translate #'(-.2 . 0) \rotate #90 "➛"
down = _\markup \translate #'(-.2 . 0) \rotate #-90 "➛"

music = \relative c {
  d8\down g\down b\up d,\down g\down b\up g\down b\up |
  b8\down b\up g\down g\up g\down a\up b4\down |
}

\score {
  \new StaffGroup <<
    \new Staff <<
      \context Voice { \clef "G_8" \music }
    >>
    \new TabStaff  <<
      \context TabVoice { \clef "moderntab" \music }
    >>
  >>
  \layout {
    \context {
      \Score
      \override TextScript #'padding = #3
    }
  }
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to