Re: vertical position of bar numbers on first bar in score

2025-02-22 Thread Robin Bannister

Orm Finnendahl wrote:



Attached now...



> 
> AFAICS the only thing stated about Bar Numbers in the score is:
> 
>  \context Score {

>\set barNumberVisibility = #(every-nth-bar-number-visible 1)
>  }
> 
> 
> lilypond version is 2.23.11.
> 
> The score itself is too big to include and I unfortunately don't have

> a clue how to reproduce this behaviour with a small snippet. Does
> anybody have an idea what causes the number offset?
> 



Well, I had that happen to pseudoIndent when the system was stretched.
https://lsr.di.unimi.it/LSR/Item?id=1098

Increasing the horizon-padding by the amount of stretching let it cope.



I can only suppose that the left end of your barline staff is ever so 
slightly different from the others.

So, to that above-mentioned '\context Score'  block, try adding

\override BarNumber.horizon-padding = #1


Cheers,
Robin




Re: vertical position of bar numbers on first bar in score

2025-02-21 Thread Orm Finnendahl
Am Freitag, den 21. Februar 2025 um 16:18:29 Uhr (+0100) schrieb Mats Bengtsson:
> Did you by chance forget the attachment?

yes, sorry!

Attached now...

> 
>    /Mats
> 
> On 2025-02-21 13:15, Orm Finnendahl wrote:
> > Hi,
> > 
> >   in a chamber ensemble score with bar numbers on every bar above the
> > score, the vertical position of the bar number of the first bar is too
> > low on some some pages (see attached png). This doesn't happen on all
> > pages.
> > 
> > The topmost staff system is an empty "conductor" staff only containing
> > skips and all tempo/timesignature changes and is typeset using this
> > expression:
> > 
> >  \new Staff \with {
> >\remove "Staff_symbol_engraver"
> >\remove "Clef_engraver"
> >\remove "Time_signature_engraver"
> >\override VerticalAxisGroup.default-staff-staff-spacing =
> >#'((basic-distance . 0)
> > (minimum-distance . 0)
> > (padding . 0)
> > (stretchability . 0))
> >  }
> >  \conductor
> > 
> > AFAICS the only thing stated about Bar Numbers in the score is:
> > 
> >  \context Score {
> >\set barNumberVisibility = #(every-nth-bar-number-visible 1)
> >  }
> > 
> > 
> > lilypond version is 2.23.11.
> > 
> > The score itself is too big to include and I unfortunately don't have
> > a clue how to reproduce this behaviour with a small snippet. Does
> > anybody have an idea what causes the number offset?
> > 
> > --
> > Orm
> > 
> > 
> > 
> 


Re: vertical position of bar numbers on first bar in score

2025-02-21 Thread Mats Bengtsson

Did you by chance forget the attachment?

   /Mats

On 2025-02-21 13:15, Orm Finnendahl wrote:

Hi,

  in a chamber ensemble score with bar numbers on every bar above the
score, the vertical position of the bar number of the first bar is too
low on some some pages (see attached png). This doesn't happen on all
pages.

The topmost staff system is an empty "conductor" staff only containing
skips and all tempo/timesignature changes and is typeset using this
expression:

 \new Staff \with {
   \remove "Staff_symbol_engraver"
   \remove "Clef_engraver"
   \remove "Time_signature_engraver"
   \override VerticalAxisGroup.default-staff-staff-spacing =
   #'((basic-distance . 0)
(minimum-distance . 0)
(padding . 0)
(stretchability . 0))
 }
 \conductor

AFAICS the only thing stated about Bar Numbers in the score is:

 \context Score {
   \set barNumberVisibility = #(every-nth-bar-number-visible 1)
 }


lilypond version is 2.23.11.

The score itself is too big to include and I unfortunately don't have
a clue how to reproduce this behaviour with a small snippet. Does
anybody have an idea what causes the number offset?

--
Orm