Hi, does anyone know a (simple?) way I can get the editor to force a serif font for Roman Numerals while otherwise editing in a sans serif theme?
@musorianin You could consistently wrap these numbers in span elements with a reliable class and then target that class with custom CSS. You might try something like<span class=”serif”>1</span> and
``
.serif {
font-family: ‘DESIRED FONT NAME’, serif;
}
```
for example. You may wish to do this in the custom styles for both webbook and export files for consistency. See Apply Custom Styles – Pressbooks User Guide for more details.