special characters in postscript

in the postscript files produced by FRIDA, there is a macro to insert special characters:

1
2
3
4
5
6
7
8
/grec {
   showif
   /Symbol findfont fontsize scalefont setfont
   } def
/endgr {
   showif
   regularfont setfont
   } def

so for example a small omega is produced by {() grec (w) endgr ()}.

it can be used to print special characters, using this map
a table of symbols accessable in postscript

take value of column times ten (that’s what the x means) and add the number of the column. example: degree sign: 26*10+0=260.

then use: {() grec (\260) endgr ()}

Leave a Reply