[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accidentals problem
From: |
Graham Breed |
Subject: |
Re: Accidentals problem |
Date: |
Tue, 6 Jan 2009 11:15:47 +0800 |
Following my last message, this is how to get a letter from an
arbitrary font as an accidental:
\version "2.12.1"
\paper{
#(define fonts (make-pango-font-tree "Century Schoolbook L"
"URW Palladio L"
"DejaVu Sans Mono"
1))
}
AuflB = \markup {
\override #'(font-family . sans) b}
\relative c' {
\voiceOne
\once \override Accidental #'stencil = #ly:text-interface::print
\once \override Accidental #'text = #AuflB
\once \override Score.AccidentalPlacement #'right-padding = #0.5
< a d' bes'! b'! e''>
}
It works as long as you didn't want a sans font anywhere.
Graham