-- texaligndefs.mesa

-- last written by Leo Guibas,  November 16, 1979  3:31 PM

DIRECTORY
	TexDefs: FROM "TexDefs" USING[Dimn],
	TexGlueDefs: FROM "TexGlueDefs" USING[GluePtr],
	TexMainDefs: FROM "TexMainDefs" USING[VHeadPtr,HHeadPtr],
	TexTokenDefs: FROM "TexTokenDefs" USING[TokenPtr];

TexAlignDefs: DEFINITIONS =
BEGIN OPEN TexMainDefs,TexGlueDefs,TexDefs,TexTokenDefs;
	
alignmentInProgress: PUBLIC BOOLEAN;

AlignRecord: TYPE = RECORD[
	link: POINTER TO AlignRecord,
	tabglue: GluePtr,
	maxsofar: Dimn,
	UPart: TokenPtr,
	VPart: TokenPtr];

HAlign: PUBLIC PROCEDURE[vhead: VHeadPtr,math: BOOLEAN];
VAlign: PUBLIC PROCEDURE[hhead: HHeadPtr];

TexAlign: PROGRAM;

END.