2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: calculat.h /main/3 1995/11/08 11:15:08 rswiston $ */
24 /* this file contains special character expansions for various characters
25 * in Dot Matrix (computer), Menu Label (ml), and White Menu Label (wl)
26 * arrays are: ccompspec[] --> computer specials
27 * cmenlspec[] --> menu label specials
28 * cwmenlspec[]--> white menu label specials
31 /* special computer expansions for dot matrix in calculator style */
32 EXTERN char *ccompspec[256]
35 /* Char Name TeX Expansion */
73 /* 36: $ */ "{\\dollar}",
97 /* 60: < */ "{\\tendmb\\char'045}",
99 /* 62: > */ "{\\tendmb\\char'046}",
129 /* 92: \\ */ "{\\tendmb\\char'047}",
131 /* 94: ^ */ "{\\tendmb\\char'064}",
132 /* 95: _ */ "{\\tendmb\\char'066}",
160 /* 123: { */ "{\\tendmb\\char'070}",
161 /* 124: | */ "{\\tendmb\\char'104}",
162 /* 125: } */ "{\\tendmb\\char'107}",
163 /* 126: ~ */ "{\\tendmb\\char'116}",
165 /* 128: undefined */ 0,
166 /* 129: undefined */ 0,
167 /* 130: undefined */ 0,
168 /* 131: undefined */ 0,
169 /* 132: undefined */ 0,
170 /* 133: undefined */ 0,
171 /* 134: undefined */ 0,
172 /* 135: undefined */ 0,
173 /* 136: undefined */ 0,
174 /* 137: undefined */ 0,
175 /* 138: undefined */ 0,
176 /* 139: undefined */ 0,
177 /* 140: undefined */ 0,
178 /* 141: undefined */ 0,
179 /* 142: undefined */ 0,
180 /* 143: undefined */ 0,
181 /* 144: undefined */ 0,
182 /* 145: undefined */ 0,
183 /* 146: undefined */ 0,
184 /* 147: undefined */ 0,
185 /* 148: undefined */ 0,
186 /* 149: undefined */ 0,
187 /* 150: undefined */ 0,
188 /* 151: undefined */ 0,
189 /* 152: undefined */ 0,
190 /* 153: undefined */ 0,
191 /* 154: undefined */ 0,
192 /* 155: undefined */ 0,
193 /* 156: undefined */ 0,
194 /* 157: undefined */ 0,
195 /* 158: undefined */ 0,
196 /* 159: undefined */ 0,
197 /* 160: undefined */ 0,
198 /* 161: A grave */ "{\\tendmc\\char'041}",
199 /* 162: A circumflex */ "{\\tendmc\\char'042}",
200 /* 163: E grave */ "{\\tendmc\\char'043}",
201 /* 164: E circumflex */ "{\\tendmc\\char'044}",
202 /* 165: E dieresis */ "{\\tendmc\\char'045}",
203 /* 166: I circumflex */ "{\\tendmc\\char'046}",
204 /* 167: I dieresis */ "{\\tendmc\\char'047}",
205 /* 168: acute accent */ "{\\tendma\\char'023}",
206 /* 169: grave accent */ "{\\tendma\\char'022}",
207 /* 170: circumflex */ "{\\tendma\\char'136}",
208 /* 171: dieresis */ "{\\tendma\\char'177}",
209 /* 172: tilde */ "{\\tendma\\char'176}",
210 /* 173: U grave */ "{\\tendmc\\char'050}",
211 /* 174: U circumflex */ "{\\tendmc\\char'051}",
212 /* 175: Italian Lira */ 0,
213 /* 176: overbar */ 0,
214 /* 177: Y acute */ "{\\tendmc\\char'053}",
215 /* 178: y acute */ "{\\tendmc\\char'054}",
217 /* 180: C cedilla */ "{\\tendma\\char'030}",
218 /* 181: c cedilla */ "{\\tendma\\char'030}",
219 /* 182: N tilde */ "{\\tendmc\\char'055}",
220 /* 183: n tilde */ "{\\tendmc\\char'056}",
221 /* 184: inverted exclamation mark */ "{\\tendma\\char'074}",
222 /* 185: inverted question mark */ "{\\tendma\\char'076}",
223 /* 186: currency sign */ 0,
224 /* 187: pound sterling */ 0,
226 /* 189: Section sign */ 0,
228 /* 191: Cent sign */ 0,
229 /* 192: a circumflex */ "{\\tendmc\\char'063}",
230 /* 193: e circumflex */ "{\\tendmc\\char'064}",
231 /* 194: o circumflex */ "{\\tendmc\\char'065}",
232 /* 195: u circumflex */ "{\\tendmc\\char'066}",
233 /* 196: a acute */ "{\\tendmc\\char'067}",
234 /* 197: e acute */ "{\\tendmc\\char'070}",
235 /* 198: o acute */ "{\\tendmc\\char'071}",
236 /* 199: u acute */ "{\\tendmc\\char'072}",
237 /* 200: a grave */ "{\\tendmc\\char'073}",
238 /* 201: e grave */ "{\\tendmc\\char'074}",
239 /* 202: o grave */ "{\\tendmc\\char'075}",
240 /* 203: u grave */ "{\\tendmc\\char'076}",
241 /* 204: a dieresis */ "{\\tendmc\\char'077}",
242 /* 205: e dieresis */ "{\\tendmc\\char'100}",
243 /* 206: o dieresis */ "{\\tendmc\\char'101}",
244 /* 207: u dieresis */ "{\\tendmc\\char'102}",
245 /* 208: A angstrom */ "{\\tendmc\\char'103}",
246 /* 209: i circumflex */ "{\\tendmc\\char'104}",
247 /* 210: O slash */ "{\\tendma\\char'037}",
248 /* 211: AE ligature */ "{\\tendma\\char'035}",
249 /* 212: a angstrom */ "{\\tendmc\\char'105}",
250 /* 213: i acute */ "{\\tendmc\\char'106}",
251 /* 214: o slash */ "{\\tendma\\char'034}",
252 /* 215: ae ligature */ "{\\tendma\\char'032}",
253 /* 216: A dieresis */ "{\\tendmc\\char'107}",
254 /* 217: i grave */ "{\\tendmc\\char'110}",
255 /* 218: O dieresis */ "{\\tendmc\\char'111}",
256 /* 219: U dieresis */ "{\\tendmc\\char'112}",
257 /* 220: E acute */ "{\\tendmc\\char'113}",
258 /* 221: i dieresis */ "{\\tendmc\\char'114}",
259 /* 222: SS ligature */ "{\\tendma\\char'031}",
260 /* 223: O circumflex */ "{\\tendmc\\char'115}",
261 /* 224: A acute */ "{\\tendmc\\char'116}",
262 /* 225: A tilde */ "{\\tendmc\\char'117}",
263 /* 226: a tilde */ "{\\tendmc\\char'120}",
266 /* 229: I acute */ "{\\tendmc\\char'121}",
267 /* 230: I grave */ "{\\tendmc\\char'122}",
268 /* 231: O acute */ "{\\tendmc\\char'123}",
269 /* 232: O grave */ "{\\tendmc\\char'124}",
270 /* 233: O tilde */ "{\\tendmc\\char'125}",
271 /* 234: o tilde */ "{\\tendmc\\char'126}",
272 /* 235: S caron */ "{\\tendmc\\char'127}",
273 /* 236: s caron */ "{\\tendmc\\char'130}",
274 /* 237: U acute */ "{\\tendmc\\char'131}",
275 /* 238: Y dieresis */ "{\\tendmc\\char'132}",
276 /* 239: y dieresis */ "{\\tendmc\\char'133}",
279 /* 242: undefined */ 0,
281 /* 244: paragraph sign */ 0,
282 /* 245: fraction 3/4 */ 0,
283 /* 246: long dash */ 0,
284 /* 247: fraction 1/4 */ 0,
285 /* 248: fraction 1/2 */ 0,
286 /* 249: Female ordinal */ 0,
287 /* 250: Male ordinal */ 0,
288 /* 251: French double open quote */ 0,
289 /* 252: Solid square */ 0,
290 /* 253: French double close quote */ 0,
291 /* 254: Plus over minus sign */ 0,
292 /* 255: undefined */ 0
297 /* special menu label character expansions */
298 EXTERN char *cmenlspec[256]
301 /* Char Name TeX Expansion */
335 /* 32: SP */ "{\\tenmlb\\char'146}",
339 /* 36: $ */ "{\\dollar}",
363 /* 60: < */ "{\\tenmlb\\char'045}",
365 /* 62: > */ "{\\tenmlb\\char'046}",
395 /* 92: \\ */ "{\\tenmlb\\char'047}",
397 /* 94: ^ */ "{\\tenmlb\\char'064}",
398 /* 95: _ */ "{\\tenmlb\\char'066}",
426 /* 123: { */ "{\\tenmlb\\char'070}",
427 /* 124: | */ "{\\tenmlb\\char'104}",
428 /* 125: } */ "{\\tenmlb\\char'107}",
429 /* 126: ~ */ "{\\tenmlb\\char'116}",
431 /* 128: undefined */ 0,
432 /* 129: undefined */ 0,
433 /* 130: undefined */ 0,
434 /* 131: undefined */ 0,
435 /* 132: undefined */ 0,
436 /* 133: undefined */ 0,
437 /* 134: undefined */ 0,
438 /* 135: undefined */ 0,
439 /* 136: undefined */ 0,
440 /* 137: undefined */ 0,
441 /* 138: undefined */ 0,
442 /* 139: undefined */ 0,
443 /* 140: undefined */ 0,
444 /* 141: undefined */ 0,
445 /* 142: undefined */ 0,
446 /* 143: undefined */ 0,
447 /* 144: undefined */ 0,
448 /* 145: undefined */ 0,
449 /* 146: undefined */ 0,
450 /* 147: undefined */ 0,
451 /* 148: undefined */ 0,
452 /* 149: undefined */ 0,
453 /* 150: undefined */ 0,
454 /* 151: undefined */ 0,
455 /* 152: undefined */ 0,
456 /* 153: undefined */ 0,
457 /* 154: undefined */ 0,
458 /* 155: undefined */ 0,
459 /* 156: undefined */ 0,
460 /* 157: undefined */ 0,
461 /* 158: undefined */ 0,
462 /* 159: undefined */ 0,
463 /* 160: undefined */ 0,
464 /* 161: A grave */ "{\\tenmlc\\char'041}",
465 /* 162: A circumflex */ "{\\tenmlc\\char'042}",
466 /* 163: E grave */ "{\\tenmlc\\char'043}",
467 /* 164: E circumflex */ "{\\tenmlc\\char'044}",
468 /* 165: E dieresis */ "{\\tenmlc\\char'045}",
469 /* 166: I circumflex */ "{\\tenmlc\\char'046}",
470 /* 167: I dieresis */ "{\\tenmlc\\char'047}",
471 /* 168: acute accent */ "{\\tenmla\\char'023}",
472 /* 169: grave accent */ "{\\tenmla\\char'022}",
473 /* 170: circumflex */ "{\\tenmla\\char'136}",
474 /* 171: dieresis */ "{\\tenmla\\char'177}",
475 /* 172: tilde */ "{\\tenmla\\char'176}",
476 /* 173: U grave */ "{\\tenmlc\\char'050}",
477 /* 174: U circumflex */ "{\\tenmlc\\char'051}",
478 /* 175: Italian Lira */ 0,
479 /* 176: overbar */ 0,
480 /* 177: Y acute */ "{\\tenmlc\\char'053}",
481 /* 178: y acute */ "{\\tenmlc\\char'054}",
483 /* 180: C cedilla */ "{\\tenmla\\char'030}",
484 /* 181: c cedilla */ "{\\tenmla\\char'030}",
485 /* 182: N tilde */ "{\\tenmlc\\char'055}",
486 /* 183: n tilde */ "{\\tenmlc\\char'056}",
487 /* 184: inverted exclamation mark */ "{\\tenmla\\char'074}",
488 /* 185: inverted question mark */ "{\\tenmla\\char'076}",
489 /* 186: currency sign */ 0,
490 /* 187: pound sterling */ 0,
492 /* 189: Section sign */ 0,
494 /* 191: Cent sign */ 0,
495 /* 192: a circumflex */ "{\\tenmlc\\char'063}",
496 /* 193: e circumflex */ "{\\tenmlc\\char'064}",
497 /* 194: o circumflex */ "{\\tenmlc\\char'065}",
498 /* 195: u circumflex */ "{\\tenmlc\\char'066}",
499 /* 196: a acute */ "{\\tenmlc\\char'067}",
500 /* 197: e acute */ "{\\tenmlc\\char'070}",
501 /* 198: o acute */ "{\\tenmlc\\char'071}",
502 /* 199: u acute */ "{\\tenmlc\\char'072}",
503 /* 200: a grave */ "{\\tenmlc\\char'073}",
504 /* 201: e grave */ "{\\tenmlc\\char'074}",
505 /* 202: o grave */ "{\\tenmlc\\char'075}",
506 /* 203: u grave */ "{\\tenmlc\\char'076}",
507 /* 204: a dieresis */ "{\\tenmlc\\char'077}",
508 /* 205: e dieresis */ "{\\tenmlc\\char'100}",
509 /* 206: o dieresis */ "{\\tenmlc\\char'101}",
510 /* 207: u dieresis */ "{\\tenmlc\\char'102}",
511 /* 208: A angstrom */ "{\\tenmlc\\char'103}",
512 /* 209: i circumflex */ "{\\tenmlc\\char'104}",
513 /* 210: O slash */ "{\\tenmla\\char'037}",
514 /* 211: AE ligature */ "{\\tenmla\\char'035}",
515 /* 212: a angstrom */ "{\\tenmlc\\char'105}",
516 /* 213: i acute */ "{\\tenmlc\\char'106}",
517 /* 214: o slash */ "{\\tenmla\\char'034}",
518 /* 215: ae ligature */ "{\\tenmla\\char'032}",
519 /* 216: A dieresis */ "{\\tenmlc\\char'107}",
520 /* 217: i grave */ "{\\tenmlc\\char'110}",
521 /* 218: O dieresis */ "{\\tenmlc\\char'111}",
522 /* 219: U dieresis */ "{\\tenmlc\\char'112}",
523 /* 220: E acute */ "{\\tenmlc\\char'113}",
524 /* 221: i dieresis */ "{\\tenmlc\\char'114}",
525 /* 222: SS ligature */ "{\\tenmla\\char'031}",
526 /* 223: O circumflex */ "{\\tenmlc\\char'115}",
527 /* 224: A acute */ "{\\tenmlc\\char'116}",
528 /* 225: A tilde */ "{\\tenmlc\\char'117}",
529 /* 226: a tilde */ "{\\tenmlc\\char'120}",
532 /* 229: I acute */ "{\\tenmlc\\char'121}",
533 /* 230: I grave */ "{\\tenmlc\\char'122}",
534 /* 231: O acute */ "{\\tenmlc\\char'123}",
535 /* 232: O grave */ "{\\tenmlc\\char'124}",
536 /* 233: O tilde */ "{\\tenmlc\\char'125}",
537 /* 234: o tilde */ "{\\tenmlc\\char'126}",
538 /* 235: S caron */ "{\\tenmlc\\char'127}",
539 /* 236: s caron */ "{\\tenmlc\\char'130}",
540 /* 237: U acute */ "{\\tenmlc\\char'131}",
541 /* 238: Y dieresis */ "{\\tenmlc\\char'132}",
542 /* 239: y dieresis */ "{\\tenmlc\\char'133}",
545 /* 242: undefined */ 0,
547 /* 244: paragraph sign */ 0,
548 /* 245: fraction 3/4 */ 0,
549 /* 246: long dash */ 0,
550 /* 247: fraction 1/4 */ 0,
551 /* 248: fraction 1/2 */ 0,
552 /* 249: Female ordinal */ 0,
553 /* 250: Male ordinal */ 0,
554 /* 251: French double open quote */ 0,
555 /* 252: Solid square */ 0,
556 /* 253: French double close quote */ 0,
557 /* 254: Plus over minus sign */ 0,
558 /* 255: undefined */ 0
563 /* white menu label special character expansions */
564 EXTERN char *cwmenlspec[256]
567 /* Char Name TeX Expansion */
601 /* 32: SP */ "{\\tenwlb\\char'146}",
605 /* 36: $ */ "{\\dollar}",
629 /* 60: < */ "{\\tenwlb\\char'045}",
631 /* 62: > */ "{\\tenwlb\\char'046}",
661 /* 92: \\ */ "{\\tenwlb\\char'047}",
663 /* 94: ^ */ "{\\tenwlb\\char'064}",
664 /* 95: _ */ "{\\tenwlb\\char'066}",
692 /* 123: { */ "{\\tenwlb\\char'070}",
693 /* 124: | */ "{\\tenwlb\\char'104}",
694 /* 125: } */ "{\\tenwlb\\char'107}",
695 /* 126: ~ */ "{\\tenwlb\\char'116}",
697 /* 128: undefined */ 0,
698 /* 129: undefined */ 0,
699 /* 130: undefined */ 0,
700 /* 131: undefined */ 0,
701 /* 132: undefined */ 0,
702 /* 133: undefined */ 0,
703 /* 134: undefined */ 0,
704 /* 135: undefined */ 0,
705 /* 136: undefined */ 0,
706 /* 137: undefined */ 0,
707 /* 138: undefined */ 0,
708 /* 139: undefined */ 0,
709 /* 140: undefined */ 0,
710 /* 141: undefined */ 0,
711 /* 142: undefined */ 0,
712 /* 143: undefined */ 0,
713 /* 144: undefined */ 0,
714 /* 145: undefined */ 0,
715 /* 146: undefined */ 0,
716 /* 147: undefined */ 0,
717 /* 148: undefined */ 0,
718 /* 149: undefined */ 0,
719 /* 150: undefined */ 0,
720 /* 151: undefined */ 0,
721 /* 152: undefined */ 0,
722 /* 153: undefined */ 0,
723 /* 154: undefined */ 0,
724 /* 155: undefined */ 0,
725 /* 156: undefined */ 0,
726 /* 157: undefined */ 0,
727 /* 158: undefined */ 0,
728 /* 159: undefined */ 0,
729 /* 160: undefined */ 0,
730 /* 161: A grave */ "{\\tenwlc\\char'041}",
731 /* 162: A circumflex */ "{\\tenwlc\\char'042}",
732 /* 163: E grave */ "{\\tenwlc\\char'043}",
733 /* 164: E circumflex */ "{\\tenwlc\\char'044}",
734 /* 165: E dieresis */ "{\\tenwlc\\char'045}",
735 /* 166: I circumflex */ "{\\tenwlc\\char'046}",
736 /* 167: I dieresis */ "{\\tenwlc\\char'047}",
737 /* 168: acute accent */ "{\\tenwla\\char'023}",
738 /* 169: grave accent */ "{\\tenwla\\char'022}",
739 /* 170: circumflex */ "{\\tenwla\\char'136}",
740 /* 171: dieresis */ "{\\tenwla\\char'177}",
741 /* 172: tilde */ "{\\tenwla\\char'176}",
742 /* 173: U grave */ "{\\tenwlc\\char'050}",
743 /* 174: U circumflex */ "{\\tenwlc\\char'051}",
744 /* 175: Italian Lira */ 0,
745 /* 176: overbar */ 0,
746 /* 177: Y acute */ "{\\tenwlc\\char'053}",
747 /* 178: y acute */ "{\\tenwlc\\char'054}",
749 /* 180: C cedilla */ "{\\tenwla\\char'030}",
750 /* 181: c cedilla */ "{\\tenwla\\char'030}",
751 /* 182: N tilde */ "{\\tenwlc\\char'055}",
752 /* 183: n tilde */ "{\\tenwlc\\char'056}",
753 /* 184: inverted exclamation mark */ "{\\tenwla\\char'074}",
754 /* 185: inverted question mark */ "{\\tenwla\\char'076}",
755 /* 186: currency sign */ 0,
756 /* 187: pound sterling */ 0,
758 /* 189: Section sign */ 0,
760 /* 191: Cent sign */ 0,
761 /* 192: a circumflex */ "{\\tenwlc\\char'063}",
762 /* 193: e circumflex */ "{\\tenwlc\\char'064}",
763 /* 194: o circumflex */ "{\\tenwlc\\char'065}",
764 /* 195: u circumflex */ "{\\tenwlc\\char'066}",
765 /* 196: a acute */ "{\\tenwlc\\char'067}",
766 /* 197: e acute */ "{\\tenwlc\\char'070}",
767 /* 198: o acute */ "{\\tenwlc\\char'071}",
768 /* 199: u acute */ "{\\tenwlc\\char'072}",
769 /* 200: a grave */ "{\\tenwlc\\char'073}",
770 /* 201: e grave */ "{\\tenwlc\\char'074}",
771 /* 202: o grave */ "{\\tenwlc\\char'075}",
772 /* 203: u grave */ "{\\tenwlc\\char'076}",
773 /* 204: a dieresis */ "{\\tenwlc\\char'077}",
774 /* 205: e dieresis */ "{\\tenwlc\\char'100}",
775 /* 206: o dieresis */ "{\\tenwlc\\char'101}",
776 /* 207: u dieresis */ "{\\tenwlc\\char'102}",
777 /* 208: A angstrom */ "{\\tenwlc\\char'103}",
778 /* 209: i circumflex */ "{\\tenwlc\\char'104}",
779 /* 210: O slash */ "{\\tenwla\\char'037}",
780 /* 211: AE ligature */ "{\\tenwla\\char'035}",
781 /* 212: a angstrom */ "{\\tenwlc\\char'105}",
782 /* 213: i acute */ "{\\tenwlc\\char'106}",
783 /* 214: o slash */ "{\\tenwla\\char'034}",
784 /* 215: ae ligature */ "{\\tenwla\\char'032}",
785 /* 216: A dieresis */ "{\\tenwlc\\char'107}",
786 /* 217: i grave */ "{\\tenwlc\\char'110}",
787 /* 218: O dieresis */ "{\\tenwlc\\char'111}",
788 /* 219: U dieresis */ "{\\tenwlc\\char'112}",
789 /* 220: E acute */ "{\\tenwlc\\char'113}",
790 /* 221: i dieresis */ "{\\tenwlc\\char'114}",
791 /* 222: SS ligature */ "{\\tenwla\\char'031}",
792 /* 223: O circumflex */ "{\\tenwlc\\char'115}",
793 /* 224: A acute */ "{\\tenwlc\\char'116}",
794 /* 225: A tilde */ "{\\tenwlc\\char'117}",
795 /* 226: a tilde */ "{\\tenwlc\\char'120}",
798 /* 229: I acute */ "{\\tenwlc\\char'121}",
799 /* 230: I grave */ "{\\tenwlc\\char'122}",
800 /* 231: O acute */ "{\\tenwlc\\char'123}",
801 /* 232: O grave */ "{\\tenwlc\\char'124}",
802 /* 233: O tilde */ "{\\tenwlc\\char'125}",
803 /* 234: o tilde */ "{\\tenwlc\\char'126}",
804 /* 235: S caron */ "{\\tenwlc\\char'127}",
805 /* 236: s caron */ "{\\tenwlc\\char'130}",
806 /* 237: U acute */ "{\\tenwlc\\char'131}",
807 /* 238: Y dieresis */ "{\\tenwlc\\char'132}",
808 /* 239: y dieresis */ "{\\tenwlc\\char'133}",
811 /* 242: undefined */ 0,
813 /* 244: paragraph sign */ 0,
814 /* 245: fraction 3/4 */ 0,
815 /* 246: long dash */ 0,
816 /* 247: fraction 1/4 */ 0,
817 /* 248: fraction 1/2 */ 0,
818 /* 249: Female ordinal */ 0,
819 /* 250: Male ordinal */ 0,
820 /* 251: French double open quote */ 0,
821 /* 252: Solid square */ 0,
822 /* 253: French double close quote */ 0,
823 /* 254: Plus over minus sign */ 0,
824 /* 255: undefined */ 0