2014-06-29 15:57 GMT+02:00 Pierre Perol-Schneider <pierre.schneider.pa...@gmail.com>: > Hi, > > 2014-06-29 15:40 GMT+02:00 David Nalesnik <david.nales...@gmail.com>: > > >> This is what I got: > > > Ok, thanks, but I'd like to find something like : > > \mySize #.5 \Score ... > > without \markup in order to find an alternate code as : > http://lsr.di.unimi.it/LSR/Item?id=862 > > Cheers, > Pierre > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user >
Hi Pierre, are you aware that we have two commands called `score'? One is a music-function the other a markup-command. I don't think you can replace the LSR-snippet-code with one outputting a markup. It's simply a different thing. However the following code takes a score (the music) as an argument and returns a scaled markup: \version "2.19.8" mySize = #(define-scheme-function (parser location nmbr score) (number? ly:score?) (markup #:scale (cons nmbr nmbr) #:score score)) \mySize #.5 \score { c''1 \layout {} %% needed even with 2.19.8 } Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user