>> Well, for cut and paste, `\circ` is *not* an alternative, since it >> maps to U+25E6 (WHITE BULLET) in font `cmsy10.pfb`. This might not >> be an issue in math, but for code listings typeset with typewriter >> it would be really nice to get it right. > > Can you give us an idea of when or why you would have a degree sign > in a code listing, as this wouldn't be a symbol that most > programming languages would use?
LilyPond's input encoding is UTF-8; markup strings must be thus emitted as UTF-8, too. Its Texinfo documentation extracts code snippets from master files (using the `lilypond-book` script), compiles them for graphical output, and shows the source code at the same time. Example: ``` \markup { default \hspace #2 \rotate #45 \line { rotated 45° } } ``` Werner