version 1.243, 2017/07/06 22:59:48 |
version 1.245, 2017/07/08 14:51:04 |
Line 334 struct tbl_span { |
|
Line 334 struct tbl_span { |
|
}; |
}; |
|
|
enum eqn_boxt { |
enum eqn_boxt { |
EQN_ROOT, /* root of parse tree */ |
|
EQN_TEXT, /* text (number, variable, whatever) */ |
EQN_TEXT, /* text (number, variable, whatever) */ |
EQN_SUBEXPR, /* nested `eqn' subexpression */ |
EQN_SUBEXPR, /* nested `eqn' subexpression */ |
EQN_LIST, /* list (braces, etc.) */ |
EQN_LIST, /* list (braces, etc.) */ |
Line 400 struct eqn_box { |
|
Line 399 struct eqn_box { |
|
enum eqn_post pos; /* position of next box */ |
enum eqn_post pos; /* position of next box */ |
enum eqn_fontt font; /* font of box */ |
enum eqn_fontt font; /* font of box */ |
enum eqn_pilet pile; /* equation piling */ |
enum eqn_pilet pile; /* equation piling */ |
}; |
|
|
|
/* |
|
* An equation consists of a tree of expressions starting at a given |
|
* line and position. |
|
*/ |
|
struct eqn { |
|
char *name; /* identifier (or NULL) */ |
|
struct eqn_box *root; /* root mathematical expression */ |
|
int ln; /* invocation line */ |
|
int pos; /* invocation position */ |
|
}; |
}; |
|
|
/* |
/* |