Re: Translating stencils

2019-09-24 Thread Thomas Morley
Am Di., 24. Sept. 2019 um 12:06 Uhr schrieb Michael Käppler : > > Hi Harm, > many thanks for your advice! > The \table command was completely new to me. > Here is my current state of work: > > #(define (mm->staff-spaces mm) > (let ((ss (ly:output-def-lookup $defaultpaper 'staff-space))) >

Re: Translating stencils

2019-09-24 Thread Michael Käppler
Hi Harm, many thanks for your advice! The \table command was completely new to me. Here is my current state of work: #(define (mm->staff-spaces mm)    (let ((ss (ly:output-def-lookup $defaultpaper 'staff-space))) (/ mm ss))) #(define musiclist (list     #{ { \clef bass e'4 }

Re: Translating stencils

2019-09-23 Thread Thomas Morley
Am Mo., 23. Sept. 2019 um 18:04 Uhr schrieb Michael Käppler : > > Hi all, > I'm trying to understand the way one can translate / stack stencils in > LilyPond. > Consider the following code: > > #(define-markup-command (draw-line-mod layout props startpos endpos) > (number-pair? number-pair?) >