Font for Roman numeral analysis (music theory)
This font is inspired by the work of Florian Kretlow and the impressive Figurato font he developed for figured bass, as well as the work of Ronald Caltabiano and his pioneering Sicilian Numerals font. This current version of Campania is not directly based on either of these, however. Instead, it uses the glyphs from Doulos and adds some relatively straightforward contextual substitutions and positioning rules to allow you to enter the most common symbols just by typing naturally.
Campania is bundled with MuseScore 3.3, but you can install the font normally on your system as well if you wish to use it with other programs. You can download either the TTF or OTF files and follow the standard procedures for installing and selecting fonts on your system.
To use Campania, simply type as you normally would, and the formatting happens automatically. Numeric indications for inversions and seventh/extended chords (e.g., 6, 7, 64, 643, 43, 9, 13) are automatically superscripted and stacked vertically. When used in a context where this makes sense, "b" and "#" turn into flat and sharp, "bb" and "##" turn into double flat and double sharp, "h" turns into natural, "o" and "0" turn into diminished and half-diminished symbols, and "^" turns into a triangle. "-" and "=" can be used and repeated to create dashes and double dashes of arbitrary length to connect superscripted and subscripted numbers. You can also use "_" to add an additional parallel dash. Backslash before a character can be used to prevent the usual substitution (e.g., "\b" to prevent a "b" from turning into a flat).
This font should work in any program that handles fonts reasonably. It is tested to work in MuseScore and in LibreOffice, and will probably work in the commercial alternatives as well. Some programs - like Microsoft Word - may require you to explicitly enable OpenType features.