Many thanks, that was indeed the problem.

Nobody sing this hymn like the King's.

All the best,
Eirik

________________________________
Fra: Robin Bannister <[email protected]>
Sendt: tirsdag, 16. desember 2025 00:07
Til: Eirik B <[email protected]>; [email protected] 
<[email protected]>
Emne: Re: Sv: Print instrument name of staff whose empty section from the start 
was removed with RemoveAllEmptyStaves

Eirik B wrote:
> Thank you very much, Robin. This is exactly what I was looking for.
>
> When trying to utilize this in a specific score where I needed this 
> indentation, it only works partially; The staff is indented as desired, but 
> the instrument name is not printed.


>
> Are you able to see what I am doing wrong here?
>

My first thought was, you had probably not noticed the
shortInstrumentName initialization in my example.

Well, it seems you had noticed it, and done it right,
but then erroneously commented it out.
That is understandable; there is a lot going on at that moment.

To get an overview in this sort of situation, have the name-tweaks
identify themselves (as done in the lower demo at bar 12).
In our case we have more than 3 candidates, but there is no harm in
overdoing it; i.e. \markuplist { "1" "2" "3" "4" "5" "6" "7" "8" }

At bar 21 (see attached .png)
  - the top staff is choir treble showing descant and unisono
  - the men don't see their bass staff (due to R1*20) so read the unisono
  - to be able to have everything for the organ, you can temporarily
    initialise for all three remaining staff names: Piano, R and L
  - the png shows choir treble as 1, no 2, R/L as 3/4 and Piano as 5.
      So that case needs \markuplist { * * * * "Orgel" }
  - if you give the ChoirStaff an instrumentName, "Orgel" must move to 6.
  - the minimal case - no R/L naming - leaves "Orgel" as 3.
      For that we settle on \markuplist { * * \pad-x #2 "Orgel" }



Listening to Kings next week.

Cheers,
Robin

Reply via email to