home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / align.h < prev    next >
Text File  |  1988-03-13  |  987b  |  46 lines

  1.  
  2. /*
  3.  * @(#)align.h 2.5 EPA
  4.  *
  5.  * Copyright 1987,1988 Pat J Monardo
  6.  *
  7.  * Redistribution of this file is permitted through
  8.  * the specifications in the file COPYING.
  9.  *
  10.  * 
  11.  */
  12.  
  13. int     push_alignment();
  14. int     pop_alignment();
  15.  
  16. #define ALIGN_STACK_NODE_SIZE   5
  17.  
  18. #define u_part(L)               mem[L + HEIGHT_OFFSET].i
  19. #define v_part(L)               mem[L + DEPTH_OFFSET].i
  20. #define extra_info(L)           info(L + LIST_OFFSET)
  21.  
  22. #define SPAN_CODE               256
  23. #define CR_CODE                 257
  24. #define CR_CR_CODE              CR_CODE + 1
  25.  
  26. #define SPAN_NODE_SIZE          2
  27.  
  28. #define preamble                link(align_head)
  29.  
  30. global  ptr     cur_align;
  31. global  ptr     cur_span;
  32. global  ptr     cur_loop;
  33. global  ptr     cur_head;
  34. global  ptr     cur_tail;
  35. global  ptr     align_ptr;
  36.  
  37. int     init_align();
  38. int     get_preamble_token();
  39. int     align_peek();
  40. int     init_row();
  41. int     init_span();
  42. int     init_col();
  43. bool    fin_col();
  44. int     fin_row();
  45. int     fin_align();
  46.