Re: Text alignment of page-ref

2024-10-16 Thread Werner LEMBERG
> I had a look at the definition of page-ref in > define-markup-commands.scm and see that it's specifically adding a > gap to the markup to right-align the text. > > (interpret-markup layout props >(make-line-markup > (list >

Re: Text alignment of page-ref

2024-10-16 Thread Cameron Hall
> As far as I'm aware, one of the shortcomings of Lilypond's handling > of text is that it only does one pass to calculate the size of > markups. If the size of the actual text can vary dynamically, it > won't be reflected in the layout. This is an issue, for example, if > the page header contains

Re: Text alignment of page-ref

2024-10-13 Thread Saul Tobin
As far as I'm aware, one of the shortcomings of Lilypond's handling of text is that it only does one pass to calculate the size of markups. If the size of the actual text can vary dynamically, it won't be reflected in the layout. This is an issue, for example, if the page header contains the center