lilypond-user
[Top][All Lists]
Advanced

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

Re: Instrument Name Not Appearing


From: Robin Bannister
Subject: Re: Instrument Name Not Appearing
Date: Sun, 3 Dec 2017 10:47:01 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

SoundsFromSound wrote:

I'd like to move it down a bit so it's centered with the middle staff line,
like the other names are. Is this possible?

That's the start of the fine tuning.  Try:



addOssiaName =
#(define-scheme-function (name padding) (markup? number?)
(let ((adapted (make-vcenter-markup name)))
  #{
    \override Staff.StaffSymbol.stencil = #(lambda (grob)
      (ly:stencil-combine-at-edge (ly:staff-symbol::print grob)
        X LEFT (grob-interpret-markup grob adapted) padding))
  #}))


Cheers,
Robin



reply via email to

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