lilypond-user
[Top][All Lists]
Advanced

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

Re: \rightHandFinger in banjo tablature


From: Thomas Widmann
Subject: Re: \rightHandFinger in banjo tablature
Date: Wed, 22 Mar 2023 21:54:04 +0100

Thanks, that's perfect! :-)

Cheers,
Thomas

Den ons. 22. mar. 2023 kl. 21.10 skrev Jean Abou Samra <jean@abou-samra.fr>:
>
> 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



-- 
Thomas Widmann
Rugårdsvej 821
Stillebæk
DK-5474 Veflinge
Email: twid@bibulus.org



reply via email to

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