Le mercredi 22 mars 2023 à 20:57 +0100, Thomas Widmann a écrit :
> Hello,
> 
> it's me again with a follow-up question: I've now added \stemDown and  
> adjusted the concaveness to make the banjo tablature look more like I  
> want it. However, ideally I'd want all the right hand fingerings  
> aligned on one line, but they keep jumping up and down (because of  
> where the beams end). I've played around with  
> Stem.details.beamed-lengths and  
> Stem.details.beamed-minimum-free-lengths, but it's still not looking  
> right.
> 
> Any ideas? Here's my code:

Try a `Y-offset` override:


```
\version "2.24.1"

fT = \rightHandFinger #1
fI = \rightHandFinger #2
fM= \rightHandFinger #3

music = {
gis16\fT
  (\glissando a)
  b8 \fI
  g'\5\fT
  d' \fM
  g \fT
  b \fI
  g'\5 \fT
  d' \fM
  |
  c'4 \fI
  g'8\5 \fT
  c' \fI
  e' \fM
  g'\5 \fT
  c' \fI
  e' \fM
}

\new TabStaff \with {
  \tabFullNotation
  tablatureFormat = #fret-number-tablature-format-banjo
  stringTunings = #banjo-open-g-tuning
  \consists New_fingering_engraver
  \override StrokeFinger.digit-names = ##("T" "I" "M" "R" "P")
  strokeFingerOrientations = #'(down)
  \override StrokeFinger.Y-offset = -10
} {
  \stemDown
  %\override Beam.concaveness = #10000
  \music
}
```

[https://lilypond.org/doc/v2.24/Documentation/notation/aligning-objects.html#setting-x_002doffset-and-y_002doffset-directly](https://lilypond.org/doc/v2.24/Documentation/notation/aligning-objects.html#setting-x_002doffset-and-y_002doffset-directly)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to