Using Waterloo SCRIPT and GML with PostScript:Document #2327020 13 Pages Using Special Symbols and Symbol Table June 8, 1994 ======================================================================== ABSTRACT for UIC Implementation This is Appendix A from the Waterloo SCRIPT manual Waterloo SCRIPT and a PostScript Printer. It is available separately on INFORM for your convenience. If you have printed a copy of the entire manual, you do not need to print a copy of this document as well. Use the INFORM PRINT ____________________ option, F9 on the INFORM reference lists, to print a PostScript version ________ ______________________________ of this document to see actual samples of the PostScript symbols. The samples are only available in the printed PostScript version of this document. Using .IM SYSCHAR Symbols With PostScript At UIC, the Waterloo SCRIPT .IM SYSCHAR symbol names file is only used with GML or basic SCRIPT input files which will be processed with the SCRIPT output option POSTS to generate a LISTPS output file which may be printed on any PostScript printer, including the Computer Center's PostScript printers. To use the special symbols available to you through the .IM SYSCHAR symbol names file, first you must place .IM SYSCHAR at the top of your GML or basic SCRIPT input file. Then use the symbol name given below where ever you want one of the symbols to be included, anywhere in your file. The following is a brief example: .IM SYSCHAR Because ".IM SYSCHAR" was used, Á produces an uppercase "A" with an acute accent and á produces a lowercase "a" with an acute accent. which produces the following output (please keep in mind that the special characters will only appear in the printed copy of the LISTPS PostScript version of this document): Because ".IM SYSCHAR" was used, A produces an uppercase "A" with an acute accent and a produces a lowercase "a" with an acute accent. Remember that the case of the SYSCHAR symbol names is vitally important; ________________________________________________________________________ the symbol names must be entered exactly as shown in the following lists. PostScript Symbols and Symbol Table page 2 ======================================================================== The EQSY Font Family When you want to use the SYSCHAR symbols with fonts which are larger or smaller than 10 or 11 points in size, there is one additional step you must take. In the SYSCHAR file, the font family named EQSY is defined with the following .IM POSTS command: .im POSTS font EQSY symbol 10 symbol 10 symbol 10 symbol 10 Many of the SYSCHAR symbols are characters in this font. The definition of each of the SYSCHAR symbol names which use a character in the Symbol character set includes the selection of this EQSY font family. When you are using a 10 point font (and both the GML default TEXT font, and the basic SCRIPT default DEFAULT font are in 10 point size), this default font definition for EQSY is fine. However, when the font(s) you are using are a different size, you must redefine EQSY in a size appropriate for your fonts, by including the following font family definition in your input file: .IM POSTS FONT EQSY SYMBOL nn SYMBOL nn SYMBOL nn SYMBOL nn where "nn" is the point size of the font you are using. For example, if you are using the following font font family: .IM POSTS FONT text HV 12 HVo 12 HVb 12 HVbo 12 Then you must include this font family definition in your input file if you want the SYSCHAR symbols you use to be large enough to go with your text: .IM POSTS FONT EQSY SYMBOL 12 SYMBOL 12 SYMBOL 12 SYMBOL 12 It does not matter exactly where in the input file you place this font family definition, except that it must be before you use any SYSCHAR symbol names. Also you may define it more than once if you want to use different size symbols in different parts of your file. Special Symbols with SYSCHAR The function of SYSCHAR is to provide access to many Special Symbols that are not available on the normal keyboard. The symbolic names chosen to represent the symbols are taken from ISO Standard 8879-1986(E), Standard Generalized Markup Language (SGML). The case in which the symbol name is entered is important and must be entered exactly as shown: the symbol "á" returns a lowercase letter with an accent while "Á" returns the uppercase. PostScript Symbols and Symbol Table page 3 ======================================================================== The support of SYSCHAR is compatible with both native SCRIPT and GML documents. It is enabled by entering ".im SYSCHAR" in the SCRIPT input file. The symbols are defined for use with all PostScript Text fonts. The Symbol font is used to extend the base character set. Alphabetic Characters The Alphabetic Character Symbols are named by combining the character, or a transliteration of it, with an abreviation for the accent. The symbol is in uppercase when the symbol represents the capital form. Latin 1 (ISOlat1): These symbols are those Latin alphabetic characters used in Western European languages. á small a, acute accent Á capital A, acute accent â small a, circumflex accent  capital A, circumflex accent à small a, grave accent À capital A, grave accent å small a, ring Å capital A, ring ã small a, tilde à capital A, tilde ä small a, dieresis or umlaut mark Ä capital A, dieresis or umlaut mark æ small ae diphthong (ligature) Æ capital AE diphthong (ligature) ç small c, cedilla Ç capital C, cedilla é small e, acute accent É capital E, acute accent ê small e, circumflex accent Ê capital E, circumflex accent è small e, grave accent È capital E, grave accent ë small e, dieresis or umlaut mark Ë capital E, dieresis or umlaut mark í small i, acute accent Í capital I, acute accent î small i, circumflex accent Î capital I, circumflex accent ì small i, grave accent Ì capital I, grave accent ï small i, dieresis or umlaut accent Ï capital I, dieresis or umlaut accent ñ small n, tilde Ñ capital N, tilde ó small o, acute accent Ó capital O, acute accent PostScript Symbols and Symbol Table page 4 ======================================================================== ô small o, circumflex accent Ô capital O, circumflex accent ò small o, grave accent Ò capital O, grave accent ø small o, slash Ø capital O, slash õ small o, tilde Õ capital O, tilde ö small o, dieresis or umlaut mark Ö capital O, dieresis or umlaut mark ß small sharp s, German (sz ligature) ú small u, acute accent Ú capital U, acute accent û small u, circumflex accent Û capital U, circumflex accent ù small u, grave accent Ù capital U, grave accent ü small u, dieresis or umlaut mark Ü capital U, dieresis or umlaut mark ý small y, acute accent ÿ small y, dieresis or umlaut mark Latin 2 (ISOlat2): These symbols are additional Latin alphabetic characters. &abreve small a, breve &amacr small a, macron &aogon small a, ogonek &Aogon capital A, ogonek &cacute small c, acute accent &ccaron small c, caron &ccirc small c, circumflex accent &cdot small c, dot above &ecaron small e, caron &edot small e, dot above &emacr small e, macron &eogon small e, ogonek &Eogon capital E, ogonek &gacute small g, acute accent &gbreve small g, acute accent &Gcedil capital G, cedilla &gcirc small g, circumflex accent &gdot small g, dot above &imacr small i, macron &inodot small i without dot &iogon small i, ogonek &Iogon capital I, ogonek &itilde small i, tilde &jcirc small j, circumflex accent &kcedil small k, cedilla &Kcedil capital K, cedilla &lcedil small l, cedilla &Lcedil capital L, cedilla PostScript Symbols and Symbol Table page 5 ======================================================================== &lstrok small l, stroke &Lstrok capital L, stroke &nacute small n, acute accent &napos small n, apostrophe &ncaron small n, caron &ncedil small n, cedilla &Ncedil capital N, cedilla &odblac small o, double acute accent &omacr small o, macron &oelig small oe ligature &OElig capital OE ligature &racute small r, acute accent &rcaron small r, caron &rcedil small r, cedilla &Rcedil capital R, cedilla &sacute small s, acute accent &scaron small s, caron &Scaron capital S, caron &scedil small s, cedilla &Scedil capital S, cedilla &scirc small s, circumflex accent &tcedil small t, cedilla &Tcedil capital T, cedilla &ubreve small u, breve &udblac small u, double acute accent &umacr small u, macron &uogon small u, ogonek &Uogon capital U, ogonek &uring small u, ring &utilde small u, tilde &wcirc small w, circumflex accent &ycirc small y, circumflex accent &Yuml capital Y, dieresis or umlaut mark &zacute small z, acute accent &zcaron small z, caron &Zcaron capital Z, caron &zdot small z, dot above Greek Letters (ISOgrk1): These symbols represent the letters of the Greek alphabet. They are to be used as language characters and not as mathematical symbol names in formula. &agr small alpha, Greek &Agr capital Alpha, Greek &bgr small beta, Greek &Bgr capital Beta, Greek &ggr small gamma, Greek &Ggr capital Gamma, Greek &dgr small delta, Greek &Dgr capital Delta, Greek &egr small epsilon, Greek &Egr capital Epsilon, Greek &zgr small zeta, Greek PostScript Symbols and Symbol Table page 6 ======================================================================== &Zgr capital Zeta, Greek &eegr small eta, Greek &EEgr capital Eta, Greek &thgr small theta, Greek &THgr capital Theta, Greek &igr small iota, Greek &Igr capital Iota, Greek &kgr small kappa, Greek &Kgr capital Kappa, Greek &lgr small lambda, Greek &Lgr capital Lambda, Greek &mgr small mu, Greek &Mgr capital Mu, Greek &ngr small nu, Greek &Ngr capital Nu, Greek &xgr small xi, Greek &Xgr capital Xi, Greek &ogr small omicron, Greek &Ogr capital Omicron, Greek &pgr small pi, Greek &Pgr capital Pi, Greek &rgr small rho, Greek &Rgr capital Rho, Greek &sgr small sigma, Greek &Sgr capital Sigma, Greek &sfgr final small sigma, Greek &tgr small tau, Greek &Tgr capital Tau, Greek &ugr small upsilon, Greek &Ugr capital Upsilon, Greek &phgr small phi, Greek &PHgr capital Phi, Greek &khgr small chi, Greek &KHgr capital Chi, Greek &psgr small psi, Greek &PSgr capital Psi, Greek &ohgr small omega, Greek &OHgr capital Omega, Greek General Use Characters Numeric and Special Graphic (ISOnum): These are the set of symbols representing Numeric and Special Graphic Characters. &half fraction one-half ½ fraction one-half ¼ fraction one-quarter ¾ fraction three-quarters &frac18 fraction one-eighth &frac38 fraction three-eighths &frac58 fraction five-eighths &frac78 fraction seven-eighths PostScript Symbols and Symbol Table page 7 ======================================================================== ¹ superscript one ² superscript two ³ superscript three &sup4 superscript four (EXT) &sup5 superscript five (EXT) &sup6 superscript six (EXT) &sup7 superscript seven (EXT) &sup8 superscript eight (EXT) &sup9 superscript nine (EXT) &sup0 superscript zero (EXT) &plus plus sign B: ± /pm B: plus-or-minus sign < less-than sign R: &equals equals sign R: > greater-than sign R: ÷ /div b: divide sign × /times B: multiply sign ¤ general currency sign £ pound sign &dollar dollar sign ¢ cent sign ¥ yen sign &num number sign &percnt percent sign & ampersand &ast /ast B: asterisk &commat commercial at &lsqb /lbrack O: left square bracket &bsol /backslash reverse solidus &rsqb /rbrack C: right square bracket &lcub /lbrace O: left curly bracket &horbar horizontal bar &verbar /vert vertical bar &rcub /rbrace C: right curly bracket µ micro sign &ohm ohm sign ° degree sign º ordinal indicator, masculine ª ordinal indicator, feminine § section sign ¶ pilcrow (paragraph sign) · /centerdot B: middle dot &larr /leftarrow /gets A: leftward arrow &rarr /rightarrow /to A: rightward arrow &uarr /uparrow A: upward arrow &darr /downarrow A: downward arrow © copyright sign ® /circleR registered sign &trade trade mark sign ¬ /neg /lnot not sign &excl exclamation mark ¡ inverted exclamation mark PostScript Symbols and Symbol Table page 8 ======================================================================== " quotation mark &apos apostrophe &lpar O: left parenthesis &rpar C: right parenthesis &comma P: comma &lowbar low line &hyphen hyphen &period full stop, period &sol solidus &colon /colon P: &semi semicolon &quest question mark ¿ inverted question mark « angle quotation mark, left » angle quotation mark, right &lsquo single quotation mark, left &rsquo single quotation mark, right &ldquo double quotation mark, left &rdquo double quotation mark, right   no break (required) space Diacritical Marks (ISOdia): These symbols represent the diacritical accents as independent characters. ´ acute accent &breve breve &caron caron ¸ cedilla &circ circumflex accent &dblac double acute accent &die dieresis &dot dot above &grave grave accent ¯ macron &ogon ogonek &ring ring &tilde tilde ¨ umlaut mark Publishing (ISOpub): These are the Special Publishing characters. &emsp em space &ensp en space (1/2-em) &numsp digit space (width of a number) &puncsp punctuation space (width of comma) &thinsp thin space (1/6-em) &mdash em dash &ndash en dash &dash hyphen (true graphic) &hellip ellipsis (horizontal) &frac13 fraction one-third &frac23 fraction two-thirds &frac15 fraction one-fifth &frac25 fraction two-fifths PostScript Symbols and Symbol Table page 9 ======================================================================== &frac35 fraction three-fifths &frac45 fraction four-fifths &frac16 fraction one-sixth &frac56 fraction five-sixths &incare in-care-of symbol &bull /bullet B: round bullet, filled &clubs /clubsuit club suit symbol &diams /diamondsuit diamond suit symbol &hearts /heartsuit heart suit symbol &spades /spadesuit spades suit symbol &dagger /dagger B: dagger &Dagger /ddagger B: double dagger &caret caret (insertion mark) &lsquor rising single quote, left (low) &ldquor rising dbl quote, left (low) &filig small fi ligature &fllig small fl ligature &rdquor rising dbl quote, right (high) &rsquor rising single quote, right (high) Technical Use Many technical symbols can be used in more than one context. The names for the symbols fits the shape of the symbol rather than its meaning in any application. General Technical (ISOtech): These are a general set of technical symbols. &aleph /aleph aleph, Hebrew &and /wedge /land B: logical and &ap /approx R: approximate &bottom /bot B: perpendicular &cap /cap B: intersection &cong /cong R: congruent with &cup /cup B: union or logical sum &equiv /equib R: identical with &exist /exists at least one exists &forall /forall for all &fnof function of (italic small f) &ge /geq /ge R: greater-than-or-equal &iff /iff if and only if &infin /infty infinity &int /int L: integral operator &isin /in R: set membership &lang /langle O: left angle bracket &lArr /Leftarrow A: is implied by &le /leq /le R: less-than-or-equal &minus B: minus sign &nabla /nabla del, Hamilton operator &ne /ne /neq R: not equal &ni /ni /owns R: contains PostScript Symbols and Symbol Table page 10 ======================================================================== &or /vee /lor B: logical or &par /parallel R: parallel &part /partial partial differential &permil per thousand &perp /perp R: perpendicular &prime /prime prime or minute &Prime double prime or second &prop /propto R: is proportional to &radic /surd radical &rang /rangle C: right angle bracket &rArr /Rightarrow A: implies &sim /sim R: similar &sub /subset R: subset or is implied by &sube /subseteq R: subset, equals &sup /supset R: superset or implies &supe /supseteq R: superset, equals &there4 /therefore R: therefore &angst Angstrom capital A, ring &Dot dieresis or umlaut mark &lowast low asterisk ¬in N: negated set membership Greek Symbols (ISOgrk3): These are the symbols representing Greek character names when they are used in technical applications. &alpha small alpha, Greek &Alpha capital Alpha, Greek (EXT) &beta small beta, Greek &Beta capital Beta, Greek (EXT) &gamma small gamma, Greek &Gamma capital Gamma, Greek &gammad /digamma &delta small delta, Greek &Delta capital Delta, Greek &epsi small epsilon, Greek &Epsi capital Epsilon, Greek (EXT) &zeta small zeta, Greek &Zeta capital Zeta, Greek (EXT) &eta small eta, Greek &Eta capital Eta, Greek (EXT) &theta small theta, Greek (EXT) &Theta capital Theta, Greek &thetav /vartheta - curly or open theta &iota small iota, Greek &Iota capital Iota, Greek (EXT) &kappa small kappa, Greek &Kappa capital Kappa, Greek (EXT) &lambda small lambda, Greek &Lambda capital Lambda, Greek &mu small mu, Greek &Mu capital Mu, Greek (EXT) &nu small nu, Greek &Nu capital Nu, Greek (EXT) PostScript Symbols and Symbol Table page 11 ======================================================================== &xi small xi, Greek &Xi capital Xi, Greek &omi small omicron, Greek (EXT) &Omi capital Omicron, Greek (EXT) &pi small pi, Greek &Pi capital Pi, Greek &rho small rho, Greek &Rho capital Rho, Greek (EXT) &sigma small sigma, Greek &Sigma capital Sigma, Greek &sigmav /varsigma &tau small tau, Greek &Tau capital Tau, Greek (EXT) &upsi small upsilon, Greek &Upsi capital Upsilon, Greek &phi small phi, Greek (EXT) &Phi capital Phi, Greek &phiv /varphi - curly or open phi &chi small chi, Greek &Chi capital Chi, Greek (EXT) &psi small psi, Greek &Psi capital Psi, Greek &omega small omega, Greek &Omega capital Omega, Greek Alternative Greek Symbols (ISOgrk4): These also represent Greek character names, when a separate symbol set is required. Normally these special symbols are displayed in a different font or in boldface. &b_alpha small alpha, Greek &b_Alpha capital Alpha, Greek (EXT) &b_beta small beta, Greek &b_Beta capital Beta, Greek (EXT) &b_gamma small gamma, Greek &b_Gamma capital Gamma, Greek &b_gammad /digamma &b_delta small delta, Greek &b_Delta capital Delta, Greek &b_epsi small epsilon, Greek &b_Epsi capital Epsilon, Greek (EXT) &b_zeta small zeta, Greek &b_Zeta capital Zeta, Greek (EXT) &b_eta small eta, Greek &b_Eta capital Eta, Greek (EXT) &b_theta small theta, Greek (EXT) &b_Theta capital Theta, Greek &b_thetav /vartheta - curly or open theta &b_iota small iota, Greek &b_Iota capital Iota, Greek (EXT) &b_kappa small kappa, Greek &b_Kappa capital Kappa, Greek (EXT) &b_lambda small lambda, Greek &b_Lambda capital Lambda, Greek PostScript Symbols and Symbol Table page 12 ======================================================================== &b_mu small mu, Greek &b_Mu capital Mu, Greek (EXT) &b_nu small nu, Greek &b_Nu capital Nu, Greek (EXT) &b_xi small xi, Greek &b_Xi capital Xi, Greek &b_omi small omicron, Greek (EXT) &b_Omi capital Omicron, Greek (EXT) &b_pi small pi, Greek &b_Pi capital Pi, Greek &b_rho small rho, Greek &b_Rho capital Rho, Greek (EXT) &b_sigma small sigma, Greek &b_Sigma capital Sigma, Greek &b_sigmav /varsigma &b_tau small tau, Greek &b_Tau capital Tau, Greek (EXT) &b_upsi small upsilon, Greek &b_Upsi capital Upsilon, Greek &b_phi small phi, Greek (EXT) &b_Phi capital Phi, Greek &b_phiv /varphi - curly or open phi &b_chi small chi, Greek &b_Chi capital Chi, Greek (EXT) &b_psi small psi, Greek &b_Psi capital Psi, Greek &b_omega small omega, Greek &b_Omega capital Omega, Greek Additional Mathematical Symbols Ordinary Math Symbols (ISOamso): &ang /angle - angle &empty /emptyset /varnothing small o, slash &image /Im - imaginary &inodot /imath small i, no dot &nexist /nexists - negated exists &real /Re - real &sbsol /sbs - short reverse solidus &weierp /wp - Weierstrass p Binary and Large Operators Math Symbols (ISOamsb): &diam /diamond B: open diamond &oplus /oplus B: plus sign in circle &osol /oslash B: solidus in circle &otimes /otimes B: multiply sign in circle &sdot /cdot B: small middle dot &setmn /setminus B: reverse solidus &prod /prod L: product operator &sum /sum L: summation operator PostScript Symbols and Symbol Table page 13 ======================================================================== Relations Math Symbols (ISOamsr): &bepsi /backepsilon R: such that &spar /shortparallel R: short parallel Negated Relations Math Symbols (ISOamsn): &nap /napprox N: not approximate &ncong /ncong N: not congruent with &nequiv /nequiv N: not identical with &nge /ngeq N: not greater-than-or-equal &ngt /ngtr N: not greater-than &nle /nleq N: not less-than-or-equal &nlt /nless N: not less-than &nsim /nsim N: not similar &nsub /nsubset N: not subset &nsube /nsubseteq N: not subset, equals &nsup /nsupset N: not superset &nsupe /nsupseteq N: not superset, equals Arrow Relations Math Symbols (ISOamsa): &dArr /Downarrow A: down dbl arrow &darr2 /downdownarrows A: two down arrows &hArr /Leftrightarrow A: l&r dbl arrow &harr /leftrightarrow A: l&r arrow &nlArr /nLeftarrow A: not implied by &nlarr /nleftarrow A: not left arrow &nhArr /nLeftrightarrow A: not l&r dbl arr &nharr /nleftrightarrow A: not l&r arrow &nrarr /nrightarrow A: not right arrow &nrArr /nRightarrow A: not implies &uArr /Uparrow A: up dbl arrow &uarr2 /upuparrows A: two up arrows Opening and Closing Delimiters Math Symbols (ISOamsc): &rceil /rceil C: right ceiling &rfloor /rfloor C: right floor &rpargt /rightparengtr C: right paren, gt &lceil /lceil O: left ceiling &lfloor /lfloor O: left floor &lpargt /leftparengtr O: left parenthesis, gt