On 15 March 2011 00:01, Neil Puttock <[email protected]> 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.
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.
%% does not work
scoreTwo = #(define-music-function (parser location foo)
(ly:music?)
#{
\markup \score {
$foo
\layout {}
}
#}
)
\markup {
\column {
\scoreTwo d'1
}
}
Ideas?
Many thanks!
Cheers,
Xavier
--
Xavier Scheuer <[email protected]>
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user