[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 1093 in lilypond: automatic negative offset for instrument name po
From: |
lilypond |
Subject: |
Issue 1093 in lilypond: automatic negative offset for instrument name positining |
Date: |
Thu, 20 May 2010 17:58:58 +0000 |
Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Low
New issue 1093 by percival.music.ca: automatic negative offset for
instrument name positining
http://code.google.com/p/lilypond/issues/detail?id=1093
Neil describes the remaining issue clearly. His image
shows what ideally we would want. It is achieved by manually applying
a negative offset to the whole column of instrument names so that it
gets closer to the system, while the items remain centered. This
allows us to use an otherwise empty space, namely the space between
the longest name and the system, see my image on comment #2 for what
we currently get. A fully automatic process would draw a pair of
skylines, one for the systems with their starter braces, another for
the column of names, and could automatically compute this override.
\markup { what we currently get: }
\score {
<<
\new PianoStaff <<
\new Staff \with { instrumentName = "short" } { s }
\new Staff \with { instrumentName = "short" } { s }
>>
\new Staff \with { instrumentName = "looooong" } { s }
>>
}
\markup { what a smart engraver ideally would do, automatically: }
\score {
<<
\new PianoStaff <<
\new Staff \with { instrumentName = "short" } { s }
\new Staff \with { instrumentName = "short" } { s }
>>
\new Staff \with { instrumentName = "looooong" } { s }
>>
\layout {
\context {
\Staff
% or \Score, if there are also instrument
% names attached to grouping contexts
% (e.g. PianoStaff)
\override InstrumentName #'padding = #-1.0
}
}
}
Attachments:
negative-instrumentname-padding.png 12.2 KB
- Issue 1093 in lilypond: automatic negative offset for instrument name positining,
lilypond <=