gtroff
can switch fonts at any point in the text.
The basic set of fonts is ‘R’, ‘I’, ‘B’, and ‘BI’. These are Times roman, italic, bold, and bold-italic. For non-terminal devices, there is also at least one symbol font that contains various special symbols (Greek, mathematics).