David Kastrup <dak <at> gnu.org> writes:

> Thomas Morley <thomasmorley65 <at> gmail.com> writes:
> 
> > As a work-around you could add:
> > \override Staff.Clef #'Y-extent = #'(0 . 0)
> 

> I am actually rather appalled that there seems to be no easier way to
> keep instrumentName from getting centered with disregard to its
> baseline.  It would seem that this would be a reasonably common use case
> (not just with a \score markup but also with other potential material).
> It is also strange that we have a command to override both X and Y
> extents of a markup completely, but nothing that would override less.
> 

Thomas' seems pretty easy?  You can also override one dimension only of
the instrument name.

incipit = \markup \score {{\clef soprano s4 \bar "" } \layout{} }
\new Staff \with { 
  \override InstrumentName #'Y-extent = #'(-4 . 4)
  instrumentName=\incipit
} { g'1 }

The bug report remains, though, that someone expected a (generalized)
InstrumentName to be aligned on its baseline, whereas it is centered.


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to