1: #ifndef lint 2: static char sccsid[] = "@(#)ntab.c 4.1 6/7/82"; 3: #endif lint 4: 5: #define BYTE 8 6: #define PAIR(A,B) (A|(B<<BYTE)) 7: /* 8: character name tables 9: modified for BTL special font version 4 10: and Commercial II 11: */ 12: 13: 14: int chtab [] = { 15: PAIR('h','y'), 0200, /*hyphen*/ 16: PAIR('b','u'), 0201, /*bullet*/ 17: PAIR('s','q'), 0202, /*square*/ 18: PAIR('e','m'), 0203, /*3/4em*/ 19: PAIR('r','u'), 0204, /*rule*/ 20: PAIR('1','4'), 0205, /*1/4*/ 21: PAIR('1','2'), 0206, /*1/2*/ 22: PAIR('3','4'), 0207, /*3/4*/ 23: PAIR('m','i'), 0302, /*equation minus*/ 24: PAIR('f','i'), 0211, /*fi*/ 25: PAIR('f','l'), 0212, /*fl*/ 26: PAIR('f','f'), 0213, /*ff*/ 27: PAIR('F','i'), 0214, /*ffi*/ 28: PAIR('F','l'), 0215, /*ffl*/ 29: PAIR('d','e'), 0216, /*degree*/ 30: PAIR('d','g'), 0217, /*dagger*/ 31: PAIR('s','c'), 0220, /*section*/ 32: PAIR('f','m'), 0221, /*foot mark*/ 33: PAIR('a','a'), 0222, /*acute accent*/ 34: PAIR('g','a'), 0223, /*grave accent*/ 35: PAIR('u','l'), 0224, /*underrule*/ 36: PAIR('s','l'), 0225, /*slash (longer)*/ 37: PAIR('*','a'), 0230, /*alpha*/ 38: PAIR('*','b'), 0231, /*beta*/ 39: PAIR('*','g'), 0232, /*gamma*/ 40: PAIR('*','d'), 0233, /*delta*/ 41: PAIR('*','e'), 0234, /*epsilon*/ 42: PAIR('*','z'), 0235, /*zeta*/ 43: PAIR('*','y'), 0236, /*eta*/ 44: PAIR('*','h'), 0237, /*theta*/ 45: PAIR('*','i'), 0240, /*iota*/ 46: PAIR('*','k'), 0241, /*kappa*/ 47: PAIR('*','l'), 0242, /*lambda*/ 48: PAIR('*','m'), 0243, /*mu*/ 49: PAIR('*','n'), 0244, /*nu*/ 50: PAIR('*','c'), 0245, /*xi*/ 51: PAIR('*','o'), 0246, /*omicron*/ 52: PAIR('*','p'), 0247, /*pi*/ 53: PAIR('*','r'), 0250, /*rho*/ 54: PAIR('*','s'), 0251, /*sigma*/ 55: PAIR('*','t'), 0252, /*tau*/ 56: PAIR('*','u'), 0253, /*upsilon*/ 57: PAIR('*','f'), 0254, /*phi*/ 58: PAIR('*','x'), 0255, /*chi*/ 59: PAIR('*','q'), 0256, /*psi*/ 60: PAIR('*','w'), 0257, /*omega*/ 61: PAIR('*','A'), 0101, /*Alpha*/ 62: PAIR('*','B'), 0102, /*Beta*/ 63: PAIR('*','G'), 0260, /*Gamma*/ 64: PAIR('*','D'), 0261, /*Delta*/ 65: PAIR('*','E'), 0105, /*Epsilon*/ 66: PAIR('*','Z'), 0132, /*Zeta*/ 67: PAIR('*','Y'), 0110, /*Eta*/ 68: PAIR('*','H'), 0262, /*Theta*/ 69: PAIR('*','I'), 0111, /*Iota*/ 70: PAIR('*','K'), 0113, /*Kappa*/ 71: PAIR('*','L'), 0263, /*Lambda*/ 72: PAIR('*','M'), 0115, /*Mu*/ 73: PAIR('*','N'), 0116, /*Nu*/ 74: PAIR('*','C'), 0264, /*Xi*/ 75: PAIR('*','O'), 0117, /*Omicron*/ 76: PAIR('*','P'), 0265, /*Pi*/ 77: PAIR('*','R'), 0120, /*Rho*/ 78: PAIR('*','S'), 0266, /*Sigma*/ 79: PAIR('*','T'), 0124, /*Tau*/ 80: PAIR('*','U'), 0270, /*Upsilon*/ 81: PAIR('*','F'), 0271, /*Phi*/ 82: PAIR('*','X'), 0130, /*Chi*/ 83: PAIR('*','Q'), 0272, /*Psi*/ 84: PAIR('*','W'), 0273, /*Omega*/ 85: PAIR('s','r'), 0274, /*square root*/ 86: PAIR('t','s'), 0275, /*terminal sigma*/ 87: PAIR('r','n'), 0276, /*root en*/ 88: PAIR('>','='), 0277, /*>=*/ 89: PAIR('<','='), 0300, /*<=*/ 90: PAIR('=','='), 0301, /*identically equal*/ 91: PAIR('~','='), 0303, /*approx =*/ 92: PAIR('a','p'), 0304, /*approximates*/ 93: PAIR('!','='), 0305, /*not equal*/ 94: PAIR('-','>'), 0306, /*right arrow*/ 95: PAIR('<','-'), 0307, /*left arrow*/ 96: PAIR('u','a'), 0310, /*up arrow*/ 97: PAIR('d','a'), 0311, /*down arrow*/ 98: PAIR('e','q'), 0312, /*equation equal*/ 99: PAIR('m','u'), 0313, /*multiply*/ 100: PAIR('d','i'), 0314, /*divide*/ 101: PAIR('+','-'), 0315, /*plus-minus*/ 102: PAIR('c','u'), 0316, /*cup (union)*/ 103: PAIR('c','a'), 0317, /*cap (intersection)*/ 104: PAIR('s','b'), 0320, /*subset of*/ 105: PAIR('s','p'), 0321, /*superset of*/ 106: PAIR('i','b'), 0322, /*improper subset*/ 107: PAIR('i','p'), 0323, /* " superset*/ 108: PAIR('i','f'), 0324, /*infinity*/ 109: PAIR('p','d'), 0325, /*partial derivative*/ 110: PAIR('g','r'), 0326, /*gradient*/ 111: PAIR('n','o'), 0327, /*not*/ 112: PAIR('i','s'), 0330, /*integral sign*/ 113: PAIR('p','t'), 0331, /*proportional to*/ 114: PAIR('e','s'), 0332, /*empty set*/ 115: PAIR('m','o'), 0333, /*member of*/ 116: PAIR('p','l'), 0334, /*equation plus*/ 117: PAIR('r','g'), 0335, /*registered*/ 118: PAIR('c','o'), 0336, /*copyright*/ 119: PAIR('b','r'), 0337, /*box vert rule*/ 120: PAIR('c','t'), 0340, /*cent sign*/ 121: PAIR('d','d'), 0341, /*dbl dagger*/ 122: PAIR('r','h'), 0342, /*right hand*/ 123: PAIR('l','h'), 0343, /*left hand*/ 124: PAIR('*','*'), 0344, /*math * */ 125: PAIR('b','s'), 0345, /*bell system sign*/ 126: PAIR('o','r'), 0346, /*or*/ 127: PAIR('c','i'), 0347, /*circle*/ 128: PAIR('l','t'), 0350, /*left top (of big curly)*/ 129: PAIR('l','b'), 0351, /*left bottom*/ 130: PAIR('r','t'), 0352, /*right top*/ 131: PAIR('r','b'), 0353, /*right bot*/ 132: PAIR('l','k'), 0354, /*left center of big curly bracket*/ 133: PAIR('r','k'), 0355, /*right center of big curly bracket*/ 134: PAIR('b','v'), 0356, /*bold vertical*/ 135: PAIR('l','f'), 0357, /*left floor (left bot of big sq bract)*/ 136: PAIR('r','f'), 0360, /*right floor (rb of ")*/ 137: PAIR('l','c'), 0361, /*left ceiling (lt of ")*/ 138: PAIR('r','c'), 0362, /*right ceiling (rt of ")*/ 139: 0,0};