On 15 March 2011 00:01, Neil Puttock <n.putt...@gmail.com> 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 <x.sche...@gmail.com>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to