On 2025-01-28 19:40, Yoshiaki Onishi wrote:
I sometimes add sticking to drum scores to assist readers by showing the 
preferred hand for each stroke.

I'm aware of the ability to change the horizontal position of lyrics using 
'\override LyricText.self-alignment-X'.

When I use '= #LEFT', the lyric is under the notehead, rather than the stem.

When it comes to sticking, and when the vocalist is a drummer, I'd like to see 
the lyrics further left, i.e. right below the stem.  Is there a tweak that will 
provide that?

Here's an MWE:

\version "2.24.0"

% Drums
Drums = \drummode {
   \repeat unfold 8 sn8
}

% Sticking
Sticking = \lyricmode {
   \override Lyrics.LyricText.font-series = #'bold
   \override LyricText.self-alignment-X = #LEFT
\repeat unfold 4 { R L }
}

\score {
  \new DrumStaff <<
     \new DrumVoice = "Drums" { \voiceTwo \Drums }
     \new Lyrics { \Sticking }
   >>
}
Hello,

If the alignment of the sticking is otherwise consistent, i.e. always appearing 
under the notehead, adding the following immediately under \override 
LyricText.self-alignment-X = #LEFT might be a quick solution for you:

   \override LyricText.extra-offset = #'(-0.75 . 0)

This allows not only the horizontal, but also vertical adjustments, as well.

Regards,
Yoshi

Thanks, Yoshi, that does what I want.
I found that -0.75 was just a bit too far, so settled for a value of -0.6.


Reply via email to