When you explicitly specify the font-name property, you override
normal font selection mechanism. For example, the markup command
\flat internally uses the property font-encoding to select the music font,
but as you have noticed, this doesn't work if the font-name property
has been explicitly specified. The simple workaround in your example
is to move the right curly brace to be before instead of after \flat:
\markup{
\override #'(font-name . "Courier")
{ Ceci n'est pas une B }\flat
}
/Mats
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?
\version "2.10.19"
\include "english.ly"
\score {
\relative c'' {
bf1^\markup{
\override #'(font-name . "Courier")
{ Ceci n'est pas une B \flat }
}
}
}
% Thanks,
% Dan
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond