lilypond-user
[Top][All Lists]
Advanced

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

Re: markup + set


From: Mats Bengtsson
Subject: Re: markup + set
Date: Mon, 05 Feb 2007 12:50:01 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

The easiest solution is probably to use an external preprocessor, like M4
(if you search the mailing list archives you can also find hints on other
similar preprocessors to do purely textual replacements in the file. There,
you can also find comments on why the main authors of LilyPond don't
want to include such functionality within LilyPond).

Another solution is outlined in section "Building complicated functions"
in the manual.

  /Mats

yota moteuchi wrote:
Bonjour,

I'm trying to write a NICE lilypond function to do properly what I could do with a simple find and replace in the text

where
\pizz

would become :
^\markup {\italic pizz.}
\set Staff.midiInstrument = "pizzicato strings"

I tried some make-markup stuffs but... how to insert a \set property into them...

I would need some tips to do that

merci ^^
------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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