-static void eqn_box(struct termp *p, const struct eqn_box *);
-static void eqn_box_post(struct termp *p, const struct eqn_box *);
-static void eqn_box_pre(struct termp *p, const struct eqn_box *);
-static void eqn_text(struct termp *p, const struct eqn_box *);
+static const enum termfont fontmap[EQNFONT__MAX] = {
+ TERMFONT_NONE, /* EQNFONT_NONE */
+ TERMFONT_NONE, /* EQNFONT_ROMAN */
+ TERMFONT_BOLD, /* EQNFONT_BOLD */
+ TERMFONT_BOLD, /* EQNFONT_FAT */
+ TERMFONT_UNDER /* EQNFONT_ITALIC */
+};
+
+static void eqn_box(struct termp *, const struct eqn_box *);