summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index eabbf58b..231497e9 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -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 {