This file is indexed.

/usr/share/lout/include/eqf is in lout-common 3.39-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
###############################################################################
#                                                                             #
#  Lout @Eq package for equation formatting (Version 3.0)                     #
#                                                                             #
#  Version 1.0 by Jeffrey H. Kingston, December 1990.                         #
#  Version 2.0 by Jeffrey H. Kingston, 22 December 1992.                      #
#  Version 3.0 by Jeffrey H. Kingston and Robert Marsa, March 1996.           #
#                                                                             #
#  This package makes extensive use of the Adobe Systems Symbol font, and     #
#  it assumes that the font has not been recoded.  It could be rewritten      #
#  using the @Char symbol to be made independent of any recoding, but since   #
#  there seems no reason to ever recode this font, I haven't bothered.        #
#                                                                             #
#  See "Eq - a Lout package for typesetting mathematics" for user             #
#  information.  Acknowledgement:  the @Eq language is based closely on       #
#  the Eqn language of B. W. Kernighan and L. L. Cherry; the spacing rules    #
#  are similar to those of the TeX system by D. E. Knuth.                     #
#                                                                             #
#  Version 3.0 makes use of the new x and y units of measurement to improve   #
#  the spacing rules.                                                         #
#                                                                             #
#  This program is free software; you can redistribute it and/or modify       #
#  it under the terms of the GNU General Public License as published by       #
#  the Free Software Foundation; either Version 3, or (at your option)        #
#  any later version.                                                         #
#                                                                             #
#  This program is distributed in the hope that it will be useful,            #
#  but WITHOUT ANY WARRANTY; without even the implied warranty of             #
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              #
#  GNU General Public License for more details.                               #
#                                                                             #
#  You should have received a copy of the GNU General Public License          #
#  along with this program; if not, write to the Free Software                #
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston MA 02111-1307 USA     #
#                                                                             #
#  As a special exception, when this file is read by Lout when processing     #
#  a Lout source document, you may use the result without restriction.        #
#                                                                             #
###############################################################################

export	"`" "``" "```" bin rel punct non vctr big small

	space exclam universal numbersign existential percent
	ampersand suchthat parenleft parenright asteriskmath
	plus comma minus period slash zero one two three four
	five six seven eight nine colon semicolon less equal
	greater question congruent Alpha Beta Chi Delta Epsilon
	Phi Gamma Eta Iota thetaone Kappa Lambda Mu Nu Omicron
	Pi Theta Rho Sigma Tau Upsilon sigmaone Omega Xi Psi Zeta
	bracketleft therefore bracketright perpendicular underscore
	radicalex alpha beta chi delta epsilon phi gamma eta iota
	phione kappa lambda mu nu omicron pi theta rho sigma tau
	upsilon omegaone omega xi psi zeta braceleft bar braceright
	similar Upsilonone minute lessequal fraction infinity florin
	club diamond heart spade arrowboth arrowleft arrowup
	arrowright arrowdown degree plusminus second greaterequal
	multiply proportional partialdiff bullet divide notequal
	equivalence approxequal ellipsis arrowvertex arrowhorizex
	carriagereturn aleph Ifraktur Rfraktur weierstrass
	circlemultiply circleplus emptyset intersection union
	propersuperset reflexsuperset notsubset propersubset
	reflexsubset element notelement angle gradient registerserif
	copyrightserif trademarkserif product radical dotmath
	logicalnot logicaland logicalor arrowdblboth arrowdblleft
	arrowdblup arrowdblright arrowdbldown lozenge angleleft
	registersans copyrightsans trademarksans summation parenlefttp
	parenleftex parenleftbt bracketlefttp bracketleftex
	bracketleftbt bracelefttp braceleftmid braceleftbt braceex
	angleright integral integraltp integralex integralbt
	parenrighttp parenrightex parenrightbt bracketrighttp
	bracketrightex bracketrightbt bracerighttp bracerightmid
	bracerightbt

	hbar Re Im partial infty prime nabla surd top bot dbar
	triangle backslash forall exists neg
	circle filledcircle square

	sum prod coprod int oint bcap bcup bvee bwedge bodot botimes
	boplus buplus

	"+" "-" "+-" "-+" setminus cdot times "*" circ div cap cup uplus
	sqcap sqcup triangleleft triangleright
	wr bigcirc bigtriangleup bigtriangledown vee wedge oplus ominus
	otimes oslash odot dagger daggerdbl amalg

	"<" ">" "=" "<=" prec preceq "<<" subset subseteq sqsubseteq
	in vdash smile frown ">=" succ succeq ">>" supset supseteq
	sqsupseteq ni dashv mid parallel "==" "~" "-~" asymp "~~"
	"=~" bowtie propto models doteq trieq perp notsub notin "!=" not
	"<->" "<--" "-->" up down "<=>" "<==" "==>" dblup dbldown
	":" "::" ":="

	lpar blpar rpar brpar lbrack blbrack rbrack brbrack lbrace blbrace
	rbrace brbrace lfloor blfloor rfloor brfloor lceil blceil
	rceil brceil langle blangle rangle brangle

	";" "," col
	
	"!" "?" "%" "(" ")" "[" "]"

	arccos arcsin arctan arg cos cosh cot coth csc deg det dim exp
	gcd hom inf ker lg lim liminf limsup ln log max min Pr sec sin
	sinh supr tan tanh mod ldots cdots vdots ddots del grad
	"..." ",...," "'" "''" "'''" "''''" empty

	triangleup triangledown
	
	leftarrow longleftarrow dblleftarrow dbllongleftarrow
	rightarrow longrightarrow dblrightarrow dbllongrightarrow
	leftrightarrow longleftrightarrow dblleftrightarrow dbllongleftrightarrow
	mapsto longmapsto hookleftarrow hookrightarrow leadsto
	leftharpoonup rightharpoonup leftharpoondown rightharpoondown
	rightleftharpoons
	uparrow dbluparrow downarrow dbldownarrow updownarrow dblupdownarrow
	nearrow searrow swarrow nwarrow

	sup sub tsub supp on ton frac half third over from to widefrom wideto
	dot dotdot hat tilde vec dyad overbar underbar sqrt root zroot
	nextcol above labove cabove rabove mabove
	matrix pmatrix bmatrix brmatrix fmatrix cmatrix amatrix

	"0" "1" "2" "3" "4" "5" "6" "7" "8" "9"

def @Eq                  
    named initzunit { 1f }
    body @Body
