w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

table.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1991,1992 NEC Corporation.
3  * $Id: table.h,v 2.9 1994/04/19 10:17:07 uchida Exp $ (NEC)
4  */
5 #define TBL_MIN_LINES 2 /* Minimum number of lines to be table */
6 #define TBL_MIN_FIELDS 2 /* Minimum number of fields to be table */
7 #define TBL_MAX_FIELDS 32 /* Maximum number of fields */
8 
9 #define HORI_DBL_ALL 1 /* ==================== */
10 #define HORI_SNGL_ALL 2 /* -------------------- */
11 #define HORI_EXIST 3 /* | |-------| */
12 #define HORI_NULL 0 /* No horizontal lines */
13 
14 /* |left |right
15  * v v
16  * field-1 || <-vlines == 2
17  */
18 struct tblField {
19  int left; /* Left of the field */
20  int right; /* Right of the field */
21  int align;
22  int vlines; /* Number of vertical lines follow */
23  char defFormat; /* Default format of the field */
24 };
25 /*
26  * Table structure
27  * t_field[0]: left boundary
28  * t_field[1]-[t_nfield - 1]: table body
29  */
30 struct table {
32  int t_nfield;
33 };
34 #define tbl_field (tblp->t_field)
35 #define tbl_nfield (tblp->t_nfield)
36 
37 char *tblSubstr();
Definition: table.h:30
int t_nfield
Definition: table.h:32
struct tblField t_field[32]
Definition: table.h:31
Definition: table.h:18
int align
Definition: table.h:21
char defFormat
Definition: table.h:23
int left
Definition: table.h:19
int right
Definition: table.h:20
int vlines
Definition: table.h:22
char * tblSubstr()
#define TBL_MAX_FIELDS
Definition: table.h:7