Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Valentin Petzel
Thank you very much! Am Dienstag, 31. Jänner 2023, 15:42:39 CET schrieb Jean Abou Samra: > On 31/01/2023 15:07, Valentin Petzel wrote: > > Hello Jean, > > > > this does not work on 2.24. Do you happen to know what changed to make > > this > > work on 2.25? > > commit

Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Jean Abou Samra
On 31/01/2023 15:07, Valentin Petzel wrote: > Hello Jean, > > this does not work on 2.24. Do you happen to know what changed to make this > work on 2.25? commit 86cdf5a56d123f3b1145e3eaba09805d6e43453e Author: Jean Abou Samra Date: Tue Oct 4 21:57:10 2022 +0200 Make

Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Jean Abou Samra
On 30/01/2023 22:45, Stefan E. Mueller wrote: > This works for me, but I wonder if the vertical position of the individual > tablature lines could be accessed and used for the positioning of the > letters instead of doing things by hand. Yes, it's possible. Try \version "2.25.1" % doesn't

Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Valentin Petzel
Hello Jean, this does not work on 2.24. Do you happen to know what changed to make this work on 2.25? Am Dienstag, 31. Jänner 2023, 14:48:26 CET schrieb Jean Abou Samra: > On 30/01/2023 22:45, Stefan E. Mueller wrote: > > This works for me, but I wonder if the vertical position of the

Re: Tuning description at beginning of TabStaff

2023-01-31 Thread Valentin Petzel
Hello Stefan (also Federico), is there a particular reason you are using font Arial instead of simply using markup command \sans? This is a slightly more robust approach (not requiring manual positioning), using a markup command #(define-markup-command (tuning-column layout props tunings)

Re: Tuning description at beginning of TabStaff

2023-01-30 Thread Stefan E. Mueller
Thanks Valentin and Federico for your suggestions and examples - I needed to tweak things a little bit in order to line up the letters to the tablature lines. This is what I came up with: \new TabStaff \with { \override InstrumentName.self-alignment-X = #RIGHT instrumentName = \markup

Re: Tuning description at beginning of TabStaff

2023-01-29 Thread Federico Bruni
Il giorno dom 29 gen 2023 alle 22:20:14 +0100, Stefan E. Mueller ha scritto: What I would like to know is whether it is possible to give the tuning notes right before the first Tabstaff, vertically aligned to the tablature lines. I tried accomplish this using "instrumentName", but it does not

Re: Tuning description at beginning of TabStaff

2023-01-29 Thread Valentin Petzel
Hi Stefan, The markup command \column uses the property baseline-skip for the minmal distance between two baselines. You need to reduce this value to the actual distance between two tab lines, which is by default 1.5 for a TabStaff. So this will align more or less: \score { << \new TabStaff

Tuning description at beginning of TabStaff

2023-01-29 Thread Stefan E. Mueller
Hi, I am using Lilypond for writing guitar tablature, and sometimes open or special tunings are used (e.g. DADGAD). I know how to specify the tuning in Lilypond using \stringTuning , so the tablature comes out nice and correct. What I would like to know is whether it is possible to give the