Re: custom markup help

2015-05-24 Thread Klaus Blum
} } #}) {g\sd "3"} % --- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/custom-markup-help-tp176923p176976.html Sent fro

Re: custom markup help

2015-05-24 Thread Damian leGassick
On 23 May 2015, at 13:11, Klaus Blum wrote: > Hi Damian, > > aah, Nick was faster than me... :-) > > The easiest way I've found would be this: > > % --- > \version "2.18.0" > > #(define-markup-command (sd layout props sdnum) (markup

Re: custom markup help

2015-05-24 Thread Damian leGassick
On 23 May 2015, at 12:51, Nick Payne wrote: > On 23/05/2015 21:24, Damian leGassick wrote: >> \version "2.18.0" >> >> >> #(define-markup-command (sd layout props sdnum) (markup?) >> #:properties ((baseline-skip 0.5)) >> "Put a number with a carat above the note." >> (interpret-markup layo

Re: custom markup help

2015-05-23 Thread Klaus Blum
-\markup { \override #'(baseline-skip . 0.5) \column { \small {^ #sdnum }} } #}) {g^\sd "3"} % --- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/cust

Re: custom markup help

2015-05-23 Thread Nick Payne
On 23/05/2015 21:24, Damian leGassick wrote: \version "2.18.0" #(define-markup-command (sd layout props sdnum) (markup?) #:properties ((baseline-skip 0.5)) "Put a number with a carat above the note." (interpret-markup layout props #{\markup \override #`(baseline-skip . ,baseline-s

custom markup help

2015-05-23 Thread Damian leGassick
Hello list I'm trying to get a markup to help with repetitive addition of scale-degrees with carats I've got this far, but it's not picking up the new default baseline-skip value \version "2.18.0" #(define-markup-command (sd layout props sdnum) (markup?) #:properties ((baseline-skip 0.5))