> I make a lot of teaching materials with lilypond, and in the past,
> perhaps one year ago, I could use the unicodes for the sharp symbol
> (♯), the flat symbol (♭) and the natural symbol (♮) within the
> \addlyrics brackets and they would render correctly.
> 
> With my most recent version of lilypond, "2.25.2", this
> stopped working.

It works just fine provided you have a fallback text font that
actually contains those glyphs, for example, 'DejaVuSerif'.

However, to get the text versions of LilyPond's accidental glyphs you
have to either explicitly switch to the Emmentaler font, or you can
use commands like `\text-flat` for that.  Example:

```
\version "2.25.2"
\language "english"

Flat =
#(define-scheme-function (arg) (markup?)
  #{ \markup \concat { $arg \tiny \text-flat } #})
Sharp =
#(define-scheme-function (arg) (markup?)
  #{ \markup \concat { $arg \tiny \text-sharp } #})


\score {
  \new Staff { b'4  bf'4     as'4     }
  \addlyrics { B    \Flat B  \Sharp A }
}
```


    Werner

Reply via email to