Re: function for a certain number of barrests

2013-01-22 Thread Stefan Thomas
Dear Joram, thanks for Your explanation! It is for a global variable. Instead of writing global = { \time 4/4 s1*4 \time 3/2 s2.*3 } I can do global = { \fourquarterbarskip #4 \threequarterbarskip #3 } If You have a lot of bar changes, I think, it means fewer key-strokes. Off course I should find

Re: function for a certain number of barrests

2013-01-22 Thread Noeck
Am 22.01.2013 11:22, schrieb Stefan Thomas: > Dear community, > I wanted to create a function for a certain number of barrests. > I've tried it with > \version "2.16.2" > \layout { \context { \Score skipBars = ##t } } > > fourquarterBarrest = #(defi

Re: function for a certain number of barrests

2013-01-22 Thread David Kastrup
Stefan Thomas writes: > Dear community, > I wanted to create a function for a certain number of barrests. > I've tried it with > \version "2.16.2" > \layout { \context { \Score skipBars = ##t } } > > fourquarterBarrest = #(define-music-functi

function for a certain number of barrests

2013-01-22 Thread Stefan Thomas
Dear community, I wanted to create a function for a certain number of barrests. I've tried it with \version "2.16.2" \layout { \context { \Score skipBars = ##t } } fourquarterBarrest = #(define-music-function (parser location x) (number?) > #{ % in der folgenden Zeile Lil