Thanks for the link - stencil makes sense  - I got it working with -0.7 :-)

Whatever developer put in the .extra-offset is very wise.

Have a good weekend.

Lee


On Fri, 15 Aug 2025 at 20:00, Yoshiaki Onishi <i...@yoshionishi.com> wrote:

> > I'm transcribing some guitar music with tremolo picking which means the
> single note is up/down picked very rapidly.
> >
> > I've managed to get the double slashes on the staff with code below -
> thanks to the super documentation.
> >
> > Is it possible to get the double slash on the tab sheet just below the
> note whilst keeping it on the staff?
> >
> > \version "2.25.7"
> >
> > myNotes = \relative c'  {
> >   \repeat tremolo 4  g16
> >   \repeat tremolo 4  a16
> >   \repeat tremolo 4  b16
> >
> > }
> >
> > \score {
> >   <<
> >     \new Staff {
> >       \clef "treble_8"
> >       \myNotes
> >     }
> >     \new TabStaff
> >     \myNotes
> >
> >   >>
> >
> > }
> >
> > Appreciate help.   Everything I've needed to do with notation has been
> possible so far.
>
>
> Dear Lee,
>
> Tldr: Inserting the following line between "myNotes = \relative c’ {“ and
> “\repeat tremolo 4  g16”
>
> \override TabStaff.StemTremolo.stencil = #ly:stem-tremolo::print
>
> Will force LilyPond to have the tremolo sign show up on the TabStaff.
> However, you may notice that the tremolo signs are often colliding with the
> numbers. So I might suggest a global “bringing-down” of these tremolo
> signs, by adding the following line:
>
> \override TabStaff.StemTremolo.extra-offset = #'(0 . -1)
>
> Instead of -1, you might like -0.5.
>
>
> A bit more details: according to the documentation, TabStaff has some
> “stencils” turned off, and StemTremolo is one of them:
>
> https://lilypond.org/doc/v2.24/Documentation/internals/tabstaff
>
>
> All the best,
> Yoshi

Reply via email to