Re: Help defining commands

2003-11-30 Thread Paul Scott
Guy Shaviv wrote: That's correct, I'm interested in how you can set up a command that takes a parameter. I actually even need two parameters as a partial barre has two parameters, on what fret and on how many strings. While for the full barre I can setup 12 commands (e.g. \barreI \barreII ...),

Re: Help defining commands

2003-11-30 Thread Nicolas Sceaux
Sun, 30 Nov 2003 11:24:53 -0700, Paul a dit : Guy Shaviv wrote: That's correct, I'm interested in how you can set up a command that takes a parameter. I actually even need two parameters as a partial barre has two parameters, on what fret and on how many strings. While for the full

Re: Help defining commands

2003-11-30 Thread Nicolas Sceaux
Mon, 24 Nov 2003 22:10:39 -0800, Guy a dit : I'm trying to typeset music for classical guitar for which I need to be able to produce the barre symbol. I've managed to acheive the desired output with text spanners via the code: \property Voice.TextSpanner \set #'edge-text = #'(C II

Re: Help defining commands

2003-11-30 Thread Paul Scott
Nicolas Sceaux wrote: Sun, 30 Nov 2003 11:24:53 -0700, Paul a dit : I am trying to solve the same problem. I have gotten this far: #(define textPad( lambda( pad ) \property Score.TextScript \override #'padding = pad )) with several guessed variations of (textPad 3) Thank you very

Re: Help defining commands

2003-11-25 Thread Mats Bengtsson
Simple, just say something like startBarre = \notes{ \property blabla.blabla \override #'blalba = #blablabla ... \startTextSpan } /Mats Guy Shaviv wrote: I'm trying to typeset music for classical guitar for which I need to be able to produce the barre symbol. I've managed to acheive the

Re: Help defining commands

2003-11-25 Thread rtml
Hi Mats and all At 09:21 25/11/2003 +0100, Mats Bengtsson wrote: Simple, just say something like startBarre = \notes{ \property blabla.blabla \override #'blalba = #blablabla ... \startTextSpan } That's fine, but I think you have missed one part ogf Guy's question. Is it possible to pass a

Re: Help defining commands

2003-11-25 Thread Guy Shaviv
defining commands Hi Mats and all At 09:21 25/11/2003 +0100, Mats Bengtsson wrote: Simple, just say something like startBarre = \notes{ \property blabla.blabla \override #'blalba = #blablabla ... \startTextSpan } That's fine, but I think you have missed one part ogf Guy's question