lilypond-devel
[Top][All Lists]
Advanced

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

Re: question about a <> mark similar to a c-> notation...


From: Juergen Reuter
Subject: Re: question about a <> mark similar to a c-> notation...
Date: Mon, 1 Nov 2004 00:20:34 +0100 (CET)

If I understand you correctly, you want to add a new articulation script 
(rather than patching the code for dynamic marks).  That's quite easy, if 
you are a little bit familiar with metafont.  For that purpose, you should

* add the articulation sign to the feta font; see file mf/feta-schrift.mf; 
  I guess the direction (up/down) does not matter for espressivo marks, 
  hence a single character "espressivo" should suffice; you may want to 
  have a look at the sforzatoaccent as an example of a similar character 
  that is already in the font;

* tell lily about your articulation sign by adding it to the file 
  scm/script.scm (twice the same character "espressivo" for both 
  directions, up and down);

* add a handy shortcut to the file ly/script-init.ly

* for testing, add it to input/test/script-chart.ly

* for documentation, add it to the Articulations section (currently 
  section 5.7.8) of the user manual; see 
  Documentation/user/notation.itely.

And, whenever changing feta-schrift, don't forget to clean the font such 
that all font files will be rebuilt; otherwise, you will not see any 
change, or the font will be messed up (as inserting a new character 
changes the numbers in the font tables).

BTW. (Carl/Graham?), maybe above instructions fit into the programming 
concepts manual?

Greetings,
J├╝rgen

On Sun, 31 Oct 2004, Arno Waschk wrote:

> On Sat, 30 Oct 2004 14:57:11 -0700, Graham Percival <address@hidden>  
> wrote:
> 
> >
> > On 29-Oct-04, at 11:17 PM, Arno Waschk wrote:
> >> Can i produce an espressivo mark (or however you might call it, i mean a
> >> little crescendo sign and a little decrescondo sign being placed above  
> >> or
> >> below a note head, similar to an accent or an upbow sign...)??
> >>
> >> I know that there is an example with a second silent voice where you  
> >> put visaible crescendos along, but those are very difficult to get  
> >> centered close around the note head, and since i need some hundreds of  
> >> them, i would be very glad about a less key-strokes solution... ;)
> >
> > That's the only way to do it so far.  Patches are appreciated.
> >
> > Cheers,
> > - Graham
> >
> 
> okay, that's clear an answer.
> Where in the source is the accent defined which is created when i type  
> something like c4-> ??
> 
> Thanks, Arno
> 
> -- 
> http://www.arnowaschk.de
> 
> 
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
> 




reply via email to

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