Fairchild wrote:
Bodo -
Don't know why it doesn't work for you.
Since the most significant change to LilyPond between versions 2.4 and
2.6 was the handling of fonts. Version 2.6 (and 2.7) doesn't use LaTeX
as an intermediate step anymore.
As an alternative, find out how to enter the desired arrow symbol in
your text editor (one solution is to lookup the Unicode representation
for different kinds of arrows at
http://www.unicode.org/charts/symbols.html)
Then, you can simply enter the symbol as a text script.
/Mats
Maybe if you post the error message file, someone will help.
- Bruce
-----Original Message-----
From: Bodo [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 28, 2005 4:10 PM
To: 'Fairchild'
Subject: AW: how to engrave arrow over notehead?
Hi Bruce,
Thanks for this. Unfortunately it doesn't generate a .pdf for me. I'm
running lilypond 2.7.3 on windows. I also tried the cygwin version, but that
is too old to run this file. Any suggestions?
Cheers,
Bodo
[EMAIL PROTECTED]
-----Ursprüngliche Nachricht-----
Von: Fairchild [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 28. Juli 2005 19:44
An: 'Bodo'
Cc: [email protected]
Betreff: RE: how to engrave arrow over notehead?
Tucano -
Here is a way using \markup. Is the arrow OK?
%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.4.6"
\paper { raggedright = ##t }
pOn = \override TextScript #'font-name = #"msam10"
pOff = \revert TextScript #'font-name
up = \markup { \hspace #-0.35 \char #24 \hspace #-2 \char #22 } dp =
\markup { \hspace #-0.35 \char #25 \hspace #-2 \char #23 } {\relative
c'' { \pOn c_\up d^\up e_\dp f^\dp \pOff c1_\markup { " A B C D " } }
}
%%%%%%%%%%%%%%%%%%%%%%%%%
- Bruce
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of
Fairchild
Sent: Thursday, July 28, 2005 6:42 AM
To: 'Han-Wen Nienhuys'; 'Bodo'
Cc: [email protected]
Subject: RE: how to engrave arrow over notehead?
Tucano -
If Han-Wen's suggestion doesn't do what you want, send a
graphic. I'd like
to see if PostScript code will do it.
- Bruce
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of
Han-Wen Nienhuys
Sent: Thursday, July 28, 2005 3:53 AM
To: Bodo
Cc: [email protected]
Subject: Re: how to engrave arrow over notehead?
Bodo wrote:
Hi,
Thanks for this awesome program. I'm new to this, so excuse
me if this
is obvious, but extensive search of the docs and mailing
list has not
yet come up with anything, so:
I'm trying to engrave little up- or downwards pointing arrows over
noteheads. The reason for this is to indicate tones on the harmonic
scale
(overtones) that cannot be directly mapped onto tones in equal
temperament.
So if the tone is close to the tempered tone, but a little higher,
there should be a little arrow pointing upwards over the notehead.
Conversely,
if
the tone is slightly lower than the equal-tempered tone, the arrow
over
the
notehead should point downwards.
I'm not sure if there is a standard name for this notation,
but it has
already been used in the Overtone literature. Can this be done in
Lilypond? If not, how hard would it be to add a new engraver for a
little arrow?
As a workaround, I could try to put text over the notehead
and find a
font that contains arrows, but maybe there is a better way?
Hi,
I could add this as a sponsored feature. However, I suspect you can
already typeset this, you just have to find the Unicode entry for
arrow-up, and use that , eg.
arrowUp = #(ly:wide-char->utf-8 #x2347)
c4^\arrowUp
where 2347 is the codepoint for arrow up.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
[email protected]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user