diff options
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -298,7 +298,15 @@ enum eqn_markt { EQNMARK__MAX }; -/* +enum eqn_fontt { + EQNFONT_NONE = 0, + EQNFONT_ROMAN, + EQNFONT_BOLD, + EQNFONT_ITALIC, + EQNFONT__MAX +}; + + /* * A "box" is a parsed mathematical expression as defined by the eqn.7 * grammar. */ @@ -307,7 +315,8 @@ struct eqn_box { struct eqn_box *child; /* child node */ struct eqn_box *next; /* next in tree */ char *text; /* text (or NULL) */ - enum eqn_markt mark; /* whether 'marked' */ + enum eqn_markt mark; /* a mark about the box */ + enum eqn_fontt font; /* font of box */ }; struct eqn { |