Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Jean Abou Samra
Lukas, 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

Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Michael Blankenship
FOLLOW UP #2: ​ ​Added Lukas's code for instrument names to "draw-staff-symbols" and analogous statements to the layout block in that file. The columnClef code remains, but the layout statements are commented out. It's very close to being correct, but 3 issues that come to mind:

Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Lukas-Fabian Moser
Hi Michael, Am 08.12.20 um 19:53 schrieb Michael Blankenship: ​​Thanks for the response! I tried to frame the original question as simply as possible, so I left some things out that have now become relevant. One of the reasons I was trying to use instrument names is that I actually want to

Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Michael Blankenship
FOLLOW UP: ​ ​I partially solved my own problem. I added the \columnClef statement to the layout block in "draw-staff-symbol.ily", on the line below \Staff. It works now, but another reasons I thought instrumentName would work better is that it's very hard to read the vowel clef

Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Michael Blankenship
Lukas and Leo, ​ ​Thanks for the response! I tried to frame the original question as simply as possible, so I left some things out that have now become relevant. One of the reasons I was trying to use instrument names is that I actually want to use a more extensive version of the

Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Lukas-Fabian Moser
Hi Leo, Am 07.12.20 um 23:36 schrieb Leo Correia de Verdier: I’m not sure if this is an interesting suggestion, but if you want this as the actual clef you could write %% \once \override Staff.Clef.stencil = #ly:text-interface::print \once \override Staff.Clef.text = \markup {

Re: Help a newb: Formatting custom instrument names

2020-12-07 Thread Leo Correia de Verdier
I’m not sure if this is an interesting suggestion, but if you want this as the actual clef you could write %% \once \override Staff.Clef.stencil = #ly:text-interface::print \once \override Staff.Clef.text = \markup { \override #'(font-size . -6.5) \unit-height-column {

Re: Help a newb: Formatting custom instrument names

2020-12-07 Thread Lukas-Fabian Moser
Hi Michael, Maybe something like this? \version "2.21.80" \layout {   indent = 5 } #(define-markup-command (unit-height layout props arg) (markup?)   (let* ((stil (interpret-markup layout props arg)) (x (ly:stencil-extent stil 0)))     (interpret-markup layout props  

Re: Help a newb: Formatting custom instrument names

2020-12-07 Thread Lukas-Fabian Moser
Hi Michael, So far I’ve only been able to assign the column of text to the instrument name, but it’s WAY to big and spaced out. I tried to find the commands to tweak the instrument name in the reference manuals, but I just couldn’t figure it out. I need to tweak the size of the font, the

Re: Help a newb: Formatting custom instrument names

2020-12-07 Thread Hwaen Ch'uqi
Greetings Michael, I believe that, in your \with block, you should add the following lines: fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3) Hth, Hwaen Ch'uqi On 12/7/20, Michael Blankenship wrote: > Hi, > > I’m trying to use an instrument name as a sort of clef