home *** CD-ROM | disk | FTP | other *** search
- %textb.ccc
- * 8.1.92 by DORIT
- * insertion of text blocks
- *$Header$
- *$Log$
- ******
- :a
- * check geometric mode activity (c100=' ')
- ascii c100 r13
- if r13 eq 32 :b
- mess illegal command, use \GEOM first !
- getwe
- goto :a
- :b
- r5=0
- mess distance between lines (factor of text size)
- r2=0.5;def r2
- getr r2
- if r2 le 0 :b
- :c
- c1='n'
- c2='n'
- mess location of block (current justification)
- getp p1
- mess direction point (ENTER along X)
- rubber line
- getp+ p2
- rubber off
- if r93 eq 0 :d
- p2=p1
- x2=x1+10
- :d
- mess text: (max 70 chars per line) <ENTER> for next line
- getw
- r37=0
- r38=70
- r39=211
- r1=0
- ovl getc
- if r1 ne 0 :d
- ascii c211 r1
- if r1 eq 32 :e
- i50=0
- ovl textblk
- c211=' '
- c2='c'
- goto :d
- :e
- mess place same text block?
- getyn r1
- r5=0
- if r1 eq 0 :c
- c1='s'
- mess location of block (current justification)
- getp p1
- mess direction point (ENTER along X)
- rubber line
- getp+ p2
- rubber off
- if r93 eq 0 :D
- p2=p1
- x2=x1+10
- :D
- c2='n'
- i50=0
- ovl textblk
- goto :e
-