Xavier Scheuer wrote:
>
>
> I'd like to use a music function in order to be able to write
>
> % writeScore is the music function I want but I was not able to define
>
> one = \writeScore { c'1 }
> two = \writeScore { d'1 }
>
> \markup \fill-line {
> \one \two
> }
>
>
then y
On 18 March 2011 14:00, -Eluze wrote:
>
> i have attached an example with score + layout definitions which you can
> imbed later in markups or scores:
>
> http://old.nabble.com/file/p31180922/test2.ly test2.ly
>
> hope this is what you looked for
My goal is actually _not_ to have to write several
Xavier Scheuer wrote:
>
>
> But actually I'd prefer to use the \score block in a command that
> would take only the notes as argument. ;p
> Your solution does not work for a \score block within a music function.
> \markup {
> \column {
> \scoreTwo d'1
> }
> }
>
> Ideas?
On 15 March 2011 00:01, Neil Puttock wrote:
>
> You want a markup identifier, so all you need to do is put \markup
> before \score:
>
> scoreOne = \markup \score {
> c'1
> \layout {} % required!
> }
>
> \markup {
> \column {
> \scoreOne
> }
> }
>
Thanks Neil!
This works great.
B
On 14 March 2011 19:11, Xavier Scheuer wrote:
> I would like to define the \score blocks as variables or as music
> functions. Unfortunately it seems impossible.
>
> I tried
>
> scoreOne = \score {
> c'1
> \layout {} % required!
> }
>
> \markup {
> \column {
> \scoreOne
>
Hi,
I use \score blocks inside \markup in constructions like this one:
\markup {
\fill-line {
\score {
c'1
\layout {} % required!
}
\score {
d'1
\layout {}
}
}
}
but it is heavy.
I would like to define the \score blocks as variables or as music