lilypond-user
[Top][All Lists]
Advanced

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

Re: advanced (?) instrumentname setting


From: Janek Warchoł
Subject: Re: advanced (?) instrumentname setting
Date: Mon, 16 Apr 2012 14:39:08 +0200

On Mon, Apr 16, 2012 at 2:12 PM, Gagi Petrovic <address@hidden> wrote:
>    \override InstrumentName #'self-alignment-X = #RIGHT
>    \set  Staff.instrumentName = \markup \concat{
>      \raise#-1 \center-column{ "Wind " "Gong " }
>      \hspace#2 \bold\italic\small\center-column { e. m. c. }
>    }
>
> Actually I did try it: it's getting close but it's still not the way it
> should be as you can see in the example I added. It seems that using
> \hspace#2 gets ignored because of the staff-grouping in the score. But thank
> you for thinking with me.

Hmm?  I've changed the values a bit and with the following code i get
attached result using 2.15.36

gong = {
 #(define mylines '(-2 0 2))
 \override Staff.StaffSymbol #'line-positions = #mylines
 \clef percussion  g
}

\score { \gong }

\layout {
 \context {
   \Staff
   %   \override StaffSymbol #'line-count = #3
   \override InstrumentName #'baseline-skip = #1
   \override InstrumentName #'font-size = #-3
   \override InstrumentName #'self-alignment-X = #RIGHT
   instrumentName =
   \markup {
     \raise #-0.5 \center-column \normalsize { "Wind " "Gong " }
     \hspace #0.5
     \bold\italic \center-column { e. m. c. }
   }
 }
}

2.14.2 output looks nice too.

Is there anything wrong with it?
Janek

Attachment: gong-name.png
Description: PNG image


reply via email to

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