At 14:39 on 30 Mar 2015, Stephen MacNeil wrote: >how would i get the input string to attach to a markup? > >eg > >\version "2.18.2" > >acdy = > >\markup \pad-markup #.5 \halign #-1.3 > >{ \combine > >\draw-line #'($str . .5) \draw-line #'($str . -.5) > > } > >The idea is to be able to assign a length $str
Looks like you want a number, not a string. Try the following. When you use the variable you have to quasiquote the pair, thus the syntax changes slightly. Note the backtick and comma. \version "2.18.2" #(define str 5) \markup \pad-markup #.5 \halign #-1.3 \combine \draw-line #`(,str . 0.5) \draw-line #`(,str . -0.5) -- Mark Knoop _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user