[Top][All Lists]

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

Re: Help a newb: Formatting custom instrument names

From: Jean Abou Samra
Subject: Re: Help a newb: Formatting custom instrument names
Date: Tue, 8 Dec 2020 22:02:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0


Hi Michael,

I think, going by this description, that maybe an InstrumentName is actually the simplest solution.

In order to right-align the instrument names, try the attached diff (using git apply).

It's basically a matter of

- adding an \override InstrumentName.self-alignment-X = #RIGHT (for right-aligning the instrument name block as a whole), - creating a variant of the (now renamed) \unit-height-column command for a \unit-height-right-column.

Feel free to give me your GitLab user name so I can give you push access over the repository.

Also, I'm quite sure it's possible to accomodate for arbitrary staff space. By which method do you change those?

Currently, it's defined in draw-staff-symbol.ily as an output definition variable. Now that you spot it, I should most likely change this to overriding StaffSymbol.staff-space and use ly:staff-symbol-staff-space in the stencil...


reply via email to

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