The easiest is probably to use the same trick as in the section
on Polymetric notation, in the manual. In other words, first
spend some time to make a \markup{...} command that
provides the symbol you want in the correct size, then
tell LilyPond to typeset the clef symbol just like any other
text (which includes general markups) and specify your
markup as the text, see the following example.
\version "2.10.0"
myClefSymbol = \markup{
\override #'(font-name . "Times New Roman" ) \large "A"
}
\score{
\relative c'{
\override Staff.Clef #'stencil = #ly:text-interface::print
\override Staff.Clef #'text = #myClefSymbol
c d e f | g a b c |
}
}
/Mats
Mark Oates wrote:
Hi all,
I've searched the archives and docs but haven't found what I'm looking for.
Essentially I want to create a custom clef by using a different character from a
different font.
From what I've gathered so far, I would need to (1) change the font name for the
clef. So:
\override Staff.Clef #'font-name = #"Charter"
and then (2) change the clefGlyph to some, maybe ascii encoded character number
or something?
\set Staff.clefGlyph = #"clefs.F"
Anyway, how can I most simply accomplish this?
_______________________________________________
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