@Begin


    ###################################################################
    #                                                                 #
    #  Context-sensitive format changes.                              #
    #                                                                 #
    #  Equation formatting (according to Knuth) demands changes in    #
    #  the appearance of equations depending on context.  These are:  #
    #                                                                 #
    #     @Smaller x      Superscripts and subscripts are to be set   #
    #                     in a smaller font size.  The @Smaller       #
    #                     symbol implements this by changing the      #
    #                     f unit.                                     #
    #                                                                 #
    #     @HSqueeze x     The horizontal space surrounding binary     #
    #                     operators and relations is to be reduced    #
    #                     within superscripts and subscripts, etc.    #
    #                     The @HSqueeze symbol implements this by     #
    #                     changing the y unit, which is not used by   #
    #                     Lout but which is used by symbols @ThinGap, #
    #                     @MedGap and @ThickGap.                      #
    #                                                                 #
    #     @VSqueeze x     The vertical space taken by superscripts    #
    #                     and subscripts is to be reduced within      #
    #                     built-up fractions and under root signs.    #
    #                     The @VSqueeze symbol implements this by     #
    #                     changing the z unit, which is not used by   #
    #                     Lout but is used by the @SupGap symbol.     #
    #                                                                 #
    #  Knuth also recommends some changes that depend on whether the  #
    #  equation is displayed or inline; these are not implemented,    #
    #  except that the @E symbol for inline equations (defined as     #
    #  a macro at the bottom of this file) includes a @VSqueeze.      #
    #                                                                 #
    ###################################################################

    def @SpaceGap { 0.05f  }

    def @Smaller  right x { 0.7f @Font @SpaceGap @Space x }

    def @HSqueeze right x { 0.2f @YUnit x }

    def @VSqueeze right x { 0.7f @ZUnit x }

    def @SkewGap  { 0.05f  }
    def @SupGap   { 0.43zk }
    def @ThinGap  { 0.15y  }
    def @MedGap   { 0.20y  }
    def @ThickGap { 0.25y  }
    def @ColGap   { 0.8f   }
    def @RowGap   { 0.5f   }

    def "`"       { &@ThinGap  }
    def "``"      { &@MedGap   }
    def "```"     { &@ThickGap }

    def bin	right x { ``  x ``  }
    def rel	right x { ``` x ``` }
    def punct	right x {     x `   }
    def non	right x { 0c @YUnit x }
    def big	right x { 1.3f @Font @SpaceGap @Space x }
    def small	right x { 0.6f @Font @SpaceGap @Space x }

    def @Base   right x { Base @Font x }
    def @Sym    right x { {Symbol Base} @Font x }

    def @HLine
	named line { @BackEnd @Case { PostScript @Yield { "0.05 ft setlinewidth" } PDF @Yield { "__mul(__loutf, 0.05) w" } } }
    {
	@BackEnd @Case {
	  PostScript @Yield {
	    { "0 0 moveto xsize 0 lineto" line "stroke" } @Graphic {}
	  }
	  PDF @Yield {	# note re-arrangement of commands (setlinewidth (='w') not allowed in a path)
	    { line "0 0 m __xsize 0 l s" } @Graphic {}
	  }
	}
    }

    def @VLine
    {
	@BackEnd @Case {
	  PostScript @Yield {
	    "0 0 moveto 0 ysize lineto 0.05 ft setlinewidth stroke" @Graphic {}
	  }
	  PDF @Yield {
	    "__mul(__loutf, 0.05) w 0 0 m 0 __ysize l s" @Graphic {}
	  }
	}
    }

    def vctr
	right x
    {
	0.5w @VShift x
    }

    def @Strut right x
    {
	@OneCol { x | @OneRow { 0.5f @High ^/ 0.5f @High } }
    }

    ###################################################################
    #                                                                 #
    #   Full names                                                    #
    #                                                                 #
    #   These symbols and their names are taken directly from the     #
    #   Adobe Systems Inc. Symbol font (see PostScript Language       #
    #   Reference Manual, pp. 256-257).  The only differences are:    #
    #                                                                 #
    #      Adobe:  theta1        Eq:  thetaone                        #
    #              sigma1             sigmaone                        #
    #              phi1               phione                          #
    #              omega1             omegaone                        #
    #                                                                 #
    #   These were needed since Lout identifiers do not have digits.  #
    #                                                                 #
    ###################################################################

    def space           { @Sym "\040"  }
    def exclam          { @Sym "\041"  }
    def universal       { @Sym "\042"  }
    def numbersign      { @Sym "\043"  }
    def existential     { @Sym "\044"  }
    def percent         { @Sym "\045"  }
    def ampersand       { @Sym "\046"  }
    def suchthat        { @Sym "\047"  }
    def parenleft       { @Sym "\050"  }
    def parenright      { @Sym "\051"  }
    def asteriskmath    { @Sym "\052"  }
    def plus            { @Sym "+"     }
    def comma           { @Sym "\054"  }
    def minus           { @Sym "-"     }
    def period          { @Sym "\056"  }
    def slash           { @Sym "\057"  }
    def zero            { @Sym "\060"  }
    def one             { @Sym "\061"  }
    def two             { @Sym "\062"  }
    def three           { @Sym "\063"  }
    def four            { @Sym "\064"  }
    def five            { @Sym "\065"  }
    def six             { @Sym "\066"  }
    def seven           { @Sym "\067"  }
    def eight           { @Sym "\070"  }
    def nine            { @Sym "\071"  }
    def colon           { @Sym "\072"  }
    def semicolon       { @Sym "\073"  }
    def less            { @Sym "\074"  }
    def equal           { @Sym "\075"  }
    def greater         { @Sym "\076"  }
    def question        { @Sym "\077"  }
    def congruent       { @Sym "\100"  }
    def Alpha           { @Sym "\101"  }
    def Beta            { @Sym "\102"  }
    def Chi             { @Sym "\103"  }
    def Delta           { @Sym "\104"  }
    def Epsilon         { @Sym "\105"  }
    def Phi             { @Sym "\106"  }
    def Gamma           { @Sym "\107"  }
    def Eta             { @Sym "\110"  }
    def Iota            { @Sym "\111"  }
    def thetaone        { @Sym "\112"  }
    def Kappa           { @Sym "\113"  }

    def Lambda          { @Sym "\114"  }
    def Mu              { @Sym "\115"  }
    def Nu              { @Sym "\116"  }
    def Omicron         { @Sym "\117"  }
    def Pi              { @Sym "\120"  }
    def Theta           { @Sym "\121"  }
    def Rho             { @Sym "\122"  }
    def Sigma           { @Sym "\123"  }
    def Tau             { @Sym "\124"  }
    def Upsilon         { @Sym "\125"  }
    def sigmaone        { @Sym "\126"  }
    def Omega           { @Sym "\127"  }
    def Xi              { @Sym "\130"  }
    def Psi             { @Sym "\131"  }
    def Zeta            { @Sym "\132"  }
    def bracketleft     { @Sym "\133"  }
    def therefore       { @Sym "\134"  }
    def bracketright    { @Sym "\135"  }
    def perpendicular   { @Sym "\136"  }
    def underscore      { @Sym "\137"  }
    def radicalex       { @Sym "\140"  }
    def alpha           { @Sym "\141"  }
    def beta            { @Sym "\142"  }
    def chi             { @Sym "\143"  }
    def delta           { @Sym "\144"  }
    def epsilon         { @Sym "\145"  }
    def phi             { @Sym "\146"  }
    def gamma           { @Sym "\147"  }
    def eta             { @Sym "\150"  }
    def iota            { @Sym "\151"  }
    def phione          { @Sym "\152"  }
    def kappa           { @Sym "\153"  }
    def lambda          { @Sym "\154"  }
    def mu              { @Sym "\155"  }
    def nu              { @Sym "\156"  }

    def omicron         { @Sym "\157"  }
    def pi              { @Sym "\160"  }
    def theta           { @Sym "\161"  }
    def rho             { @Sym "\162"  }
    def sigma           { @Sym "\163"  }
    def tau             { @Sym "\164"  }
    def upsilon         { @Sym "\165"  }
    def omegaone        { @Sym "\166"  }
    def omega           { @Sym "\167"  }
    def xi              { @Sym "\170"  }
    def psi             { @Sym "\171"  }
    def zeta            { @Sym "\172"  }
    def braceleft       { @Sym "\173"  }
    def bar             { @Sym "\174"  }
    def braceright      { @Sym "\175"  }
    def similar         { @Sym "\176"  }
    def Upsilonone      { @Sym "\241"  }
    def minute          { @Sym "\242"  }
    def lessequal       { @Sym "\243"  }
    def fraction        { @Sym "\244"  }
    def infinity        { "1.2f" @Font @Sym "\245"  }
    def florin          { @Sym "\246"  }
    def club            { @Sym "\247"  }
    def diamond         { @Sym "\250"  }
    def heart           { @Sym "\251"  }
    def spade           { @Sym "\252"  }
    def arrowboth       { @Sym "\253"  }
    def arrowleft       { @Sym "\254"  }
    def arrowup         { @Sym "\255"  }
    def arrowright      { @Sym "\256"  }
    def arrowdown       { @Sym "\257"  }
    def degree          { @Sym "\260"  }
    def plusminus       { @Sym "\261"  }
    def second          { @Sym "\262"  }
    def greaterequal    { @Sym "\263"  }

    def multiply        { @Sym "\264"  }
    def proportional    { @Sym "\265"  }
    def partialdiff     { @Sym "\266"  }
    def bullet          { @Sym "\267"  }
    def divide          { @Sym "\270"  }
    def notequal        { @Sym "\271"  }
    def equivalence     { @Sym "\272"  }
    def approxequal     { @Sym "\273"  }
    def ellipsis        { @Sym "\274"  }
    def arrowvertex     { @Sym "\275"  }
    def arrowhorizex    { @Sym "\276"  }
    def carriagereturn  { @Sym "\277"  }
    def aleph           { @Sym "\300"  }
    def Ifraktur        { @Sym "\301"  }
    def Rfraktur        { @Sym "\302"  }
    def weierstrass     { @Sym "\303"  }
    def circlemultiply  { @Sym "\304"  }
    def circleplus      { @Sym "\305"  }
    def emptyset        { @Sym "\306"  }
    def intersection    { @Sym "\307"  }
    def union           { @Sym "\310"  }
    def propersuperset  { @Sym "\311"  }
    def reflexsuperset  { @Sym "\312"  }
    def notsubset       { @Sym "\313"  }
    def propersubset    { @Sym "\314"  }
    def reflexsubset    { @Sym "\315"  }
    def element         { @Sym "\316"  }
    def notelement      { @Sym "\317"  }
    def angle           { @Sym "\320"  }
    def gradient        { @Sym "\321"  }
    def registerserif   { @Sym "\322"  }
    def copyrightserif  { @Sym "\323"  }
    def trademarkserif  { @Sym "\324"  }
    def product         { @Sym "\325"  }
    def radical         { @Sym "\326"  }
    def dotmath         { @Sym "\327"  }

    def @PureDot   # dot with no extra space
    {
	@HContract { &0io 0.4w @HShift dotmath }
    }

    def logicalnot      { @Sym "\330"  }
    def logicaland      { @Sym "\331"  }
    def logicalor       { @Sym "\332"  }
    def arrowdblboth    { @Sym "\333"  }
    def arrowdblleft    { @Sym "\334"  }
    def arrowdblup      { @Sym "\335"  }
    def arrowdblright   { @Sym "\336"  }
    def arrowdbldown    { @Sym "\337"  }
    def lozenge         { @Sym "\340"  }
    def angleleft       { @Sym "\341"  }
    def registersans    { @Sym "\342"  }
    def copyrightsans   { @Sym "\343"  }
    def trademarksans   { @Sym "\344"  }
    def summation       { @Sym "\345"  }
    def parenlefttp     { @Sym "\346"  }
    def parenleftex     { @Sym "\347"  }
    def parenleftbt     { @Sym "\350"  }
    def bracketlefttp   { @Sym "\351"  }
    def bracketleftex   { @Sym "\352"  }
    def bracketleftbt   { @Sym "\353"  }
    def bracelefttp     { @Sym "\354"  }
    def braceleftmid    { @Sym "\355"  }
    def braceleftbt     { @Sym "\356"  }
    def braceex         { @Sym "\357"  }
    def angleright      { @Sym "\361"  }
    def integral        { @Sym "\362"  }
    def integraltp      { @Sym "\363"  }
    def integralex      { @Sym "\364"  }
    def integralbt      { @Sym "\365"  }
    def parenrighttp    { @Sym "\366"  }
    def parenrightex    { @Sym "\367"  }
    def parenrightbt    { @Sym "\370"  }
    def bracketrighttp  { @Sym "\371"  }
    def bracketrightex  { @Sym "\372"  }
    def bracketrightbt  { @Sym "\373"  }
    def bracerighttp    { @Sym "\374"  }
    def bracerightmid   { @Sym "\375"  }
    def bracerightbt    { @Sym "\376"  }


    ###################################################################
    #                                                                 #
    #   Short names                                                   #
    #                                                                 #
    #   These symbols, their names, and their spacing, are based on   #
    #   the list in Appendix F of Donald E. Knuth's The TeXBook.      #
    #                                                                 #
    #   Group 1 (lowercase Greek letters):  see full names above      #
    #   Group 2 (uppercase Greek letters):  see full names above      #
    #   Group 3 (calligraphic capitals):    not provided by Eq        #
    #                                                                 #
    ###################################################################

    ###################################################################
    #                                                                 #
    #   Group 4 (miscellaneous Ord symbols)                           #
    #                                                                 #
    #   Not all of Knuth's symbols are available.  The four suits     #
    #   (heartsuit, etc.), have definitions above.                    #
    #                                                                 #
    ###################################################################

    def hbar         { @OneCol { &0.1f @Base "-" ^/0.25fo h }	}
    def Re           { Rfraktur					}
    def Im           { Ifraktur					}
    def partial      { partialdiff				}
    def infty        { infinity					}
    def prime        { minute        				}
   #def emptyset     { defined above				}
    def nabla        { gradient					}
    def surd         { radical					}
    def top          { 180d @Rotate perpendicular		}
    def bot          { perpendicular				}
    def dbar         { @Base "||"                         	}
   #def angle        { defined above				}
    def backslash    { "\\"					}
    def forall       { universal					}
    def exists       { existential				}
    def neg          { logicalnot				}

    def circle
    { @HContract @VContract @BackEnd @Case {
	PostScript @Yield {
	  {
	    "xsize ysize 2 div moveto"
	    "xsize 2 div ysize 2 div xsize 2 div 0 360 arc"
	    "0.04 ft setlinewidth stroke"
	  } @Graphic { 0.7f @Wide 0.3f @High ^/ 0.3f @High }
	}
	PDF @Yield {
	  #
	  # VT: draws a counterclockwise 360 degree arc from 0 to +360
	  # degree positions (straight right to straight right) with
	  # centre = (xsize/2, ysize/2) and radius = xsize/2, 
	  # implemented as two counterclockwise 180 degree arcs.
	  # start at (xsize, ysize/2); the control points are:
	  #
	  #     pt1 = (xsize, ysize/2 + (4/3 * xsize/2))
	  #     pt2 = (0, ysize/2 + (4/3 * xsize/2))
	  #
	  # end at (0, ysize/2).  Then start at (0, ysize/2); control points
	  #
	  #     pt1 = (0, ysize/2 - (4/3 * xsize/2))
	  #     pt2 = (xsize, ysize/2 - (4/3 * xsize/2))
	  #
	  # and end at (xsize, ysize/2).

	  {
	    "__mul(0.04, __loutf) w"
	    "__xsize __div(__ysize, 2) m"
	    "__xsize __add(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "0 __add(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "0 __div(__ysize, 2) c"
	    "0 __sub(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "__xsize __sub(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "__xsize __div(__ysize, 2) c S"
	  } @Graphic { 0.7f @Wide 0.3f @High ^/ 0.3f @High }
	}
      }
    }

    def filledcircle
    { @HContract @VContract @BackEnd @Case {
	PostScript @Yield {
	  {
	    "xsize ysize 2 div moveto"
	    "xsize 2 div ysize 2 div xsize 2 div 0 360 arc"
	    "0.04 ft setlinewidth fill"
	  } @Graphic { 0.7f @Wide 0.3f @High ^/ 0.3f @High }
	}
	PDF @Yield {
	  #
	  # JK: I don't know how to fill in PDF, so this doesn't!
	  #
	  # VT: draws a counterclockwise 360 degree arc from 0 to +360
	  # degree positions (straight right to straight right) with
	  # centre = (xsize/2, ysize/2) and radius = xsize/2, 
	  # implemented as two counterclockwise 180 degree arcs.
	  # start at (xsize, ysize/2); the control points are:
	  #
	  #     pt1 = (xsize, ysize/2 + (4/3 * xsize/2))
	  #     pt2 = (0, ysize/2 + (4/3 * xsize/2))
	  #
	  # end at (0, ysize/2).  Then start at (0, ysize/2); control points
	  #
	  #     pt1 = (0, ysize/2 - (4/3 * xsize/2))
	  #     pt2 = (xsize, ysize/2 - (4/3 * xsize/2))
	  #
	  # and end at (xsize, ysize/2).

	  {
	    "__mul(0.04, __loutf) w"
	    "__xsize __div(__ysize, 2) m"
	    "__xsize __add(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "0 __add(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "0 __div(__ysize, 2) c"
	    "0 __sub(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "__xsize __sub(__div(__ysize, 2), __div(__mul(2, __xsize), 3))"
	    "__xsize __div(__ysize, 2) c S"
	  } @Graphic { 0.7f @Wide 0.3f @High ^/ 0.3f @High }
	}
      }
    }

    def square
    { @HContract @VContract @BackEnd @Case {
	PostScript @Yield {
	  {
	    "0 0 moveto xsize 0 lineto xsize ysize lineto"
	    "0 ysize lineto closepath"
	    "0.04 ft setlinewidth stroke"
	  } @Graphic { 0.6f @Wide 0.3f @High ^/ 0.3f @High }
	}
	PDF @Yield {
	  {
	    "__mul(__loutf, 0.04) w"
	    "0 0 m __xsize 0 l __xsize __ysize l"
	    "0 __ysize l s"
	  } @Graphic { 0.6f @Wide 0.3f @High ^/ 0.3f @High }
	}
      }
    }

    def triangle
    { @HContract @VContract @BackEnd @Case {
	PostScript @Yield {
	  {
	    "0 0 moveto xsize 0 lineto"
	    "xsize 2 div ysize lineto closepath"
	    "0.04 ft setlinewidth stroke"
	  } @Graphic { 0.3f @Wide 0.3f @High ^| ^/ 0.3f @Wide 0.3f @High }
	}
	PDF @Yield {
	  {
	    "__mul(__loutf, 0.04) w"
	    "0 0 m __xsize 0 l"
	    "__div(__xsize, 2) __ysize l s"
	  } @Graphic { 0.3f @Wide 0.3f @High ^| ^/ 0.3f @Wide 0.3f @High }
	}
      }
    }


    ###################################################################
    #                                                                 #
    #   Group 6 ("Large" operators)                                   #
    #                                                                 #
    #   Knuth's large operators automatically change size depending   #
    #   on whether the equation is display or inline.  Eq does not    #
    #   do this; instead, the `big' operator must be used.            #
    #                                                                 #
    ###################################################################

    def sum	{ summation					}
    def prod	{ product					}
    def coprod	{ 180d @Rotate vctr product			}
    def int	{ 1.3f @Font vctr integral			}
    def oint	{ @OneCol { vctr degree |0.015fo int }		}
    def bcap	{ 1.3f @Font intersection			}
    def bcup	{ 1.3f @Font union				}
    def bvee	{ 1.3f @Font logicalor				}
    def bwedge	{ 1.3f @Font logicaland				}
    def bodot	{ & 1.3f @Font @HContract { circle /0io &0.5rt @PureDot } }
    def botimes	{ 1.3f @Font circlemultiply			}
    def boplus	{ 1.3f @Font circleplus				}
    def buplus	{ & 1.3f @Font @HContract { &0.5rt 0.7f @Font plus ^/0.2fo union } }

    ###################################################################
    #                                                                 #
    #   Group 7 (binary operations)                                   #
    #                                                                 #
    #   All of Knuth's symbols are available except \star, \diamond   #
    #   and \bullet; a few have been given more mnemonic names.       #
    #                                                                 #
    ###################################################################

    def "+"		{ bin plus				}
    def "-"		{ bin minus				}
    def "+-"		{ bin plusminus				}
    def "-+"		{ bin 180d @Rotate plusminus		}
    def setminus		{ bin backslash				}
    def cdot		{ bin dotmath				}
    def times		{ bin multiply				}
    def "*"		{ bin asteriskmath			}
   #def diamond		{ name used above			}
    def circ		{ bin circle				}
   #def bullet		{ name used above			}
    def div		{ bin divide				}
    def cap		{ bin intersection			}
    def cup		{ bin union				}
    def uplus		{ bin @OneRow @HContract { &0.5rt 0.7f @Font plus ^/0.2fo union}}
    def sqcap		{ bin
			  { @HContract @VContract
				@BackEnd @Case {
				  PostScript @Yield {
				    {	"0 0 moveto 0 ysize lineto xsize ysize lineto"
					"xsize 0 lineto"
					"0.04 ft setlinewidth stroke"
				    }
				    @Graphic
				    {	0.3f @Wide 0.3f @High ^| ^/
					0.3f @Wide 0.3f @High
				    }
				  }
				  PDF @Yield {
				    {	"__mul(__loutf, 0.04) w"
					"0 0 m 0 __ysize l __xsize __ysize l"
					"__xsize 0 l s"
				    }
				    @Graphic
				    {	0.3f @Wide 0.3f @High ^| ^/
					0.3f @Wide 0.3f @High
				    }
				  }
				}
			  }
			}
    def sqcup		{ 180d @Rotate sqcap			}
    def triangleleft	{ bin 90d @Rotate 0.8f @Font triangle	}
    def triangleright	{ bin "-90d" @Rotate 0.8f @Font triangle}
    def wr		{ bin vctr {90d @Rotate similar}	}
    def bigcirc		{ bin 1.2f @Font circle			}
    def bigtriangleup	{ bin 1.2f @Font triangle		}
    def bigtriangledown	{ bin 180d @Rotate 1.2f @Font triangle	}
    def vee		{ bin logicalor				}
    def wedge		{ bin logicaland			}
    def oplus		{ bin circleplus			}
    def ominus		{ bin @OneRow @HContract { circle /0io &0.5rt minus}}
    def otimes		{ bin circlemultiply			}
    def oslash		{`vctr 60d @Rotate @HContract {circle /0io &0.5rt minus`}}
    def odot		{ bin @OneRow @HContract {circle /0io &0.5rt @PureDot }}
    def dagger		{ bin @Base @Char "dagger"		}
    def daggerdbl	{ bin @Base @Char "daggerdbl"		}
    def amalg		{ bin 180d @Rotate vctr product		}

    ###################################################################
    #                                                                 #
    #   Group 8 (relations)                                           #
    #                                                                 #
    #   All Knuth's operators are available, but many have been       #
    #   given different, more mnemonic names.  Also included is       #
    #   a not operator for negating the relations.                    #
    #                                                                 #
    ###################################################################

    def "<"		{ rel less				}
    def ">"		{ rel greater				}
    def "="		{ rel equal				}
    def "<="		{ rel lessequal				}
    def prec		{ rel { 0.45f @Font "-90d" @Rotate
				{ parenrighttp ^| parenlefttp }
			      }
			}
    def preceq		{ rel { @OneRow non prec /0.1f minus }	}
    def "<<"		{ rel {less less}			}
    def subset		{ rel propersubset			}
    def subseteq	{ rel reflexsubset			}
    def sqsubseteq	{ rel @HContract @VContract
					@BackEnd @Case {
					  PostScript @Yield {
						{ { "xsize 0 moveto"
						  "0 0 lineto"
						  "0 ysize lineto"
						  "xsize ysize lineto"
						  "0.04 ft setlinewidth stroke"
						  }
						  @Graphic
						  { 0.5f @Wide 0.25f @High ^/
						    0.25f @High
						  }
						  /0.1f minus
						}
					  }
					  PDF @Yield {
						{ { "__mul(__loutf, 0.04) w"
						    "__xsize 0 m"
						    "0 0 l"
						    "0 __ysize l"
						    "__xsize __ysize l s"
						  }
						  @Graphic
						  { 0.5f @Wide 0.25f @High ^/
						    0.25f @High
						  }
						  /0.1f minus
						}
					  }
					}
			}

    def in		{ rel element				}
    def vdash		{ rel vctr{"-90d" @Rotate perpendicular}}
    def smile		{ rel vctr 90d @Rotate parenleft	}
    def frown		{ rel vctr 90d @Rotate parenright	}

    def ">="		{ rel greaterequal			}
    def succ		{ rel { 0.45f @Font 90d @Rotate
			        { parenrighttp ^| parenlefttp }
			      }
			}
    def succeq		{ rel { @OneRow non succ /0.1f minus }	}
    def ">>"		{ rel {greater greater}			}
    def supset		{ rel propersuperset			}
    def supseteq	{ rel reflexsuperset			}
    def sqsupseteq	{ rel @HContract @VContract
					@BackEnd @Case {
					  PostScript @Yield {
					    {	{ "0 0 moveto xsize 0 lineto"
						  "xsize ysize lineto"
						  "0 ysize lineto"
						  "0.04 ft setlinewidth stroke"
						}
						@Graphic
						{ 0.5f @Wide 0.25f @High ^/
						  0.25f @High
						}
					      /0.1f minus
					    }
					  }
					  PDF @Yield {
					    {	{ "__mul(__loutf, 0.04) w"
					      "0 0 m __xsize 0 l"
						  "__xsize __ysize l"
						  "0 __ysize l s"
						}
						@Graphic
						{ 0.5f @Wide 0.25f @High ^/
						  0.25f @High
						}
					      /0.1f minus
					    }
					  }
					}
			}
    def ni		{ rel 180d @Rotate element		}
    def dashv		{ rel vctr {90d @Rotate perpendicular}	}
    def mid		{ rel @Base "|"				}
    def parallel	{ rel @Base "||"			}

    def "=="		{ rel equivalence			}
    def "~"		{ rel similar				}
    def "-~"		{ rel @OneRow{similar^/0.07f/0.07f minus}}
    def asymp		{ rel 0.7f @Font @OneRow
			      { 90d @Rotate parenleft ^/0.008f
			      /0.008f 90d @Rotate parenright }
			}
    def "~~"		{ rel approxequal			}
    def "=~"		{ rel congruent				}
    def bowtie		{ rel{non triangleright non triangleleft}}
    def propto		{ rel proportional			}
    def models		{ rel{@Base vctr "|" &0.05fo vctr equal}}
    def trieq		{ rel @OneRow @HContract {&0.5rt small triangle^/0.15f equal}}
    def doteq		{ rel @OneRow @HContract {&0.5rt dotmath^/0.15f equal}}
    def perp		{ rel perpendicular			}

    def notsub		{ rel notsubset				}
    def notin		{ rel notelement			}
    def "!="		{ rel notequal				}

    def "<->"		{ rel arrowboth				}
    def "<--"		{ rel arrowleft				}
    def "-->"		{ rel arrowright			}
    def up		{ rel arrowup				}
    def down		{ rel arrowdown				}
    def "<=>"		{ rel arrowdblboth			}
    def "<=="		{ rel arrowdblleft			}
    def "==>"		{ rel arrowdblright			}
    def dblup		{ rel arrowdblup			}
    def dbldown		{ rel arrowdbldown			}

    def ":"		{ rel colon				}
    def "::"		{ rel @OneCol {colon ` colon}		}
    def ":="		{ rel { colon{ //0.05fo equal} }	}

    def not right x	{ @HContract {@OneCol x /0co &0.5rt slash}}


    ###################################################################
    #                                                                 #
    #   Groups 11 and 12 - openings and closings.                     #
    #                                                                 #
    ###################################################################

    def lpar	{ parenleft				}
    def rpar	{ parenright				}
    def lbrack	{ bracketleft				}
    def rbrack	{ bracketright				}
    def lbrace	{ braceleft				}
    def rbrace	{ braceright				}
    def lfloor	{ ` "-0.15f" @VShift bracketleftbt	}
    def rfloor	{   "-0.15f" @VShift bracketrightbt `	}
    def lceil	{ ` "-0.1f"  @VShift bracketlefttp	}
    def rceil	{   "-0.1f"  @VShift bracketrighttp `	}
    def langle	{ angleleft				}
    def rangle	{ angleright				}

    def blpar	{ @OneRow {parenlefttp    ^/ parenleftex    / parenleftbt   } }
    def brpar	{ @OneRow {parenrighttp   ^/ parenrightex   / parenrightbt  } }
    def blbrack	{ @OneRow {bracketlefttp  ^/ bracketleftex  / bracketleftbt } }
    def brbrack	{ @OneRow {bracketrighttp ^/ bracketrightex / bracketrightbt} }
    def blbrace	{ @OneRow {bracelefttp    ^/ braceleftmid   / braceleftbt   } }
    def brbrace	{ @OneRow {bracerighttp   ^/ bracerightmid  / bracerightbt  } }
    def blfloor	{ @OneRow {bracketleftex  ^/ bracketleftex  / bracketleftbt } }
    def brfloor	{ @OneRow {bracketrightex ^/ bracketrightex / bracketrightbt} }
    def blceil	{ @OneRow {bracketlefttp  ^/ bracketleftex  / bracketleftex } }
    def brceil	{ @OneRow {bracketrighttp ^/ bracketrightex / bracketrightex} }
    def blangle	{ @HContract @VContract
				@BackEnd @Case {
				  PostScript @Yield {
				    { "xsize 0 moveto"
				      "0 ysize 2 div lineto"
				      "xsize ysize lineto"
				      "0.04 ft setlinewidth stroke"
			          }
			          @Graphic { 0.5f @Wide 2f @High ^/ 2f @High }
				  }
				  PDF @Yield {
				    { "__mul(__loutf, 0.04) w"
				      "__xsize 0 m"
				      "0 __div(__ysize, 2) l"
				      "__xsize __ysize l S"
			          }
			          @Graphic { 0.5f @Wide 2f @High ^/ 2f @High }
				  }
				}
		}
    def brangle	{ @HContract @VContract
				@BackEnd @Case {
				  PostScript @Yield {
				    { "0 0 moveto"
				      "xsize ysize 2 div lineto"
				      "0 ysize lineto"
				      "0.04 ft setlinewidth stroke"
			          }
			          @Graphic { 0.5f @Wide 2f @High ^/ 2f @High }
				  }
				  PDF @Yield {
				    { "__mul(__loutf, 0.04) w"
				      "0 0 m"
				      "__xsize __div(__ysize, 2) l"
				      "0 __ysize l S"
			          }
			          @Graphic { 0.5f @Wide 2f @High ^/ 2f @High }
				  }
				}
		}


    ###################################################################
    #                                                                 #
    #   Group 13 - punctuation.                                       #
    #                                                                 #
    ###################################################################

    def ";"     { punct semicolon     }
    def ","     { punct comma         }
    def col     { punct colon         }


    ###################################################################
    #                                                                 #
    #   Additional short symbols (Knuth p. 132)                       #
    #                                                                 #
    ###################################################################

    def "!" { exclam          }
    def "?" { question        }
    def "%" { percent         }
    def "(" { parenleft       }
    def ")" { parenright      }
    def "[" { bracketleft     }
    def "]" { bracketright    }


    ###################################################################
    #                                                                 #
    #   Common mathematical functions (from Knuth p. 162).            #
    #   mod is included, since @Rel mod is easily typed if needed.    #
    #                                                                 #
    ###################################################################

    def arccos	{ @Base "arccos"	}
    def arcsin	{ @Base "arcsin"	}
    def arctan	{ @Base "arctan"	}
    def arg	{ @Base "arg"		}
    def cos	{ @Base "cos"		}
    def cosh	{ @Base "cosh"		}
    def cot	{ @Base "cot"		}
    def coth	{ @Base "coth"		}
    def csc	{ @Base "csc"		}
    def deg	{ @Base "deg"		}
    def det	{ @Base "det"		}
    def dim	{ @Base "dim"		}
    def exp	{ @Base "exp"		}
    def gcd	{ @Base "gcd"		}
    def hom	{ @Base "hom"		}
    def inf	{ @Base "inf"		}
    def ker	{ @Base "ker"		}
    def lg	{ @Base "lg"		}
    def lim	{ @Base "lim"		}
    def liminf	{ @OneCol { @Base "lim" ` @Base "inf" }	}
    def limsup	{ @OneCol { @Base "lim" ` @Base "sup" }	}
    def ln	{ @Base "ln"		}
    def log	{ @Base "log"		}
    def max	{ @Base "max"		}
    def min	{ @Base "min"		}
    def Pr	{ @Base "Pr"		}
    def sec	{ @Base "sec"		}
    def sin	{ @Base "sin"		}
    def sinh	{ @Base "sinh"		}
    def supr	{ @Base "sup"		}
    def tan	{ @Base "tan"		}
    def tanh	{ @Base "tanh"		}
    def mod	{ @Base "mod"		}


    ###################################################################
    #                                                                 #
    #  Arrow symbols.                                                 #
    #                                                                 #
    ###################################################################

    def leftarrow		{ arrowleft }
    def longleftarrow		{ { 1.6 1 } @Scale arrowleft }
    def dblleftarrow		{ arrowdblleft }
    def dbllongleftarrow	{ { 1.6 1 } @Scale arrowdblleft }
    def rightarrow		{ arrowright }
    def longrightarrow		{ { 1.6 1 } @Scale arrowright }
    def dblrightarrow		{ arrowdblright }
    def dbllongrightarrow	{ { 1.6 1 } @Scale arrowdblright }
    def leftrightarrow		{ arrowboth }
    def longleftrightarrow	{ { 1.6 1 } @Scale arrowboth }
    def dblleftrightarrow	{ arrowdblboth }
    def dbllongleftrightarrow	{ { 1.6 1 } @Scale arrowdblboth }

    def mapsto
    {
	@HContract @VContract {
	  @BackEnd @Case {
	    PostScript @Yield {
	      "0 ymark 0.16 ft sub moveto 0 ymark 0.16 ft add lineto stroke"
	      @Graphic arrowright
	    }
	    PDF @Yield {
		"0 __sub(__ymark, __mul(__loutf, 0.16)) m 0 __add(__ymark, __mul(__loutf, 0.16)) l S"
		@Graphic arrowright
	    }
	  }
	}
    }

    def longmapsto
    {
	@HContract @VContract {
	  @BackEnd @Case {
	    PostScript @Yield {
		"0 ymark 0.16 ft sub moveto 0 ymark 0.16 ft add lineto stroke"
		@Graphic { { 1.6 1 } @Scale arrowright }
	    }
	    PDF @Yield {
		"0 __sub(__ymark, __mul(__loutf, 0.16)) m 0 __add(__ymark, __mul(__loutf, 0.16)) l S"
		@Graphic { { 1.6 1 } @Scale arrowright }
	    }
	  }
	}
    }

    def hookleftarrow
    {
	@HContract @VContract {
	  @BackEnd @Case {

	    PostScript @Yield {
		"xsize ymark moveto xsize ymark 0.1 ft add 0.1 ft -90 90 arc stroke"
		@Graphic leftarrow
	    }

	    PDF @Yield {
#
# VT: draws a counterclockwise 180 degree arc from -90 to +90 degree positions
#     (straight down to straight up) with centre = (xsize, ymark + 0.1 ft)
#     and radius = 0.1 ft
#
# the control points therefore are:
#   pt1 = (xsize + (4/3 * 0.1 ft), ymark) and pt2 = (xsize + (4/3 * 0.1 ft), ymark + 0.2 ft)
#
		{
		  "__xsize __ymark m"											# pt0
		  "__add(__xsize, __div(__mul(0.4, __loutf), 3)) __ymark"					# pt1
		  "__add(__xsize, __div(__mul(0.4, __loutf), 3)) __add(__ymark, __mul(0.2, __loutf))"	# pt2
		  "__xsize __add(__ymark, __mul(0.2, __loutf)) c S"						# pt3
		}
		@Graphic leftarrow
	    }

	  }
	}
    }

    def hookrightarrow
    {
	@HContract @VContract {
	  @BackEnd @Case {

	    PostScript @Yield {
		"0 ymark moveto 0 0.1 ft ymark add 0.1 ft -90 90 arcn stroke"
		@Graphic rightarrow
	    }

	    PDF @Yield {
#
# VT: draws a clockwise 180 degree arc from -90 to +90 degree positions
#     (straight down to straight up) with centre = (0, ymark + 0.1 ft)
#     and radius = 0.1 ft
#
# the control points therefore are:
#   pt1 = (-4/3 * 0.1 ft, ymark) and pt2 = (-4/3 * 0.1 ft, ymark + 0.2 ft)
#
		{
		  "0 __ymark m"										# pt0
		  "__div(__mul(-0.4, __loutf), 3) __ymark"					# pt1
		  "__div(__mul(-0.4, __loutf), 3) __add(__ymark, __mul(0.2, __loutf))"	# pt2
		  "0 __add(__ymark, __mul(0.2, __loutf)) c S"					# pt3
		}
		@Graphic rightarrow
	    }

	  }
	}
    }

    def @ClipToSize right x
    {
	@HContract @VContract
	  @BackEnd @Case {
	    PostScript @Yield {
		{
		"grestore newpath 0 0 moveto xsize 0 lineto xsize ysize lineto"
		"0 ysize lineto closepath clip gsave"
		} @Graphic x
	    }
	    PDF @Yield {
		"Q n 0 0 __xsize __ysize re W n q" @Graphic x
	    }
	  }
    }

    def @ClipAboveMark
	left amount
	right x
    {
	@ClipToSize { ^//{{amount}o} x }
    }

    def @ClipBelowMark
	left amount
	right x
    {
	@ClipToSize { x //{{amount}o} }
    }

    def leftharpoonup
    {
	0.04f @ClipBelowMark leftarrow
    }

    def rightharpoonup
    {
	0.04f @ClipBelowMark rightarrow
    }

    def leftharpoondown
    {
	0.02f @ClipAboveMark leftarrow
    }

    def rightharpoondown
    {
	0.02f @ClipAboveMark rightarrow
    }

    def rightleftharpoons
    {
	@HContract @VContract {
		rightharpoonup
		^//0.1fo
		 //0.1fo
		leftharpoondown
	}
    }

    def leadsto		{ @HContract { similar &0.4fo arrowright } }

    def uparrow		{ arrowup }
    def dbluparrow	{ arrowdblup }
    def downarrow	{ arrowdown }
    def dbldownarrow	{ arrowdbldown }
    def updownarrow	{ @HContract { arrowup &0io arrowdown } }
    def dblupdownarrow	{ @VContract { arrowdblup ^//0.2fo arrowdbldown } }
    def nearrow		{ 0.5w @VShift 0.5w @HShift  45d @Rotate arrowright }
    def searrow		{ 0.5w @VShift 0.5w @HShift 315d @Rotate arrowright }
    def swarrow		{ 0.5w @VShift 0.5w @HShift 225d @Rotate arrowright }
    def nwarrow		{ 0.5w @VShift 0.5w @HShift 135d @Rotate arrowright }


    ###################################################################
    #                                                                 #
    #   Other symbols taken from TeX.                                 #
    #                                                                 #
    ###################################################################

    def ldots { .       &0.3f .       &0.3f .			}
    def cdots { dotmath &0.3f dotmath &0.3f dotmath		}
    def vdots { @OneRow { dotmath ^/0.3f dotmath /0.3f dotmath } }
    def ddots { @OneCol @OneRow
	       {        dotmath
	         ^/0.3f |0.3f dotmath
                  /0.3f |     |0.3f dotmath
	       }
	      }


    ###################################################################
    #                                                                 #
    #   Symbols taken from eqn (Kernighan and Cherry 1975).           #
    #                                                                 #
    ###################################################################

    def del	{ gradient			}
    def grad	{ gradient			}
    def "..."	{ ellipsis			}
    def ",...,"	{ , ellipsis ``` ,		}
    def "'"	{ minute			}
    def "''"	{ minute minute			}
    def "'''"	{ minute minute minute		}
    def "''''"	{ minute minute minute minute	}
    def empty	{ emptyset			}



    ###################################################################
    #                                                                 #
    #   Miscellaneous                                                 #
    #                                                                 #
    ###################################################################

    def triangleup	{ 0.8f @Font triangle	}
    def triangledown	{ 180d @Rotate 0.8f @Font triangle	}

    ###################################################################
    #                                                                 #
    #   Symbols with parameters.                                      #
    #                                                                 #
    #   These symbols are essentially those of eqn, with some         #
    #   changes and additions.                                        #
    #                                                                 #
    ###################################################################

    def sup
	precedence 60
	associativity left
	left x
	named gap { @SupGap }
	right y
    {
	@HContract @VContract
	{          | 0.45w @VShift @Smaller @HSqueeze @VSqueeze y
	  ^/gap  x
	}
    }

    def sub
	precedence 60
	associativity left
	left x
	named gap { @SupGap }
	right y
    {
	@HContract @VContract
	{
	       # x
	       "." @KernShrink x
	  /gap    |  @Smaller @HSqueeze @VSqueeze y
	}
    }

    def tsub
	precedence 60
	associativity left
	left x
	named gap { @SupGap }
	right y
    {
	@HContract @VContract
	{
	       x
	  /gap    |  &0io 0.2f @HShift @Smaller @HSqueeze @VSqueeze y
	}
    }

    def supp
	precedence 60
	associativity left
	left x
	named gap { @SupGap }
	right y
    {
	@HContract @VContract
	{
	    { ^/gap x /gap } |  y
	}
    }

    def on
	precedence 61
	associativity left
	left x
	named gap { @SupGap }
	right y
    {
	@Smaller @HSqueeze @VSqueeze x ^/  /
	@Smaller @HSqueeze @VSqueeze y 
    }

    def ton
	precedence 61
	associativity left
	left x
	named gap { @SupGap }
	right y
    {
	@Smaller @HSqueeze @VSqueeze x ^/  /
	&0io 0.3f @HShift @Smaller @HSqueeze @VSqueeze y
    }

    def frac
	precedence 54
	associativity left
	left x
	named gap { 0.2f }
	right y
    {
	@HContract @VContract @Smaller @HSqueeze @VSqueeze
	{ 1w @VShift { x /gap } | fraction &0io | 0w @VShift { |gap y }
	}
    }

    def half { 1 frac 2 }
    def third { 1 frac 3 }

    def over
	precedence 54
	associativity left
	left x
	named gap { 0.2f }
	right y
    {  
	@HContract @VContract
	{          |0.5rt @OneCol @VSqueeze x
	  ^//gap   @HLine
	   //gap   |0.5rt @OneCol @VSqueeze @Strut y
	}
    }

    def from
	precedence 58
	associativity left
	left x
	named gap { @ThinGap  }
	named skew { 0c }
	right y
    {  
	@HContract @VContract
	{          |0.5rt x
	   //gap   |0.5rt &skew @Smaller @HSqueeze @VSqueeze y
	}
    }

    def to
	precedence 58
	associativity left
	left x
	named gap { @ThinGap  }
	named skew { 0c }
	right y
    {
	@HContract @VContract
	{          |0.5rt &skew @Smaller @HSqueeze @VSqueeze y
	  ^//gap   |0.5rt x
	}
    }

    def widefrom
	precedence 58
	associativity left
	left x
	named gap { @ThinGap  }
	right y
    {
	@HContract @VContract
	{
	    x //gap @HScale y
	}
    }

    def wideto
	precedence 58
	associativity left
	left x
	named gap { @ThinGap  }
	right y
    {
	@HContract @VContract
	{
	    @HScale y ^//gap x
	}
    }

    def dot
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x to gap { gap } skew { @SkewGap } .
    }

    def dotdot
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x to gap { gap } skew { @SkewGap } ..
    }

    def hat
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x to gap { gap } skew { @SkewGap } @Base "^"
    }

    def tilde
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x to gap { gap } skew { @SkewGap } @Base "~"
    }

    def vec
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x to gap { gap } skew { @SkewGap } arrowright
    }

    def dyad
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x to gap { gap } skew { @SkewGap } arrowboth
    }

    def overbar
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x wideto gap { gap } minus
    }

    def underbar
	precedence 62
	left x
	named gap { @ThinGap }
    {
	x widefrom gap { gap } minus
    }

    def sqrt
	precedence 56
	named gap { @ThinGap }
	right x
    {
	@BackEnd @Case {
	  PostScript @Yield {
	    @HContract @VContract
		{
		    @VScale surd | @OneRow
		    {
			@HLine line { "0.03 ft setlinewidth 2 setlinecap" }
			^//gap  |gap  @VSqueeze @Strut x # //gap
		    }
		}
	  }
	  PDF @Yield {
		@HContract @VContract
		{
#
#	VT: this PDF is correct but it renders badly in Acrobat (?problem
#	    with scaling by fractional factors)
#	In other words, the @VScale value comes through correctly but it
#	    looks ugly; GhostScript's translation actually expands the
#	    "draw surd" instruction into raw moveto's and lineto's which
#	    it presumably gets from the font's definition of the glyph!
#
		    @VScale surd | @OneRow
		    {
			@HLine line { "__mul(__loutf, 0.03) w 2 J" }
			^//gap  |gap  @VSqueeze @Strut x # //gap
		    }
		}
	  }
	}
    }

    def root
	precedence 56
	left x
	right y
    {
	"" sup x &0io sqrt y
    }

    def zroot
	precedence 56
	left x
	right y
    {
	def zsup right x { "+0.3f" @VShift 0.5f @Font @Space x }

	"-0.4f" @HShift { 1w @HShift { zsup x } }  &0co sqrt y
    }

    def above
	precedence 52
	left x
	named gap { @RowGap }
	right y
    {
	|0.5rt x //gap |0.5rt y
    }

    def labove
	precedence 52
	left x
	named gap { @RowGap }
	right y
    {
	x //gap y
    }

    def cabove
	precedence 52
	left x
	named gap { @RowGap }
	right y
    {
	|0.5rt x //gap |0.5rt y
    }

    def rabove
	precedence 52
	left x
	named gap { @RowGap }
	right y
    {
	|1rt x //gap |1rt y
    }

    def mabove
	precedence 52
	left x
	named gap { @RowGap }
	right y
    {
	x /gap y
    }

    def nextcol
	precedence 50
	left x
	named gap { @ColGap }
	right y
    {
	x |gap y
    }

    export row axisrow col lcol ccol rcol mcol
    def matrix
	precedence 100
	named gap { @MedGap }
	named strut
	    named no  { }
	    named No  { }
	    named yes { 0.5f }
	    named Yes { 0.5f }
	{ No }
	named atleft {}
	named atright {}
	named userow { No }
	named shiftdelim { Yes }
	body x
    { 
	def @Strut
	{
	    strut @Case {
		"" @Yield {}
		else @Yield { @OneRow { strut @High ^/ strut @High } }
	    }
	}

	def newrow
	    precedence 50
	    associativity left
	    left x
	    right y
	{
	    x @Case {
		"" @Yield { y | @Strut }
		else @Yield { x /@RowGap y | @Strut }
	    }
	}

	macro row { newrow "" }

	def newaxisrow
	    precedence 50
	    associativity left
	    left x
	    right y
	{
	    x @Case {
		"" @Yield { y | @Strut }
		else @Yield { x ^/@RowGap y | @Strut }
	    }
	}

	macro axisrow { newaxisrow "" }

	def col
	    precedence 52
	    associativity left
	    left x
	    named indent { 0.5rt }
	    right y
	{
	    x @Case {
		""   @Yield {            &indent @OneCol y }
		else @Yield { x |@ColGap &indent @OneCol y }
	    }
	}

	def lcol
	    precedence 52
	    associativity left
	    left x
	    right y
	{
	    x col indent { 0i } y
	}

	def ccol
	    precedence 52
	    associativity left
	    left x
	    right y
	{
	    x col indent { 0.5rt } y
	}

	def rcol
	    precedence 52
	    associativity left
	    left x
	    right y
	{
	    x col indent { 1rt } y
	}

	def mcol
	    precedence 52
	    associativity left
	    left x
	    right y
	{
	    x @Case {
		""   @Yield {            @OneCol y }
		else @Yield { x |@ColGap @OneCol y }
	    }
	}

	def delim right x
	{
	    x @Case
	    {
		""   @Yield @Null
		else @Yield
		{
		    shiftdelim @Case {
		    { Yes yes } @Yield { @VScale x }
		    else        @Yield { @VCover x }
		    }
		}
	    }
	}

	@HContract @VContract {
	    delim atleft &@ThinGap
	    userow @Case {
		{Yes yes} @Yield @HContract @VContract {^//gap @OneRow x //gap}
		else      @Yield vctr @HContract @VContract { //gap x //gap }
	    }
	    &@ThinGap delim atright
	}
    }

    macro pmatrix  { matrix atleft { "1.5f" @Font ( } atright { "1.5f" @Font ) }}
    macro bmatrix  { matrix atleft { blbrack } atright { brbrack } }
    macro brmatrix { matrix atleft { blbrace } atright { brbrace } }
    macro fmatrix  { matrix atleft { blfloor } atright { brfloor } }
    macro cmatrix  { matrix atleft { blceil  } atright { brceil  } }
    macro amatrix  { matrix atleft { blangle } atright { brangle } }

    ###################################################################
    #                                                                 #
    #   Group 5 (digits)                                              #
    #                                                                 #
    ###################################################################

    def "0" { zero            }
    def "1" { one             }
    def "2" { two             }
    def "3" { three           }
    def "4" { four            }
    def "5" { five            }
    def "6" { six             }
    def "7" { seven           }
    def "8" { eight           }
    def "9" { nine            }


    { Slope xheight2mark nostrut } @Font { separate @SpaceGap } @Space
    initzunit @ZUnit 1f @YUnit @Body

@End @Eq                  

macro @E { @OneCol @Eq initzunit { 0.7f } }