On 18 March 2011 14:00, -Eluze <elu...@gmail.com> 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
  \score {
    % ...
    \layout {}
  }

stuffs, but instead to define a _function_ (music-function?) that would
be shorter to write and that would take only the notes as argument.

Instead of having to write

  scoreOne = \markup \score {
    c'1
    \layout {}
  }
  scoreTwo = \markup \score {
    d'1
    \layout {}
  }

  \markup \fill-line {
    \scoreOne  \scoreTwo
  }

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
  }


Cordialement,
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