On Jan 26, 2013, at 12:42 PM, David Kastrup wrote:
> Not quite: you'll need
>
> \addInstrumentDefinition #"contrabassoon"
> #`((shortInstrumentName . ,#{ \markup { ... } #} ))
>
> or you'll have the quoted equivalent of \markup in your definition.
Thanks David!
_
On 26/01/13 17:42, David Kastrup wrote:
Paul Morris writes:
Please disregard my last message. I now see that you wanted to use
\markup in the following scheme code:
\addInstrumentDefinition #"contrabassoon"
#`((shortInstrumentName . "Cbsn."))
So I think something like this should work:
Paul Morris writes:
> Please disregard my last message. I now see that you wanted to use
> \markup in the following scheme code:
>
> \addInstrumentDefinition #"contrabassoon"
> #`((shortInstrumentName . "Cbsn."))
>
>
> So I think something like this should work:
>
> \addInstrumentDefinition #"c
Please disregard my last message. I now see that you wanted to use \markup in
the following scheme code:
\addInstrumentDefinition #"contrabassoon"
#`((shortInstrumentName . "Cbsn."))
So I think something like this should work:
\addInstrumentDefinition #"contrabassoon"
#`((shortInstrumentNa
Hello Alberto,
Looks like you've already figured it out, but you can also wrap lilypond code
in #{ ... #} to embed it in scheme code. This is particularly helpful for
use with \markup. So I think the following should also work (although I
haven't tried it):
\set Staff.instrumentName = #{
And got there:
\addInstrumentDefinition #"SC"
#`((shortInstrumentName . ,(markup #:center-column (#:line ("S")
#:line ("C")
Thank you
Alberto
On 26/01/13 16:05, Alberto Simões wrote:
Hello
I am trying to use this kind of approach to
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 approac
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 ins