lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] X-aligned instrument names


From: Nicolas Sceaux
Subject: [patch] X-aligned instrument names
Date: Sun, 10 Feb 2008 16:35:31 +0100

Hi,

The following patch add x-alignment support for instrument names:
being given the amount of indentation, and the value of the
self-alignment-X grob property, some padding is added to the right
of the instrument name.

\override Staff.InstrumentName #'self-alignment-X = #LEFT
==> instrument name aligned on the left margin

\override Staff.InstrumentName #'self-alignment-X = #CENTER
==> instrument name centered in the indentation

\override Staff.InstrumentName #'self-alignment-X = #RIGHT
==> instrument name right-aligned, on the system start.

If the instrument name is bigger than the indentation, it will
be placed as if right aligned.

May I apply?

nicolas

Attachment: centered-instrument-names.patch
Description: Binary data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]