diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 13:37:04 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 13:37:04 +0000 |
commit | 62a9685b8f83f61948148be5fd01ec614799aeea (patch) | |
tree | 5ebaad6490d0723db30fe56c7b089b009a72e490 /mandoc.h | |
parent | d98b3838b2d49efc6220b1dc7bdb995e37cd4d10 (diff) | |
download | mandoc-62a9685b8f83f61948148be5fd01ec614799aeea.tar.gz |
Add eqn subexpression fonts.
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 { |