Re: Vaticana, changing colour of divisiones

2025-03-27 Thread Xavier Scheuer
On Wed, 26 Mar 2025 at 23:52, Jakub Pavlík  wrote:
>
> Hi,
>
> I've been trying to change colour of divisiones in chant notation.
> The Divisio layout object seemed to be an obvious choice, so I tried it
first, to no effect.
> Then I inspected the definition of divisiones of gregorian.ly: they seem
to be implemented as breathing signs, but overriding BreathingSign.color
has no effect either.
> What is the actual way to do it?

Hello,

I don't have LilyPond at hand at the moment, but based on Internals
Reference, Divisio objects are created by the Divisio_engraver, which is
part of the VaticanaStaff context.
Therefore try instead  \override VaticanaStaff.Divisio.color = #red

Kind regards,
Xavier


Re: Repeat barlines with "tails" in piano staff

2025-03-27 Thread Werner LEMBERG


>>> When using \bar ":|." in a piano staff the barline spans the two
>>> staffs, but when using \bar ":|]" it does not - is there a way to
>>> fix this?
>> 
>> Does
>> https://lsr.di.unimi.it/LSR/Item?id=1032
>> help?
> 
> This looks very nice.  IMHO, the current behaviour of LilyPond is
> incorrect, and we should integrate this snippet and make it the
> default.
> 
> Please open an issue in our tracker.

This is now issue #6806.

  https://gitlab.com/lilypond/lilypond/-/issues/6806


Werner



Re: Issue with Centering \markuplist Content (i.e. \table) on a Page

2025-03-27 Thread Lukas-Fabian Moser

Hi Edon,

Am 26.03.25 um 18:34 schrieb Edon Valdman:

I’m having trouble getting a markup list table centered on a page. All
I can get to work is to use commands that wrap the entire thing in a
regular \markup, but then the table content won’t be able to be split
onto separate pages (which is extremely important in this scenario). I
also would rather the entire table be not spread out such that each
column is up against the edges of the page.

I’ve tried making each row its own markup block so I can center it
then put it in a column with the other rows, but this means that each
column is sized differently on the X axis, because each row is a
separate table, so each row doesn’t take the sizes of the other rows’
columns into account.


I hope I understand your problem correctly.

The trick is to use a simple markup function that centers its argument
on a line. If such a function is applied to a markup list, it gets
applied to the individual markups in the list.

\version "2.24.3"

#(define-markup-command (center-line layout props content) (markup?)
   (interpret-markup layout props
 (markup #:fill-line (content

\markuplist \center-line {
  \override #'(padding . 2)
  \override #'(baseline-skip . 50)
  \table #'(-1 1) {
    "1. Left-Aligned"
    "Right-Aligned .1"

    "2. Left-Aligned"
    "Right-Aligned .2"

    "1. Left-Aligned"
    "Right-Aligned .1"

    "2. Left-Aligned"
    "Right-Aligned .2"

    "1. Left-Aligned"
    "Right-Aligned .1"

    "2. Left-Aligned"
    "Right-Aligned .2"

    "1. Left-Aligned"
    "Right-Aligned .1"

    "2. Left-Aligned"
    "Right-Aligned .2"
  }
}

Lukas




Re: Vaticana, changing colour of divisiones

2025-03-27 Thread Jakub Pavlík
It works, thank you very much.

Jakub