Re: \score block as variable/function

2011-03-18 Thread -Eluze
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? Many

Re: \score block as variable/function

2011-03-18 Thread Xavier Scheuer
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

Re: \score block as variable/function

2011-03-18 Thread -Eluze
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 you should try

Re: \score block as variable/function

2011-03-17 Thread Xavier Scheuer
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

\score block as variable/function

2011-03-14 Thread Xavier Scheuer
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

Re: \score block as variable/function

2011-03-14 Thread Neil Puttock
On 14 March 2011 19:11, Xavier Scheuer x.sche...@gmail.com 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 {