Re: macro for instrument changes

2008-01-03 Thread Valentin Villenave
2007/12/29, Wilbert Berendsen <[EMAIL PROTECTED]>: > I wrote this, which works well in 2.11.36: Thanks, added as http://lsr.dsi.unimi.it/LSR/Item?u=1&id=349 2007/12/30, Kieren MacMillan <[EMAIL PROTECTED]>: > What I *meant* was, I'm pretty sure this is already done! > I was just asking Han-Wen

Re: macro for instrument changes

2007-12-30 Thread Kieren MacMillan
Hi Valentin (etc.) -- I understand Han-Wen is quite busy right now; maybe the simplest way to do this would be to add such a macro to the LSR, without necessarily including it in the standard LilyPond distribution. What I *meant* was, I'm pretty sure this is already done! I was just asking Han

Re: macro for instrument changes

2007-12-29 Thread Stefan Thomas
Dear Wilbert, many thanks! It works also on version 2.11.34! Wilbert Berendsen schrieb am 29.12.2007: > wrote this, which works well in 2.11.36: > >changeInstrument = >#(define-music-function (parser location string) (string?) > (make-music > 'TextScriptEvent > 'd

Re: macro for instrument changes

2007-12-29 Thread Wilbert Berendsen
Op vrijdag 28 december 2007, schreef Valentin Villenave: > So, who's up for writing a snippet? :) I wrote this, which works well in 2.11.36: changeInstrument = #(define-music-function (parser location string) (string?) (make-music 'TextScriptEvent 'directio

Re: macro for instrument changes

2007-12-28 Thread Valentin Villenave
2007/12/27, Kieren MacMillan <[EMAIL PROTECTED]>: > Some time ago, I sponsored an improvement to InstrumentName (etc.); > Han-Wen was going to have just such a macro pre-defined; > I never confirmed what the outcome was -- HW? Hi Kieren, Nicolas and everybody; I understand Han-Wen is quite busy

Re: macro for instrument changes

2007-12-27 Thread Kieren MacMillan
Hi all, Less verbose would be a music command expanding from: \changeInstrument "Englischhorn" c1 to: << c1 s4*0^\markup \bold \box "Englischhorn" >> See: Some time ago, I sponsored an improvement to Instrumen

Re: macro for instrument changes

2007-12-27 Thread Nicolas Sceaux
Le 27 déc. 07 à 17:13, Nicolas Sceaux a écrit : Le 27 déc. 07 à 16:40, Stefan Thomas a écrit : Dear Lilypond-users, I am sure there is an easy way to create a macro for the layout of the two markup-commands in the below quoted example: \relative c' { c1^\markup {\bold \box "Englischhorn" }

Re: macro for instrument changes

2007-12-27 Thread Nicolas Sceaux
Le 27 déc. 07 à 16:40, Stefan Thomas a écrit : Dear Lilypond-users, I am sure there is an easy way to create a macro for the layout of the two markup-commands in the below quoted example: \relative c' { c1^\markup {\bold \box "Englischhorn" } c1^\markup {\bold \box "Heckelphon" } } I would li

Re: macro for instrument changes

2007-12-27 Thread Eyolf Østrem
On 27.12.2007 (16:40), Stefan Thomas wrote: > Dear Lilypond-users, > I am sure there is an easy way to create a macro for the layout of > the two markup-commands in the below quoted example: > > \relative c' { > c1^\markup {\bold \box "Englischhorn" } > c1^\markup {\bold \box "Heckelphon" } } > >

macro for instrument changes

2007-12-27 Thread Stefan Thomas
Dear Lilypond-users, I am sure there is an easy way to create a macro for the layout of the two markup-commands in the below quoted example: \relative c' { c1^\markup {\bold \box "Englischhorn" } c1^\markup {\bold \box "Heckelphon" } } I would like to write something like { c1\change "Englischhor