On Friday 15 December 2006 22:07, Frédéric Chiasson wrote:
> Then, well, who can help me??
>
> Frédéric
>
> 2006/12/15, Mats Bengtsson <[EMAIL PROTECTED]>:
> > I'm certainly not any expert in Scheme coding for LilyPond. Please
> > always keep the discussion on the mailing list, for the
> > benefit of yourself since you get access to the collected
> > expertise on the list and for the benefit of others who experience
> > similar problems.
> >
> >    /Mats
> >
> > Quoting Frédéric Chiasson <[EMAIL PROTECTED]>:
> > > Thanks, at last I understood how to do it?
> > >
> > > One problem left, I copied the code displayed for "\once \override
> > > TextScript #'extra-offset = #$xy" to put it in the code of the Slash
> > > function. The code is compiled without errors, but there is no offset
> > > produced. Why? Do I use the right prefixes for xy?
> > >
> > > Also it is possible to use both LilyPond and Scheme code like this?
> > > (define-music-function (variables)
> > > #{
> > >    LilyPond code
> > > #}
> > > (Scheme code))

I think #{ #} simply produces a Music tree, so you can probably do

 (define-music-function (variables)
 (let ((music #{ LilyPond code #}))
  (Scheme code using music)))


BTW, wouldn't it be possible to just do something like:

#{
    \once \override TextScript #'extra-offset = #$xy
    << $note 
        \skip 1*0^\markup{\musicglyph #"flags.ugrace"}
    >>
#})

(that should work in most cases AFAICS)

-- 
Erik


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

Reply via email to