[Top][All Lists]

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

Re: musicglyph: accidentals--1

From: Mats Bengtsson
Subject: Re: musicglyph: accidentals--1
Date: Fri, 30 Jan 2004 10:25:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Since it won't let you do anything like

\markup { B \flat }

However, it shouldn't be hard to add definitions so you could write
that or maybe

\markup { B #flat }

I don't know the inner workings of the markup commands well enough,
but I'm sure there are some people on the list, who can do it in
one minute.


Heikki Johannes Junes wrote:
On Thu, 29 Jan 2004 18:46:34 +0100 Mats Bengtsson <address@hidden> wrote:

I have corrected the example file. Regarding the naming, the names
are mainly choosen to give a simple implementation in LilyPond.
Instead of renaming the glyphs in the font, it would be a neat
feature to have a markup function \markup { \accidental #flat }
or whatever syntax you can think of. I nice small project for
anyone who wants to investigate the new markup definition


What about simply escaped shortcuts? They are the following:

doublesharp =  \markup{ \musicglyph "accidentals-4" }
threeqsharp =  \markup{ \musicglyph "accidentals-3" }
sharp       =  \markup{ \musicglyph "accidentals-2" }
semisharp   =  \markup{ \musicglyph "accidentals-1" }
natural     =  \markup{ \musicglyph "accidentals-0" }
semiflat    =  \markup{ \musicglyph "accidentals--1" }
flat        =  \markup{ \musicglyph "accidentals--2" }
threeqflat  =  \markup{ \musicglyph "accidentals--3" }
doubleflat  =  \markup{ \musicglyph "accidentals--4" }

  Heikki Junes

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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