lilypond-user
[Top][All Lists]
Advanced

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

Re: advanced (?) instrumentname setting


From: Gagi Petrovic
Subject: Re: advanced (?) instrumentname setting
Date: Mon, 16 Apr 2012 14:12:41 +0200

   \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.




On 16 April 2012 13:45, Francisco Vila <address@hidden> wrote:
2012/4/16 Gagi Petrovic <address@hidden>:
> I hope it's more clear now what I'm aiming for. Still I honestly think there
> should be an easier way than spending hours of tweaking markup: just to add
> some simple text in front of a staff. And still the result is not that
> satisfactory.

But you did not follow Kieren's advice. Look at

\version "2.14.2"

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

\score { \gong }


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

--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com



--
+31 6 1259 8681
gagipetrovic.nl


reply via email to

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