lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: macro for instrument changes


From: Eyolf Østrem
Subject: Re: macro for instrument changes
Date: Thu, 27 Dec 2007 17:01:00 +0100
User-agent: Mutt/1.5.17-muttng (2007-11-01)

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" } }
> 
> I would like to write something like
> { c1\change "Englischhorn" c1 \change "Heckelphon" }
> How can I do it?
> Thanks for Your support.
> Stefan

Something like this?

EH = \markup {\bold \box "Englischhorn" }
HP = \markup {\bold \box "Heckelphon" }

\relative c' {
    c1^\EH c1^\HP 
}

-- 
What do Holy Accidents teach?  Be resilient.  Be strong.
Be ready for change, for the new.  Gather many experiences
and judge them by the steadfast nature of our faith.

  -- Tleilaxu Doctrine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]