lilypond-user
[Top][All Lists]
Advanced

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

Re: Writing markup in lisp


From: Alberto Simões
Subject: Re: Writing markup in lisp
Date: Sat, 26 Jan 2013 16:33:06 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

Almost there...


\addInstrumentDefinition #"SC"
  #`((shortInstrumentName . ,(markup #:column (#:line ("S")
                                               #:line ("C")))))

now if I can center the letters...

On 26/01/13 16:05, Alberto Simões wrote:
Hello

I am trying to use this kind of approach to define instrument
names/changes:

\addInstrumentDefinition #"contrabassoon"
   #`((shortInstrumentName . "Cbsn."))

just like it is explained in
   http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-parts


Now, I needed a special instrument name, also like explained in that
same page:

\set Staff.instrumentName = \markup {
   \column { "Clarinetti"
             \line { "in B" \smaller \flat } } }

The problem is, this \markup{...} stuff is lilypond code, and to use it
in the snipped above, I need lisp code, right?

Anybody can help to convert this "column" definition to lisp?

Thank you
Alberto

PS: lisp, scheme.. whatever :D

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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