Graham Percival wrote:
Dan Eble wrote:
% Note the missing flat in the markup.
% Should \flat use the flat sign from Lilypond's font,
% or is this something I'm not supposed to want to do?
I'd call it a missing warning. Try this:
bf1^\markup{
\override #'(font-name . "Courier")
{ Ceci n'est pas une B }
\normal-text \flat
}
No, in this example, the \override only applies to the { Ceci n'est pas
une B }
so the \normal-text isn't even necessary. Also, your bug report isn't
entirely
correct. The problem is not that the courier font "type" doesn't contain
a flat,
the problem is that setting font-name is a low-level font construct so that
LilyPond will ignore all settings of the high-level font selection
properties
font-family, font-shape and font-series. The \normal-text doesn't reset
font-name
and I'm not sure if that's even desirable.
What Dan wants is something that works in examples like
\markup{
\override #'(font-name . "Courier")
{ Here comes a \flat followed by some other text. }
}
One solution is
myFlat = \markup {\override #'(font-name . #f) \flat }
\markup{
\override #'(font-name . "Courier")
{ Here comes a \myFlat followed by some other text. }
}
/Mats
This has been entered as
http://code.google.com/p/lilypond/issues/detail?id=313
Cheers,
- Graham
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
--
=============================================
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
=============================================
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond