home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 2 / goldfish_vol2_cd1.bin / files / text / misc / jemtex / texdocs / jguide.tex
Encoding:
Text File  |  1993-12-21  |  168.1 KB  |  3,665 lines

  1. %
  2. % Process this file twice with big LaTeX. Does not rely on any japanese font.
  3. %
  4. \typeout{}
  5. \typeout{Japanese [La]TeX for DOS User's Guide Version 2.00 <14 April 1991>}
  6. \typeout{Note: Run big LaTeX two times to resolve cross-references.}
  7. \typeout{Warning: This guide requires approximately 120Kb of memory to process.}
  8. \typeout{}
  9.  
  10. \hyphenation{jap-a-nese}
  11.  
  12. \def\LLaTeX{{\rm \raise.2ex\hbox{[}\kern-.05em L\kern-.38em\raise.35ex%
  13. \hbox{\lowercase{a}}\kern-.05em\raise.2ex\hbox{]}\kern-.1em T%
  14. \kern-.1667em\lower.7ex\hbox{E}\kern-.125em X}}
  15. \def\MuTeX{{\rm M\kern-.15em\raise.2ex\hbox{\lowercase{u}}\kern-.32em T%
  16. \kern-.1667em\lower.5ex\hbox{E}\kern-.125em X}}
  17. \def\emTeX{{\rm {\it{em}}\kern-.15em T%
  18. \kern-.1667em\lower.5ex\hbox{E}\kern-.125em X}}
  19. \def\JemTeX{{\rm J\kern-.2em {\it{em}}\kern-.15em T%
  20. \kern-.1667em\lower.5ex\hbox{E}\kern-.125em X}}
  21. \def\MFT{{\small\rm METAFONT}}
  22.  
  23. \documentstyle[12pt]{article}
  24. \pagestyle{plain}
  25. \begin{document}
  26.  
  27. \title{Japanese \LLaTeX\ for DOS \\
  28.           - User's Guide - \\
  29.    {\small (Version 2.00)}}
  30. \author{Fran\c cois Jalbert}
  31. \date{14 April 1991 \\
  32. AMIGA-port by Wilfried Solbach, Cologne, Germany, October 1993}
  33. \maketitle
  34.  
  35. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  36.  
  37. \section{Introduction}
  38. \typeout{1 Introduction}
  39. \label{introduction}
  40.  
  41. Welcome to \JemTeX\ Version~2.00, a simple system to typeset japanese using any 
  42. standard version of \TeX\ running under DOS.\footnote{I have not changed anything 
  43. in this document for MS-DOS users. All AMIGA-DOS users running \LLaTeX\ and \MFT\
  44. on their systems should easily set up everything according to their respective
  45. \LLaTeX-installation. Have fun, W.S.}All you need to create your own 
  46. japanese fonts using \MFT\ is included. A preprocessor is also supplied which 
  47. will turn the output of your favorite japanese text editor into a standard 
  48. \TeX\ document ready for processing. 
  49.  
  50. This guide is divided into four main sections:
  51. \begin{description}
  52.  \item[Introduction:] Preliminary remarks (page~\pageref{introduction}).
  53.  \item[Japanese Fonts:] The \JemTeX\ fonts (page~\pageref{japanesefonts}).
  54.  \item[The \LLaTeX\ Interface:] The \JemTeX\ preprocessor 
  55.                                 (page~\pageref{thelatexinterface}).
  56.  \item[JemTeX Quick Reference:] Items often referred to 
  57.                                 (page~\pageref{jemtexquickreference}).
  58. \end{description}
  59.  
  60. \subsection{Why \JemTeX}
  61. \label{whyjemtex}
  62.  
  63. Shortly after adopting japanese as my new hobby, I felt the need to compile my 
  64. own small dictionaries and to keep a computer record of all the letters I sent 
  65. to my friends in Japan. These japanese documents would, of course, be produced 
  66. on my DOS computer. I was also typesetting japanese music with \MuTeX, and I 
  67. really wanted to write the lyrics using japanese characters rather than the 
  68. roman ones I was currently constrained to use. 
  69.  
  70. Luckily I had \mbox{USENET} access, and in early 1990 I came across Mr.\ Mark 
  71. Edward's MOKE~(1.1+) japanese text editor. It supported the most popular 
  72. graphics displays, it had all the japanese characters a novice like me would 
  73. ever need, it had extensive indexes to find the correct kanjis for any given 
  74. word, and it even supported my \mbox{EPSON} printer. I FTP'ed a copy for 
  75. myself and arranged to have it made available in T\=oky\=o at utsun 
  76. (133.11.11.11) for FTP as well. 
  77.  
  78. Unfortunately, MOKE's quality of output left much to be desired on my 
  79. \mbox{9-pin} printer, and MOKE did not have the fancy capabilities of \LaTeX. I 
  80. decided to look into public domain japanese versions of \LaTeX\ for DOS 
  81. computers. A query on \mbox{USENET} news triggered a long series of 
  82. \mbox{e-mail} exchanges. In a nutshell, the news was bad. 
  83.  
  84. First, I could not locate any \MFT\ code to generate the 240~DPI by 216~DPI 
  85. fonts needed by my previewing and printing devices. It was out of the question 
  86. for me to even think about writing my own \MFT\ code for the thousands of 
  87. characters involved in japanese. I did find some 300~DPI public domain fonts, 
  88. but they were useless to me. I was told many japanese printers have built-in 
  89. fonts, which could explain the lack of public domain external ones. 
  90.  
  91. There was also a serious possibility that loading many fonts might cause any 
  92. small implementation of \TeX\ to run out of memory. This was a problem 
  93. especially for DOS machines limited for historical reasons to 640~Kb of main 
  94. memory. I needed a \TeX\ with some sort of memory paging system for my big 
  95. RAM~disk. This problem was solved with Mr.\ Eberhard Mattes' \emTeX\ for DOS. 
  96. Its capacity seemed limited solely by \TeX's internal design. 
  97.  
  98. I could not find any macros to enter japanese using standard \LaTeX. I did 
  99. come across J\TeX\ and \mbox{ASCII-j\TeX}. However, both required that I build 
  100. my own \TeX\ source in C, using exotic tools like WEB and \mbox{TANGLE}. Even 
  101. if I ever managed eventually to get some usable C~code, it would not compile 
  102. into something very useful because of the 640~Kb main memory limitation of DOS. 
  103. It would be necessary to modify the C~code by adding the paging system to it. I 
  104. knew nothing of \TeX's internal working. How could I decide correctly which 
  105. information should be paged and which should remain in memory at all time? I 
  106. decided that adapting J\TeX\ or \mbox{ASCII-j\TeX}\ to DOS appeared too 
  107. uncertain and time-consuming. 
  108.  
  109. My situation could be summarized as follows. I had a simple japanese text 
  110. editor I could use to enter both english and japanese, and I had a big 
  111. implementation of \TeX\ which would not crash if I remained reasonable. But I 
  112. lacked japanese fonts and macros to put it all together. The remainder of this 
  113. brief guide explains how I solved these two problems. 
  114.  
  115. I call my japanese system \JemTeX. Anybody with a japanese text editor and 
  116. \emTeX, or any equivalent implementation of \TeX\ and \MFT, can now produce 
  117. simple, but acceptable japanese documents with his DOS computer. Following the 
  118. release of the first two versions, people from all over the world expressed 
  119. their satisfaction. There is no doubt in my mind that there was a real need for 
  120. \JemTeX. 
  121.  
  122. \begin{quote}
  123.  \begin{em}
  124.   \JemTeX\ is free for all to use and modify. Please feel free to distribute 
  125.   unmodified copies of it. If you should use parts of\/ \JemTeX, or some of my 
  126.   ideas in your work, a reference to \JemTeX\ would be appreciated.
  127.  \end{em}
  128. \end{quote} 
  129.  
  130. \subsection{\JemTeX\ Files}
  131. \label{jemtexfiles}
  132.  
  133. \JemTeX\ is distributed compressed with Version~1.1 of the \verb"PKZIP" 
  134. utility of PKWARE Inc. You should have received the following file:
  135. \begin{quote}%Don't put spaces after the next line!
  136. \begin{verbatim}
  137. JEMTEX2  ZIP   440435   4-14-91  12:00p
  138. \end{verbatim}
  139. \end{quote}
  140.  
  141. Unpacking should yield the following files:
  142. \begin{quote}%Don't put spaces after the next line!
  143. \begin{verbatim}
  144. JIS24          562032   4-14-91  12:00p
  145. JIS2MF   C      37598   4-14-91  12:00p
  146. JIS2MF   PAS    33242   4-14-91  12:00p
  147. JIS2MF   EXE    12181   4-14-91  12:00p
  148. JEM2TEX  C      47627   4-14-91  12:00p
  149. JEM2TEX  PAS    40635   4-14-91  12:00p
  150. JEM2TEX  EXE    14203   4-14-91  12:00p
  151. FONTABLE C       5814   4-14-91  12:00p
  152. FONTABLE PAS     4475   4-14-91  12:00p
  153. FONTABLE EXE     4905   4-14-91  12:00p
  154. JGUIDE   TEX   175442   4-14-91  12:00p
  155. \end{verbatim}
  156. \end{quote}
  157. All these files will be covered in time in this brief guide. 
  158.  
  159. I supply you with the fastest utilities possible at the moment, which are 
  160. sometime C versions, sometime Pascal versions. The programs compile fine with 
  161. recent DOS turbo compilers and UNIX gcc. Note that the executables are also 
  162. compressed with the \verb"LZEXE" utility of Mr.\ Fabrice Bellard. The 
  163. decompression automatically occurs at runtime. 
  164.  
  165. \subsection{Author's Address}
  166. \label{authorsaddress}
  167.  
  168. There is still a lot I do not understand about \LLaTeX\ and, especially, 
  169. japanese. I apologize in advance for my errors. If you have any comments, or 
  170. simply wish to be put on my mailing list, do not hesitate to contact the 
  171. author: 
  172.  
  173. \begin{quote}
  174. Fran\c cois Jalbert \\
  175. 220 Forest \\
  176. Ch\^ateauguay, QC \\
  177. CANADA \\
  178. J6J 1R1 \\
  179. \verb"jalbert@CS.UBC.CA" \\
  180. \verb"jalbert@IRO.UMontreal.CA"
  181. \end{quote}
  182.  
  183. \subsection{Acknowledgments}
  184. \label{acknowledgments}
  185.  
  186. I would like to take this opportunity to thank all the people who helped me in 
  187. this quest for knowledge, especially Mr.\ Takafumi Sakurai who is very familiar 
  188. with J\TeX. Finally, I must also thank all the users who helped to improve this 
  189. package with their comments. Keep them coming! In fact, Version~2.00 would not 
  190. have been possible without Mr.\ Masatoshi Watanabe, the author of JaWa\TeX. I 
  191. am greatly grateful to him for his contribution to my \verb"JIS2MF" program. 
  192.  
  193. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  194.  
  195. \section{Japanese Fonts}
  196. \typeout{2 Japanese Fonts}
  197. \label{japanesefonts}
  198.  
  199. In this section, I describe how I solved the font problem. I first introduce 
  200. the JIS~24 dot font which is the key behind the \JemTeX\ fonts. A discussion of 
  201. horizontal and vertical writing styles then becomes essential since writing 
  202. style influences the ideal characteristics of a font. I conclude the first part 
  203. of this section by explaining how to run my \verb"JIS2MF" \MFT\ code generation 
  204. program and \MFT\ itself. 
  205.  
  206. I include a few more technical details in the second part of this section. 
  207. Strictly speaking, this information is not mandatory and the reader in a hurry 
  208. will do well to simply skip it. But the inquiring one will have a chance to 
  209. take a closer look at the \MFT\ code generated and at the underlying algorithm. 
  210.  
  211. \subsection{The JIS~24 Dot Font}
  212. \label{thejis24dotfont}
  213.  
  214. The font problem is solved using the JIS~24 dot font of Mr.\ Yasuki Saito. It 
  215. is a series of 24~by~24 bitmaps organized sequentially. There is room for 
  216. 7806~bitmaps in the file \verb"JIS24", but several bitmaps are simply left 
  217. empty in the current version. 
  218.  
  219. \label{standard}
  220.  
  221. The JIS~'83 standard states which characters are defined in the JIS~24 dot font 
  222. and what position they occupy. However, several computer manufacturers have 
  223. taken the liberty of defining their own additional 24~by~24 bitmaps which they 
  224. place here and there at locations currently left empty by JIS~'83. The
  225. resulting {\em extended\/} JIS~24 dot fonts exist in many different 
  226. incompatible versions. 
  227.  
  228. \label{extended}
  229.  
  230. \JemTeX\ uses such an extended JIS~24 dot font. I do not know who is 
  231. responsible for its extension, but I certainly welcome the extra characters. 
  232. Besides a wealth of miscellaneous characters, a complete half-width roman and 
  233. japanese character set is available. You may choose to use them, or to restrict 
  234. yourself to standard JIS~'83 characters only. 
  235.  
  236. No doubt one can mechanize the creation of fonts from such bitmaps. There seems 
  237. to be two ways of handling the problem. First, one could generate fonts 
  238. directly from the bitmaps without using \MFT\ at all. Indeed, I know that 
  239. several fonts in J\TeX\ were created just that way. However, I suspect that it 
  240. might be difficult to scale fonts using non-integer factors. To further 
  241. complicate the scaling problem, my devices do not have the same horizontal and 
  242. vertical resolution. Besides, I feel that \MFT\ can deal with such scaling 
  243. issues better than I probably can in a mere few days of work. 
  244.  
  245. Consequently, I prefer to create \MFT\ code out of the bitmaps. A good example 
  246. of such an approach is the \verb"ega2mf" program of Mr.\ Thomas B.\ Ridgeway. 
  247. This program reads bitmaps and creates \MFT\ code where each character is a 
  248. small matrix of dots. The purpose of such fonts is to mimic the looks of 
  249. CRT~screens on paper. This is does so well that in fact, I find that the 
  250. japanese characters look too much like bitmaps! I want these dots to disappear 
  251. and a continuous outline to replace them. Nevertheless, \verb"ega2mf" clearly 
  252. demonstrates that the goal can be reached. 
  253.  
  254. I started from scratch, using a \MFT\ book and came up with my own \MFT\ code 
  255. generation program \verb"JIS2MF". It reads bitmaps from \verb"JIS24", and it 
  256. then constructs continuous characters, using squares, triangles, and quarter 
  257. circles. My program has been substantially improved by Mr.\ Masatoshi Watanabe. 
  258. A complete description is found in Subsections~\ref{themetafontcode} 
  259. and~\ref{algorithm}. 
  260.  
  261. \subsection{Writing Styles}
  262. \label{writingstyles}
  263.  
  264. It is clear from the lack of a vertical baseline in \MFT\ that \TeX\ was solely 
  265. designed for horizontal use. Indeed, \TeX\ can typeset japanese horizontally as 
  266. well as it does for english. This does not imply that vertical use of \TeX\ is 
  267. impossible, but it merely suggests that extra care will be required. In this 
  268. subsection, I would like to discuss and compare both writing styles. The 
  269. appropriate font properties can then be determined. 
  270.  
  271. \label{widthheight}
  272.  
  273. The first features of interest in this subsection are character width, 
  274. character height, and distance from the baseline. Consider first a few roman 
  275. characters and their horizontal baseline: 
  276. \begin{center} 
  277.  \setlength{\unitlength}{0.4pt}
  278.  \begin{picture}(80,30)
  279.   \thinlines
  280.   \put(0,5){\line(1,0){80}}
  281.   \put(0,0){\makebox(80,30){dip}}
  282.  \end{picture}
  283. \end{center}
  284.  
  285. The width of each character is minimized and this is important in english 
  286. writing. However, the height of each character is unimportant. It is the 
  287. vertical relationship between the character and its horizontal baseline which 
  288. matters. 
  289.  
  290. Consider now a few japanese characters and their horizontal baseline:
  291. \begin{center}
  292.  \setlength{\unitlength}{0.4pt}
  293.  \newsavebox{\watashi}
  294.  \sbox{\watashi}{% 
  295.   \begin{picture}(28,26)(-2,-2)%Bitmap 2512
  296.    \put(0.5,4.5){\circle*{1}}\put(0.5,15.5){\circle*{1}}
  297.    \put(0.5,19.5){\circle*{1}}\put(1.5,5.5){\circle*{1}}
  298.    \put(1.5,15.5){\circle*{1}}\put(1.5,19.5){\circle*{1}}
  299.    \put(2.5,6.5){\circle*{1}}\put(2.5,7.5){\circle*{1}}
  300.    \put(2.5,15.5){\circle*{1}}\put(2.5,19.5){\circle*{1}}
  301.    \put(3.5,7.5){\circle*{1}}\put(3.5,8.5){\circle*{1}}
  302.    \put(3.5,9.5){\circle*{1}}\put(3.5,15.5){\circle*{1}}
  303.    \put(3.5,20.5){\circle*{1}}\put(4.5,9.5){\circle*{1}}
  304.    \put(4.5,10.5){\circle*{1}}\put(4.5,11.5){\circle*{1}}
  305.    \put(4.5,12.5){\circle*{1}}\put(4.5,15.5){\circle*{1}}
  306.    \put(4.5,20.5){\circle*{1}}\put(5.5,0.5){\circle*{1}}
  307.    \put(5.5,1.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  308.    \put(5.5,3.5){\circle*{1}}\put(5.5,4.5){\circle*{1}}
  309.    \put(5.5,5.5){\circle*{1}}\put(5.5,6.5){\circle*{1}}
  310.    \put(5.5,7.5){\circle*{1}}\put(5.5,8.5){\circle*{1}}
  311.    \put(5.5,9.5){\circle*{1}}\put(5.5,10.5){\circle*{1}}
  312.    \put(5.5,11.5){\circle*{1}}\put(5.5,12.5){\circle*{1}}
  313.    \put(5.5,13.5){\circle*{1}}\put(5.5,14.5){\circle*{1}}
  314.    \put(5.5,15.5){\circle*{1}}\put(5.5,16.5){\circle*{1}}
  315.    \put(5.5,17.5){\circle*{1}}\put(5.5,18.5){\circle*{1}}
  316.    \put(5.5,19.5){\circle*{1}}\put(5.5,20.5){\circle*{1}}
  317.    \put(6.5,0.5){\circle*{1}}\put(6.5,1.5){\circle*{1}}
  318.    \put(6.5,2.5){\circle*{1}}\put(6.5,3.5){\circle*{1}}
  319.    \put(6.5,4.5){\circle*{1}}\put(6.5,5.5){\circle*{1}}
  320.    \put(6.5,6.5){\circle*{1}}\put(6.5,7.5){\circle*{1}}
  321.    \put(6.5,8.5){\circle*{1}}\put(6.5,9.5){\circle*{1}}
  322.    \put(6.5,10.5){\circle*{1}}\put(6.5,11.5){\circle*{1}}
  323.    \put(6.5,12.5){\circle*{1}}\put(6.5,13.5){\circle*{1}}
  324.    \put(6.5,14.5){\circle*{1}}\put(6.5,15.5){\circle*{1}}
  325.    \put(6.5,16.5){\circle*{1}}\put(6.5,17.5){\circle*{1}}
  326.    \put(6.5,18.5){\circle*{1}}\put(6.5,19.5){\circle*{1}}
  327.    \put(6.5,20.5){\circle*{1}}\put(6.5,21.5){\circle*{1}}
  328.    \put(7.5,11.5){\circle*{1}}\put(7.5,15.5){\circle*{1}}
  329.    \put(7.5,21.5){\circle*{1}}\put(8.5,11.5){\circle*{1}}
  330.    \put(8.5,15.5){\circle*{1}}\put(8.5,21.5){\circle*{1}}
  331.    \put(8.5,22.5){\circle*{1}}\put(9.5,2.5){\circle*{1}}
  332.    \put(9.5,10.5){\circle*{1}}\put(9.5,15.5){\circle*{1}}
  333.    \put(9.5,16.5){\circle*{1}}\put(9.5,22.5){\circle*{1}}
  334.    \put(9.5,23.5){\circle*{1}}\put(10.5,0.5){\circle*{1}}
  335.    \put(10.5,1.5){\circle*{1}}\put(10.5,2.5){\circle*{1}}
  336.    \put(10.5,8.5){\circle*{1}}\put(10.5,9.5){\circle*{1}}
  337.    \put(10.5,10.5){\circle*{1}}\put(10.5,15.5){\circle*{1}}
  338.    \put(10.5,16.5){\circle*{1}}\put(10.5,22.5){\circle*{1}}
  339.    \put(10.5,23.5){\circle*{1}}\put(11.5,1.5){\circle*{1}}
  340.    \put(11.5,2.5){\circle*{1}}\put(11.5,8.5){\circle*{1}}
  341.    \put(11.5,9.5){\circle*{1}}\put(11.5,15.5){\circle*{1}}
  342.    \put(11.5,22.5){\circle*{1}}\put(12.5,1.5){\circle*{1}}
  343.    \put(12.5,2.5){\circle*{1}}\put(13.5,1.5){\circle*{1}}
  344.    \put(13.5,2.5){\circle*{1}}\put(13.5,3.5){\circle*{1}}
  345.    \put(13.5,4.5){\circle*{1}}\put(14.5,2.5){\circle*{1}}
  346.    \put(14.5,5.5){\circle*{1}}\put(14.5,6.5){\circle*{1}}
  347.    \put(14.5,7.5){\circle*{1}}\put(14.5,8.5){\circle*{1}}
  348.    \put(15.5,2.5){\circle*{1}}\put(15.5,7.5){\circle*{1}}
  349.    \put(15.5,8.5){\circle*{1}}\put(15.5,9.5){\circle*{1}}
  350.    \put(15.5,10.5){\circle*{1}}\put(15.5,11.5){\circle*{1}}
  351.    \put(15.5,12.5){\circle*{1}}\put(15.5,13.5){\circle*{1}}
  352.    \put(15.5,14.5){\circle*{1}}\put(15.5,15.5){\circle*{1}}
  353.    \put(16.5,2.5){\circle*{1}}\put(16.5,11.5){\circle*{1}}
  354.    \put(16.5,12.5){\circle*{1}}\put(16.5,13.5){\circle*{1}}
  355.    \put(16.5,14.5){\circle*{1}}\put(16.5,15.5){\circle*{1}}
  356.    \put(16.5,16.5){\circle*{1}}\put(16.5,17.5){\circle*{1}}
  357.    \put(16.5,18.5){\circle*{1}}\put(16.5,19.5){\circle*{1}}
  358.    \put(16.5,20.5){\circle*{1}}\put(16.5,21.5){\circle*{1}}
  359.    \put(16.5,22.5){\circle*{1}}\put(16.5,23.5){\circle*{1}}
  360.    \put(17.5,2.5){\circle*{1}}\put(17.5,16.5){\circle*{1}}
  361.    \put(17.5,17.5){\circle*{1}}\put(17.5,18.5){\circle*{1}}
  362.    \put(17.5,19.5){\circle*{1}}\put(17.5,20.5){\circle*{1}}
  363.    \put(17.5,21.5){\circle*{1}}\put(17.5,22.5){\circle*{1}}
  364.    \put(18.5,3.5){\circle*{1}}\put(18.5,22.5){\circle*{1}}
  365.    \put(19.5,3.5){\circle*{1}}\put(19.5,7.5){\circle*{1}}
  366.    \put(20.5,3.5){\circle*{1}}\put(20.5,5.5){\circle*{1}}
  367.    \put(20.5,6.5){\circle*{1}}\put(21.5,3.5){\circle*{1}}
  368.    \put(21.5,4.5){\circle*{1}}\put(21.5,5.5){\circle*{1}}
  369.    \put(22.5,0.5){\circle*{1}}\put(22.5,1.5){\circle*{1}}
  370.    \put(22.5,2.5){\circle*{1}}\put(22.5,3.5){\circle*{1}}
  371.    \put(22.5,4.5){\circle*{1}}\put(23.5,0.5){\circle*{1}}
  372.    \put(23.5,1.5){\circle*{1}}\put(23.5,2.5){\circle*{1}}
  373.   \end{picture}}
  374.  \begin{picture}(250,28)
  375.   \thinlines
  376.   \put(0,0){\line(1,0){250}}
  377.   \put(20,0){%
  378.    \begin{picture}(28,26)(-2,-2)%Bitmap 288
  379.     \put(5.5,15.5){\circle*{1}}\put(6.5,13.5){\circle*{1}}
  380.     \put(6.5,14.5){\circle*{1}}\put(7.5,13.5){\circle*{1}}
  381.     \put(7.5,14.5){\circle*{1}}\put(8.5,1.5){\circle*{1}}
  382.     \put(8.5,14.5){\circle*{1}}\put(9.5,1.5){\circle*{1}}
  383.     \put(9.5,14.5){\circle*{1}}\put(9.5,15.5){\circle*{1}}
  384.     \put(9.5,23.5){\circle*{1}}\put(10.5,1.5){\circle*{1}}
  385.     \put(10.5,15.5){\circle*{1}}\put(10.5,23.5){\circle*{1}}
  386.     \put(11.5,2.5){\circle*{1}}\put(11.5,15.5){\circle*{1}}
  387.     \put(11.5,16.5){\circle*{1}}\put(11.5,22.5){\circle*{1}}
  388.     \put(12.5,2.5){\circle*{1}}\put(12.5,16.5){\circle*{1}}
  389.     \put(12.5,22.5){\circle*{1}}\put(13.5,3.5){\circle*{1}}
  390.     \put(13.5,16.5){\circle*{1}}\put(13.5,21.5){\circle*{1}}
  391.     \put(13.5,22.5){\circle*{1}}\put(14.5,3.5){\circle*{1}}
  392.     \put(14.5,4.5){\circle*{1}}\put(14.5,16.5){\circle*{1}}
  393.     \put(14.5,20.5){\circle*{1}}\put(14.5,21.5){\circle*{1}}
  394.     \put(15.5,4.5){\circle*{1}}\put(15.5,5.5){\circle*{1}}
  395.     \put(15.5,6.5){\circle*{1}}\put(15.5,15.5){\circle*{1}}
  396.     \put(15.5,20.5){\circle*{1}}\put(15.5,21.5){\circle*{1}}
  397.     \put(16.5,5.5){\circle*{1}}\put(16.5,6.5){\circle*{1}}
  398.     \put(16.5,7.5){\circle*{1}}\put(16.5,8.5){\circle*{1}}
  399.     \put(16.5,9.5){\circle*{1}}\put(16.5,10.5){\circle*{1}}
  400.     \put(16.5,11.5){\circle*{1}}\put(16.5,12.5){\circle*{1}}
  401.     \put(16.5,13.5){\circle*{1}}\put(16.5,14.5){\circle*{1}}
  402.     \put(17.5,7.5){\circle*{1}}\put(17.5,8.5){\circle*{1}}
  403.     \put(17.5,9.5){\circle*{1}}\put(17.5,10.5){\circle*{1}}
  404.     \put(17.5,11.5){\circle*{1}}\put(17.5,12.5){\circle*{1}}
  405.     \put(17.5,13.5){\circle*{1}}
  406.    \end{picture}}
  407.   \put(50,0){\usebox{\watashi}}
  408.   \put(80,0){%
  409.    \begin{picture}(28,26)(-2,-2)%Bitmap 356
  410.     \put(6.5,10.5){\circle*{1}}\put(6.5,11.5){\circle*{1}}
  411.     \put(6.5,12.5){\circle*{1}}\put(6.5,13.5){\circle*{1}}
  412.     \put(6.5,14.5){\circle*{1}}\put(6.5,15.5){\circle*{1}}
  413.     \put(6.5,16.5){\circle*{1}}\put(6.5,17.5){\circle*{1}}
  414.     \put(6.5,22.5){\circle*{1}}\put(6.5,23.5){\circle*{1}}
  415.     \put(7.5,9.5){\circle*{1}}\put(7.5,10.5){\circle*{1}}
  416.     \put(7.5,11.5){\circle*{1}}\put(7.5,12.5){\circle*{1}}
  417.     \put(7.5,13.5){\circle*{1}}\put(7.5,14.5){\circle*{1}}
  418.     \put(7.5,15.5){\circle*{1}}\put(7.5,16.5){\circle*{1}}
  419.     \put(7.5,17.5){\circle*{1}}\put(7.5,18.5){\circle*{1}}
  420.     \put(7.5,19.5){\circle*{1}}\put(7.5,20.5){\circle*{1}}
  421.     \put(7.5,21.5){\circle*{1}}\put(7.5,22.5){\circle*{1}}
  422.     \put(8.5,14.5){\circle*{1}}\put(8.5,15.5){\circle*{1}}
  423.     \put(9.5,16.5){\circle*{1}}\put(9.5,17.5){\circle*{1}}
  424.     \put(10.5,0.5){\circle*{1}}\put(10.5,18.5){\circle*{1}}
  425.     \put(10.5,19.5){\circle*{1}}\put(11.5,0.5){\circle*{1}}
  426.     \put(11.5,20.5){\circle*{1}}\put(12.5,1.5){\circle*{1}}
  427.     \put(12.5,21.5){\circle*{1}}\put(13.5,1.5){\circle*{1}}
  428.     \put(13.5,2.5){\circle*{1}}\put(13.5,21.5){\circle*{1}}
  429.     \put(14.5,2.5){\circle*{1}}\put(14.5,3.5){\circle*{1}}
  430.     \put(14.5,21.5){\circle*{1}}\put(15.5,3.5){\circle*{1}}
  431.     \put(15.5,4.5){\circle*{1}}\put(15.5,5.5){\circle*{1}}
  432.     \put(15.5,20.5){\circle*{1}}\put(15.5,21.5){\circle*{1}}
  433.     \put(16.5,4.5){\circle*{1}}\put(16.5,5.5){\circle*{1}}
  434.     \put(16.5,6.5){\circle*{1}}\put(16.5,7.5){\circle*{1}}
  435.     \put(16.5,8.5){\circle*{1}}\put(16.5,18.5){\circle*{1}}
  436.     \put(16.5,19.5){\circle*{1}}\put(16.5,20.5){\circle*{1}}
  437.     \put(17.5,6.5){\circle*{1}}\put(17.5,7.5){\circle*{1}}
  438.     \put(17.5,8.5){\circle*{1}}\put(17.5,9.5){\circle*{1}}
  439.     \put(17.5,10.5){\circle*{1}}\put(17.5,11.5){\circle*{1}}
  440.     \put(17.5,12.5){\circle*{1}}\put(17.5,13.5){\circle*{1}}
  441.     \put(17.5,14.5){\circle*{1}}\put(17.5,15.5){\circle*{1}}
  442.     \put(17.5,16.5){\circle*{1}}\put(17.5,17.5){\circle*{1}}
  443.     \put(17.5,18.5){\circle*{1}}\put(17.5,19.5){\circle*{1}}
  444.     \put(18.5,9.5){\circle*{1}}\put(18.5,10.5){\circle*{1}}
  445.     \put(18.5,11.5){\circle*{1}}\put(18.5,12.5){\circle*{1}}
  446.     \put(18.5,13.5){\circle*{1}}\put(18.5,14.5){\circle*{1}}
  447.     \put(18.5,15.5){\circle*{1}}\put(18.5,16.5){\circle*{1}}
  448.     \put(18.5,17.5){\circle*{1}}
  449.    \end{picture}}
  450.   \put(110,0){\usebox{\watashi}}
  451.   \put(140,0){%
  452.    \begin{picture}(28,26)(-2,-2)%Bitmap 2146
  453.     \put(1.5,0.5){\circle*{1}}\put(2.5,0.5){\circle*{1}}
  454.     \put(3.5,1.5){\circle*{1}}\put(4.5,2.5){\circle*{1}}
  455.     \put(4.5,3.5){\circle*{1}}\put(5.5,3.5){\circle*{1}}
  456.     \put(5.5,4.5){\circle*{1}}\put(5.5,5.5){\circle*{1}}
  457.     \put(5.5,6.5){\circle*{1}}\put(6.5,5.5){\circle*{1}}
  458.     \put(6.5,6.5){\circle*{1}}\put(6.5,7.5){\circle*{1}}
  459.     \put(6.5,8.5){\circle*{1}}\put(6.5,9.5){\circle*{1}}
  460.     \put(6.5,10.5){\circle*{1}}\put(6.5,11.5){\circle*{1}}
  461.     \put(6.5,12.5){\circle*{1}}\put(6.5,13.5){\circle*{1}}
  462.     \put(6.5,14.5){\circle*{1}}\put(6.5,15.5){\circle*{1}}
  463.     \put(6.5,16.5){\circle*{1}}\put(6.5,17.5){\circle*{1}}
  464.     \put(6.5,18.5){\circle*{1}}\put(6.5,19.5){\circle*{1}}
  465.     \put(6.5,20.5){\circle*{1}}\put(6.5,21.5){\circle*{1}}
  466.     \put(6.5,22.5){\circle*{1}}\put(6.5,23.5){\circle*{1}}
  467.     \put(7.5,7.5){\circle*{1}}\put(7.5,8.5){\circle*{1}}
  468.     \put(7.5,9.5){\circle*{1}}\put(7.5,10.5){\circle*{1}}
  469.     \put(7.5,11.5){\circle*{1}}\put(7.5,12.5){\circle*{1}}
  470.     \put(7.5,13.5){\circle*{1}}\put(7.5,14.5){\circle*{1}}
  471.     \put(7.5,15.5){\circle*{1}}\put(7.5,16.5){\circle*{1}}
  472.     \put(7.5,17.5){\circle*{1}}\put(7.5,18.5){\circle*{1}}
  473.     \put(7.5,19.5){\circle*{1}}\put(7.5,20.5){\circle*{1}}
  474.     \put(7.5,21.5){\circle*{1}}\put(7.5,22.5){\circle*{1}}
  475.     \put(8.5,10.5){\circle*{1}}\put(8.5,16.5){\circle*{1}}
  476.     \put(8.5,22.5){\circle*{1}}\put(9.5,10.5){\circle*{1}}
  477.     \put(9.5,16.5){\circle*{1}}\put(9.5,22.5){\circle*{1}}
  478.     \put(10.5,10.5){\circle*{1}}\put(10.5,16.5){\circle*{1}}
  479.     \put(10.5,22.5){\circle*{1}}\put(11.5,10.5){\circle*{1}}
  480.     \put(11.5,16.5){\circle*{1}}\put(11.5,22.5){\circle*{1}}
  481.     \put(12.5,10.5){\circle*{1}}\put(12.5,16.5){\circle*{1}}
  482.     \put(12.5,22.5){\circle*{1}}\put(13.5,10.5){\circle*{1}}
  483.     \put(13.5,16.5){\circle*{1}}\put(13.5,22.5){\circle*{1}}
  484.     \put(14.5,1.5){\circle*{1}}\put(14.5,10.5){\circle*{1}}
  485.     \put(14.5,16.5){\circle*{1}}\put(14.5,22.5){\circle*{1}}
  486.     \put(15.5,1.5){\circle*{1}}\put(15.5,10.5){\circle*{1}}
  487.     \put(15.5,16.5){\circle*{1}}\put(15.5,22.5){\circle*{1}}
  488.     \put(16.5,0.5){\circle*{1}}\put(16.5,1.5){\circle*{1}}
  489.     \put(16.5,10.5){\circle*{1}}\put(16.5,16.5){\circle*{1}}
  490.     \put(16.5,22.5){\circle*{1}}\put(17.5,0.5){\circle*{1}}
  491.     \put(17.5,1.5){\circle*{1}}\put(17.5,2.5){\circle*{1}}
  492.     \put(17.5,3.5){\circle*{1}}\put(17.5,4.5){\circle*{1}}
  493.     \put(17.5,5.5){\circle*{1}}\put(17.5,6.5){\circle*{1}}
  494.     \put(17.5,7.5){\circle*{1}}\put(17.5,8.5){\circle*{1}}
  495.     \put(17.5,9.5){\circle*{1}}\put(17.5,10.5){\circle*{1}}
  496.     \put(17.5,11.5){\circle*{1}}\put(17.5,12.5){\circle*{1}}
  497.     \put(17.5,13.5){\circle*{1}}\put(17.5,14.5){\circle*{1}}
  498.     \put(17.5,15.5){\circle*{1}}\put(17.5,16.5){\circle*{1}}
  499.     \put(17.5,17.5){\circle*{1}}\put(17.5,18.5){\circle*{1}}
  500.     \put(17.5,19.5){\circle*{1}}\put(17.5,20.5){\circle*{1}}
  501.     \put(17.5,21.5){\circle*{1}}\put(17.5,22.5){\circle*{1}}
  502.     \put(17.5,23.5){\circle*{1}}\put(18.5,1.5){\circle*{1}}
  503.     \put(18.5,2.5){\circle*{1}}\put(18.5,3.5){\circle*{1}}
  504.     \put(18.5,4.5){\circle*{1}}\put(18.5,5.5){\circle*{1}}
  505.     \put(18.5,6.5){\circle*{1}}\put(18.5,7.5){\circle*{1}}
  506.     \put(18.5,8.5){\circle*{1}}\put(18.5,9.5){\circle*{1}}
  507.     \put(18.5,10.5){\circle*{1}}\put(18.5,11.5){\circle*{1}}
  508.     \put(18.5,12.5){\circle*{1}}\put(18.5,13.5){\circle*{1}}
  509.     \put(18.5,14.5){\circle*{1}}\put(18.5,15.5){\circle*{1}}
  510.     \put(18.5,16.5){\circle*{1}}\put(18.5,17.5){\circle*{1}}
  511.     \put(18.5,18.5){\circle*{1}}\put(18.5,19.5){\circle*{1}}
  512.     \put(18.5,20.5){\circle*{1}}\put(18.5,21.5){\circle*{1}}
  513.     \put(18.5,22.5){\circle*{1}}\put(18.5,23.5){\circle*{1}}
  514.     \put(19.5,22.5){\circle*{1}}
  515.    \end{picture}}
  516.   \put(170,0){\usebox{\watashi}}
  517.   \put(200,0){%
  518.    \begin{picture}(28,26)(-2,-2)%Bitmap 2549
  519.     \put(4.5,0.5){\circle*{1}}\put(4.5,1.5){\circle*{1}}
  520.     \put(4.5,2.5){\circle*{1}}\put(4.5,3.5){\circle*{1}}
  521.     \put(4.5,4.5){\circle*{1}}\put(4.5,5.5){\circle*{1}}
  522.     \put(4.5,6.5){\circle*{1}}\put(4.5,7.5){\circle*{1}}
  523.     \put(4.5,8.5){\circle*{1}}\put(4.5,9.5){\circle*{1}}
  524.     \put(4.5,10.5){\circle*{1}}\put(4.5,11.5){\circle*{1}}
  525.     \put(4.5,12.5){\circle*{1}}\put(4.5,13.5){\circle*{1}}
  526.     \put(4.5,14.5){\circle*{1}}\put(4.5,15.5){\circle*{1}}
  527.     \put(4.5,16.5){\circle*{1}}\put(4.5,17.5){\circle*{1}}
  528.     \put(4.5,18.5){\circle*{1}}\put(4.5,19.5){\circle*{1}}
  529.     \put(4.5,20.5){\circle*{1}}\put(5.5,0.5){\circle*{1}}
  530.     \put(5.5,1.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  531.     \put(5.5,3.5){\circle*{1}}\put(5.5,4.5){\circle*{1}}
  532.     \put(5.5,5.5){\circle*{1}}\put(5.5,6.5){\circle*{1}}
  533.     \put(5.5,7.5){\circle*{1}}\put(5.5,8.5){\circle*{1}}
  534.     \put(5.5,9.5){\circle*{1}}\put(5.5,10.5){\circle*{1}}
  535.     \put(5.5,11.5){\circle*{1}}\put(5.5,12.5){\circle*{1}}
  536.     \put(5.5,13.5){\circle*{1}}\put(5.5,14.5){\circle*{1}}
  537.     \put(5.5,15.5){\circle*{1}}\put(5.5,16.5){\circle*{1}}
  538.     \put(5.5,17.5){\circle*{1}}\put(5.5,18.5){\circle*{1}}
  539.     \put(5.5,19.5){\circle*{1}}\put(6.5,1.5){\circle*{1}}
  540.     \put(6.5,7.5){\circle*{1}}\put(6.5,13.5){\circle*{1}}
  541.     \put(6.5,19.5){\circle*{1}}\put(7.5,1.5){\circle*{1}}
  542.     \put(7.5,7.5){\circle*{1}}\put(7.5,13.5){\circle*{1}}
  543.     \put(7.5,19.5){\circle*{1}}\put(8.5,1.5){\circle*{1}}
  544.     \put(8.5,7.5){\circle*{1}}\put(8.5,13.5){\circle*{1}}
  545.     \put(8.5,19.5){\circle*{1}}\put(9.5,1.5){\circle*{1}}
  546.     \put(9.5,7.5){\circle*{1}}\put(9.5,13.5){\circle*{1}}
  547.     \put(9.5,19.5){\circle*{1}}\put(10.5,1.5){\circle*{1}}
  548.     \put(10.5,7.5){\circle*{1}}\put(10.5,13.5){\circle*{1}}
  549.     \put(10.5,19.5){\circle*{1}}\put(10.5,20.5){\circle*{1}}
  550.     \put(10.5,21.5){\circle*{1}}\put(10.5,22.5){\circle*{1}}
  551.     \put(10.5,23.5){\circle*{1}}\put(11.5,1.5){\circle*{1}}
  552.     \put(11.5,7.5){\circle*{1}}\put(11.5,13.5){\circle*{1}}
  553.     \put(11.5,19.5){\circle*{1}}\put(11.5,21.5){\circle*{1}}
  554.     \put(11.5,22.5){\circle*{1}}\put(12.5,1.5){\circle*{1}}
  555.     \put(12.5,7.5){\circle*{1}}\put(12.5,13.5){\circle*{1}}
  556.     \put(12.5,19.5){\circle*{1}}\put(12.5,22.5){\circle*{1}}
  557.     \put(13.5,1.5){\circle*{1}}\put(13.5,7.5){\circle*{1}}
  558.     \put(13.5,13.5){\circle*{1}}\put(13.5,19.5){\circle*{1}}
  559.     \put(14.5,1.5){\circle*{1}}\put(14.5,7.5){\circle*{1}}
  560.     \put(14.5,13.5){\circle*{1}}\put(14.5,19.5){\circle*{1}}
  561.     \put(15.5,1.5){\circle*{1}}\put(15.5,7.5){\circle*{1}}
  562.     \put(15.5,13.5){\circle*{1}}\put(15.5,19.5){\circle*{1}}
  563.     \put(16.5,1.5){\circle*{1}}\put(16.5,7.5){\circle*{1}}
  564.     \put(16.5,13.5){\circle*{1}}\put(16.5,19.5){\circle*{1}}
  565.     \put(17.5,1.5){\circle*{1}}\put(17.5,7.5){\circle*{1}}
  566.     \put(17.5,13.5){\circle*{1}}\put(17.5,19.5){\circle*{1}}
  567.     \put(18.5,0.5){\circle*{1}}\put(18.5,1.5){\circle*{1}}
  568.     \put(18.5,2.5){\circle*{1}}\put(18.5,3.5){\circle*{1}}
  569.     \put(18.5,4.5){\circle*{1}}\put(18.5,5.5){\circle*{1}}
  570.     \put(18.5,6.5){\circle*{1}}\put(18.5,7.5){\circle*{1}}
  571.     \put(18.5,8.5){\circle*{1}}\put(18.5,9.5){\circle*{1}}
  572.     \put(18.5,10.5){\circle*{1}}\put(18.5,11.5){\circle*{1}}
  573.     \put(18.5,12.5){\circle*{1}}\put(18.5,13.5){\circle*{1}}
  574.     \put(18.5,14.5){\circle*{1}}\put(18.5,15.5){\circle*{1}}
  575.     \put(18.5,16.5){\circle*{1}}\put(18.5,17.5){\circle*{1}}
  576.     \put(18.5,18.5){\circle*{1}}\put(18.5,19.5){\circle*{1}}
  577.     \put(18.5,20.5){\circle*{1}}\put(19.5,0.5){\circle*{1}}
  578.     \put(19.5,1.5){\circle*{1}}\put(19.5,2.5){\circle*{1}}
  579.     \put(19.5,3.5){\circle*{1}}\put(19.5,4.5){\circle*{1}}
  580.     \put(19.5,5.5){\circle*{1}}\put(19.5,6.5){\circle*{1}}
  581.     \put(19.5,7.5){\circle*{1}}\put(19.5,8.5){\circle*{1}}
  582.     \put(19.5,9.5){\circle*{1}}\put(19.5,10.5){\circle*{1}}
  583.     \put(19.5,11.5){\circle*{1}}\put(19.5,12.5){\circle*{1}}
  584.     \put(19.5,13.5){\circle*{1}}\put(19.5,14.5){\circle*{1}}
  585.     \put(19.5,15.5){\circle*{1}}\put(19.5,16.5){\circle*{1}}
  586.     \put(19.5,17.5){\circle*{1}}\put(19.5,18.5){\circle*{1}}
  587.     \put(19.5,19.5){\circle*{1}}\put(19.5,20.5){\circle*{1}}
  588.     \put(20.5,19.5){\circle*{1}}
  589.    \end{picture}}
  590.  \end{picture}
  591.  \hspace{1cm}
  592.  \begin{picture}(250,28)
  593.   \thinlines
  594.   \put(0,0){\line(1,0){250}}
  595.   \put(38,0){%
  596.    \begin{picture}(22,26)(-2,-2)%Bitmap 2988
  597.     \put(0.5,0.5){\circle*{1}}\put(0.5,1.5){\circle*{1}}
  598.     \put(0.5,2.5){\circle*{1}}\put(0.5,3.5){\circle*{1}}
  599.     \put(0.5,4.5){\circle*{1}}\put(0.5,5.5){\circle*{1}}
  600.     \put(0.5,6.5){\circle*{1}}\put(0.5,7.5){\circle*{1}}
  601.     \put(0.5,8.5){\circle*{1}}\put(0.5,9.5){\circle*{1}}
  602.     \put(0.5,10.5){\circle*{1}}\put(0.5,11.5){\circle*{1}}
  603.     \put(1.5,0.5){\circle*{1}}\put(1.5,1.5){\circle*{1}}
  604.     \put(1.5,2.5){\circle*{1}}\put(1.5,3.5){\circle*{1}}
  605.     \put(1.5,4.5){\circle*{1}}\put(1.5,5.5){\circle*{1}}
  606.     \put(1.5,6.5){\circle*{1}}\put(1.5,7.5){\circle*{1}}
  607.     \put(1.5,8.5){\circle*{1}}\put(1.5,9.5){\circle*{1}}
  608.     \put(1.5,10.5){\circle*{1}}\put(2.5,2.5){\circle*{1}}
  609.     \put(2.5,10.5){\circle*{1}}\put(3.5,2.5){\circle*{1}}
  610.     \put(3.5,10.5){\circle*{1}}\put(4.5,2.5){\circle*{1}}
  611.     \put(4.5,10.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  612.     \put(5.5,10.5){\circle*{1}}\put(6.5,2.5){\circle*{1}}
  613.     \put(6.5,10.5){\circle*{1}}\put(7.5,2.5){\circle*{1}}
  614.     \put(7.5,10.5){\circle*{1}}\put(7.5,11.5){\circle*{1}}
  615.     \put(7.5,12.5){\circle*{1}}\put(7.5,13.5){\circle*{1}}
  616.     \put(7.5,14.5){\circle*{1}}\put(7.5,15.5){\circle*{1}}
  617.     \put(7.5,16.5){\circle*{1}}\put(7.5,17.5){\circle*{1}}
  618.     \put(7.5,18.5){\circle*{1}}\put(7.5,19.5){\circle*{1}}
  619.     \put(7.5,20.5){\circle*{1}}\put(7.5,21.5){\circle*{1}}
  620.     \put(7.5,22.5){\circle*{1}}\put(7.5,23.5){\circle*{1}}
  621.     \put(8.5,2.5){\circle*{1}}\put(8.5,10.5){\circle*{1}}
  622.     \put(8.5,11.5){\circle*{1}}\put(8.5,12.5){\circle*{1}}
  623.     \put(8.5,13.5){\circle*{1}}\put(8.5,14.5){\circle*{1}}
  624.     \put(8.5,15.5){\circle*{1}}\put(8.5,16.5){\circle*{1}}
  625.     \put(8.5,17.5){\circle*{1}}\put(8.5,18.5){\circle*{1}}
  626.     \put(8.5,19.5){\circle*{1}}\put(8.5,20.5){\circle*{1}}
  627.     \put(8.5,21.5){\circle*{1}}\put(8.5,22.5){\circle*{1}}
  628.     \put(8.5,23.5){\circle*{1}}\put(9.5,2.5){\circle*{1}}
  629.     \put(9.5,10.5){\circle*{1}}\put(9.5,17.5){\circle*{1}}
  630.     \put(9.5,23.5){\circle*{1}}\put(10.5,2.5){\circle*{1}}
  631.     \put(10.5,10.5){\circle*{1}}\put(10.5,17.5){\circle*{1}}
  632.     \put(11.5,2.5){\circle*{1}}\put(11.5,10.5){\circle*{1}}
  633.     \put(11.5,17.5){\circle*{1}}\put(12.5,2.5){\circle*{1}}
  634.     \put(12.5,10.5){\circle*{1}}\put(12.5,17.5){\circle*{1}}
  635.     \put(13.5,2.5){\circle*{1}}\put(13.5,10.5){\circle*{1}}
  636.     \put(13.5,17.5){\circle*{1}}\put(14.5,0.5){\circle*{1}}
  637.     \put(14.5,1.5){\circle*{1}}\put(14.5,2.5){\circle*{1}}
  638.     \put(14.5,3.5){\circle*{1}}\put(14.5,4.5){\circle*{1}}
  639.     \put(14.5,5.5){\circle*{1}}\put(14.5,6.5){\circle*{1}}
  640.     \put(14.5,7.5){\circle*{1}}\put(14.5,8.5){\circle*{1}}
  641.     \put(14.5,9.5){\circle*{1}}\put(14.5,10.5){\circle*{1}}
  642.     \put(14.5,11.5){\circle*{1}}\put(14.5,17.5){\circle*{1}}
  643.     \put(15.5,0.5){\circle*{1}}\put(15.5,1.5){\circle*{1}}
  644.     \put(15.5,2.5){\circle*{1}}\put(15.5,3.5){\circle*{1}}
  645.     \put(15.5,4.5){\circle*{1}}\put(15.5,5.5){\circle*{1}}
  646.     \put(15.5,6.5){\circle*{1}}\put(15.5,7.5){\circle*{1}}
  647.     \put(15.5,8.5){\circle*{1}}\put(15.5,9.5){\circle*{1}}
  648.     \put(15.5,10.5){\circle*{1}}\put(15.5,11.5){\circle*{1}}
  649.     \put(15.5,17.5){\circle*{1}}\put(15.5,18.5){\circle*{1}}
  650.     \put(16.5,10.5){\circle*{1}}\put(16.5,17.5){\circle*{1}}
  651.     \put(16.5,18.5){\circle*{1}}\put(17.5,17.5){\circle*{1}}
  652.    \end{picture}}
  653.   \put(62,0){\usebox{\watashi}}
  654.   \put(92,0){%
  655.    \begin{picture}(21,26)(-2,-2)%Bitmap 3570
  656.     \put(0.5,0.5){\circle*{1}}\put(0.5,1.5){\circle*{1}}
  657.     \put(0.5,2.5){\circle*{1}}\put(0.5,3.5){\circle*{1}}
  658.     \put(0.5,4.5){\circle*{1}}\put(0.5,5.5){\circle*{1}}
  659.     \put(0.5,6.5){\circle*{1}}\put(0.5,7.5){\circle*{1}}
  660.     \put(0.5,8.5){\circle*{1}}\put(0.5,9.5){\circle*{1}}
  661.     \put(0.5,10.5){\circle*{1}}\put(0.5,11.5){\circle*{1}}
  662.     \put(0.5,12.5){\circle*{1}}\put(0.5,13.5){\circle*{1}}
  663.     \put(0.5,14.5){\circle*{1}}\put(0.5,15.5){\circle*{1}}
  664.     \put(0.5,16.5){\circle*{1}}\put(0.5,17.5){\circle*{1}}
  665.     \put(0.5,18.5){\circle*{1}}\put(0.5,19.5){\circle*{1}}
  666.     \put(0.5,20.5){\circle*{1}}\put(0.5,21.5){\circle*{1}}
  667.     \put(0.5,22.5){\circle*{1}}\put(1.5,0.5){\circle*{1}}
  668.     \put(1.5,1.5){\circle*{1}}\put(1.5,2.5){\circle*{1}}
  669.     \put(1.5,3.5){\circle*{1}}\put(1.5,4.5){\circle*{1}}
  670.     \put(1.5,5.5){\circle*{1}}\put(1.5,6.5){\circle*{1}}
  671.     \put(1.5,7.5){\circle*{1}}\put(1.5,8.5){\circle*{1}}
  672.     \put(1.5,9.5){\circle*{1}}\put(1.5,10.5){\circle*{1}}
  673.     \put(1.5,11.5){\circle*{1}}\put(1.5,12.5){\circle*{1}}
  674.     \put(1.5,13.5){\circle*{1}}\put(1.5,14.5){\circle*{1}}
  675.     \put(1.5,15.5){\circle*{1}}\put(1.5,16.5){\circle*{1}}
  676.     \put(1.5,17.5){\circle*{1}}\put(1.5,18.5){\circle*{1}}
  677.     \put(1.5,19.5){\circle*{1}}\put(1.5,20.5){\circle*{1}}
  678.     \put(1.5,21.5){\circle*{1}}\put(2.5,2.5){\circle*{1}}
  679.     \put(2.5,12.5){\circle*{1}}\put(2.5,21.5){\circle*{1}}
  680.     \put(3.5,2.5){\circle*{1}}\put(3.5,12.5){\circle*{1}}
  681.     \put(3.5,21.5){\circle*{1}}\put(4.5,2.5){\circle*{1}}
  682.     \put(4.5,12.5){\circle*{1}}\put(4.5,21.5){\circle*{1}}
  683.     \put(5.5,2.5){\circle*{1}}\put(5.5,12.5){\circle*{1}}
  684.     \put(5.5,21.5){\circle*{1}}\put(6.5,2.5){\circle*{1}}
  685.     \put(6.5,12.5){\circle*{1}}\put(6.5,21.5){\circle*{1}}
  686.     \put(7.5,2.5){\circle*{1}}\put(7.5,12.5){\circle*{1}}
  687.     \put(7.5,21.5){\circle*{1}}\put(8.5,2.5){\circle*{1}}
  688.     \put(8.5,12.5){\circle*{1}}\put(8.5,21.5){\circle*{1}}
  689.     \put(9.5,2.5){\circle*{1}}\put(9.5,12.5){\circle*{1}}
  690.     \put(9.5,21.5){\circle*{1}}\put(10.5,2.5){\circle*{1}}
  691.     \put(10.5,12.5){\circle*{1}}\put(10.5,21.5){\circle*{1}}
  692.     \put(11.5,2.5){\circle*{1}}\put(11.5,12.5){\circle*{1}}
  693.     \put(11.5,21.5){\circle*{1}}\put(12.5,2.5){\circle*{1}}
  694.     \put(12.5,12.5){\circle*{1}}\put(12.5,21.5){\circle*{1}}
  695.     \put(13.5,2.5){\circle*{1}}\put(13.5,12.5){\circle*{1}}
  696.     \put(13.5,21.5){\circle*{1}}\put(14.5,0.5){\circle*{1}}
  697.     \put(14.5,1.5){\circle*{1}}\put(14.5,2.5){\circle*{1}}
  698.     \put(14.5,3.5){\circle*{1}}\put(14.5,4.5){\circle*{1}}
  699.     \put(14.5,5.5){\circle*{1}}\put(14.5,6.5){\circle*{1}}
  700.     \put(14.5,7.5){\circle*{1}}\put(14.5,8.5){\circle*{1}}
  701.     \put(14.5,9.5){\circle*{1}}\put(14.5,10.5){\circle*{1}}
  702.     \put(14.5,11.5){\circle*{1}}\put(14.5,12.5){\circle*{1}}
  703.     \put(14.5,13.5){\circle*{1}}\put(14.5,14.5){\circle*{1}}
  704.     \put(14.5,15.5){\circle*{1}}\put(14.5,16.5){\circle*{1}}
  705.     \put(14.5,17.5){\circle*{1}}\put(14.5,18.5){\circle*{1}}
  706.     \put(14.5,19.5){\circle*{1}}\put(14.5,20.5){\circle*{1}}
  707.     \put(14.5,21.5){\circle*{1}}\put(14.5,22.5){\circle*{1}}
  708.     \put(15.5,0.5){\circle*{1}}\put(15.5,1.5){\circle*{1}}
  709.     \put(15.5,2.5){\circle*{1}}\put(15.5,3.5){\circle*{1}}
  710.     \put(15.5,4.5){\circle*{1}}\put(15.5,5.5){\circle*{1}}
  711.     \put(15.5,6.5){\circle*{1}}\put(15.5,7.5){\circle*{1}}
  712.     \put(15.5,8.5){\circle*{1}}\put(15.5,9.5){\circle*{1}}
  713.     \put(15.5,10.5){\circle*{1}}\put(15.5,11.5){\circle*{1}}
  714.     \put(15.5,12.5){\circle*{1}}\put(15.5,13.5){\circle*{1}}
  715.     \put(15.5,14.5){\circle*{1}}\put(15.5,15.5){\circle*{1}}
  716.     \put(15.5,16.5){\circle*{1}}\put(15.5,17.5){\circle*{1}}
  717.     \put(15.5,18.5){\circle*{1}}\put(15.5,19.5){\circle*{1}}
  718.     \put(15.5,20.5){\circle*{1}}\put(15.5,21.5){\circle*{1}}
  719.     \put(15.5,22.5){\circle*{1}}\put(16.5,21.5){\circle*{1}}
  720.    \end{picture}}
  721.   \put(115,0){\usebox{\watashi}}
  722.   \put(145,0){%
  723.    \begin{picture}(16,26)(-2,-2)%Bitmap 3994
  724.     \put(0.5,0.5){\circle*{1}}\put(0.5,1.5){\circle*{1}}
  725.     \put(0.5,2.5){\circle*{1}}\put(0.5,3.5){\circle*{1}}
  726.     \put(0.5,4.5){\circle*{1}}\put(0.5,5.5){\circle*{1}}
  727.     \put(0.5,6.5){\circle*{1}}\put(0.5,7.5){\circle*{1}}
  728.     \put(0.5,8.5){\circle*{1}}\put(0.5,9.5){\circle*{1}}
  729.     \put(0.5,10.5){\circle*{1}}\put(0.5,11.5){\circle*{1}}
  730.     \put(0.5,12.5){\circle*{1}}\put(0.5,13.5){\circle*{1}}
  731.     \put(0.5,14.5){\circle*{1}}\put(0.5,15.5){\circle*{1}}
  732.     \put(0.5,16.5){\circle*{1}}\put(0.5,17.5){\circle*{1}}
  733.     \put(0.5,18.5){\circle*{1}}\put(0.5,19.5){\circle*{1}}
  734.     \put(0.5,20.5){\circle*{1}}\put(0.5,21.5){\circle*{1}}
  735.     \put(0.5,22.5){\circle*{1}}\put(0.5,23.5){\circle*{1}}
  736.     \put(1.5,0.5){\circle*{1}}\put(1.5,1.5){\circle*{1}}
  737.     \put(1.5,2.5){\circle*{1}}\put(1.5,3.5){\circle*{1}}
  738.     \put(1.5,4.5){\circle*{1}}\put(1.5,5.5){\circle*{1}}
  739.     \put(1.5,6.5){\circle*{1}}\put(1.5,7.5){\circle*{1}}
  740.     \put(1.5,8.5){\circle*{1}}\put(1.5,9.5){\circle*{1}}
  741.     \put(1.5,10.5){\circle*{1}}\put(1.5,11.5){\circle*{1}}
  742.     \put(1.5,12.5){\circle*{1}}\put(1.5,13.5){\circle*{1}}
  743.     \put(1.5,14.5){\circle*{1}}\put(1.5,15.5){\circle*{1}}
  744.     \put(1.5,16.5){\circle*{1}}\put(1.5,17.5){\circle*{1}}
  745.     \put(1.5,18.5){\circle*{1}}\put(1.5,19.5){\circle*{1}}
  746.     \put(1.5,20.5){\circle*{1}}\put(1.5,21.5){\circle*{1}}
  747.     \put(1.5,22.5){\circle*{1}}\put(1.5,23.5){\circle*{1}}
  748.     \put(2.5,15.5){\circle*{1}}\put(2.5,23.5){\circle*{1}}
  749.     \put(3.5,15.5){\circle*{1}}\put(4.5,14.5){\circle*{1}}
  750.     \put(5.5,14.5){\circle*{1}}\put(6.5,13.5){\circle*{1}}
  751.     \put(7.5,12.5){\circle*{1}}\put(7.5,13.5){\circle*{1}}
  752.     \put(8.5,11.5){\circle*{1}}\put(8.5,12.5){\circle*{1}}
  753.     \put(9.5,10.5){\circle*{1}}\put(9.5,11.5){\circle*{1}}
  754.     \put(9.5,12.5){\circle*{1}}\put(10.5,9.5){\circle*{1}}
  755.     \put(10.5,10.5){\circle*{1}}\put(10.5,11.5){\circle*{1}}
  756.     \put(11.5,9.5){\circle*{1}}\put(11.5,10.5){\circle*{1}}
  757.    \end{picture}}
  758.   \put(163,0){\usebox{\watashi}}
  759.   \put(193,0){%
  760.    \begin{picture}(17,26)(-2,-2)%Bitmap 4645
  761.     \put(0.5,0.5){\circle*{1}}\put(0.5,1.5){\circle*{1}}
  762.     \put(0.5,2.5){\circle*{1}}\put(0.5,3.5){\circle*{1}}
  763.     \put(0.5,4.5){\circle*{1}}\put(0.5,5.5){\circle*{1}}
  764.     \put(0.5,6.5){\circle*{1}}\put(0.5,7.5){\circle*{1}}
  765.     \put(0.5,8.5){\circle*{1}}\put(0.5,9.5){\circle*{1}}
  766.     \put(0.5,10.5){\circle*{1}}\put(0.5,11.5){\circle*{1}}
  767.     \put(0.5,12.5){\circle*{1}}\put(0.5,13.5){\circle*{1}}
  768.     \put(0.5,14.5){\circle*{1}}\put(0.5,15.5){\circle*{1}}
  769.     \put(0.5,16.5){\circle*{1}}\put(0.5,17.5){\circle*{1}}
  770.     \put(0.5,18.5){\circle*{1}}\put(0.5,19.5){\circle*{1}}
  771.     \put(0.5,20.5){\circle*{1}}\put(0.5,21.5){\circle*{1}}
  772.     \put(0.5,22.5){\circle*{1}}\put(1.5,0.5){\circle*{1}}
  773.     \put(1.5,1.5){\circle*{1}}\put(1.5,2.5){\circle*{1}}
  774.     \put(1.5,3.5){\circle*{1}}\put(1.5,4.5){\circle*{1}}
  775.     \put(1.5,5.5){\circle*{1}}\put(1.5,6.5){\circle*{1}}
  776.     \put(1.5,7.5){\circle*{1}}\put(1.5,8.5){\circle*{1}}
  777.     \put(1.5,9.5){\circle*{1}}\put(1.5,10.5){\circle*{1}}
  778.     \put(1.5,11.5){\circle*{1}}\put(1.5,12.5){\circle*{1}}
  779.     \put(1.5,13.5){\circle*{1}}\put(1.5,14.5){\circle*{1}}
  780.     \put(1.5,15.5){\circle*{1}}\put(1.5,16.5){\circle*{1}}
  781.     \put(1.5,17.5){\circle*{1}}\put(1.5,18.5){\circle*{1}}
  782.     \put(1.5,19.5){\circle*{1}}\put(1.5,20.5){\circle*{1}}
  783.     \put(1.5,21.5){\circle*{1}}\put(2.5,21.5){\circle*{1}}
  784.     \put(3.5,21.5){\circle*{1}}\put(4.5,21.5){\circle*{1}}
  785.     \put(5.5,21.5){\circle*{1}}\put(6.5,7.5){\circle*{1}}
  786.     \put(6.5,21.5){\circle*{1}}\put(7.5,7.5){\circle*{1}}
  787.     \put(7.5,21.5){\circle*{1}}\put(8.5,6.5){\circle*{1}}
  788.     \put(8.5,7.5){\circle*{1}}\put(8.5,21.5){\circle*{1}}
  789.     \put(9.5,6.5){\circle*{1}}\put(9.5,7.5){\circle*{1}}
  790.     \put(9.5,21.5){\circle*{1}}\put(10.5,6.5){\circle*{1}}
  791.     \put(10.5,7.5){\circle*{1}}\put(10.5,8.5){\circle*{1}}
  792.     \put(10.5,9.5){\circle*{1}}\put(10.5,10.5){\circle*{1}}
  793.     \put(10.5,11.5){\circle*{1}}\put(10.5,12.5){\circle*{1}}
  794.     \put(10.5,13.5){\circle*{1}}\put(10.5,14.5){\circle*{1}}
  795.     \put(10.5,15.5){\circle*{1}}\put(10.5,16.5){\circle*{1}}
  796.     \put(10.5,17.5){\circle*{1}}\put(10.5,18.5){\circle*{1}}
  797.     \put(10.5,19.5){\circle*{1}}\put(10.5,20.5){\circle*{1}}
  798.     \put(10.5,21.5){\circle*{1}}\put(10.5,22.5){\circle*{1}}
  799.     \put(11.5,7.5){\circle*{1}}\put(11.5,8.5){\circle*{1}}
  800.     \put(11.5,9.5){\circle*{1}}\put(11.5,10.5){\circle*{1}}
  801.     \put(11.5,11.5){\circle*{1}}\put(11.5,12.5){\circle*{1}}
  802.     \put(11.5,13.5){\circle*{1}}\put(11.5,14.5){\circle*{1}}
  803.     \put(11.5,15.5){\circle*{1}}\put(11.5,16.5){\circle*{1}}
  804.     \put(11.5,17.5){\circle*{1}}\put(11.5,18.5){\circle*{1}}
  805.     \put(11.5,19.5){\circle*{1}}\put(11.5,20.5){\circle*{1}}
  806.     \put(11.5,21.5){\circle*{1}}\put(11.5,22.5){\circle*{1}}
  807.     \put(12.5,21.5){\circle*{1}}
  808.    \end{picture}}
  809.  \end{picture}
  810.  \sbox{\watashi}{}
  811. \end{center}
  812.  
  813. The japanese characters on the left have a fixed width. The characters on the 
  814. right have a minimized width, just like ordinary english characters. 
  815. Personally, I find that minimized width is desirable when writing japanese 
  816. horizontally. Also note that although this is not visible in these two 
  817. examples, the japanese characters are as short as possible while respecting the 
  818. vertical relationship with their horizontal baseline. 
  819.  
  820. Let us now consider vertical roman writing. If one was to simply reverse the 
  821. previous argument regarding roman characters and their horizontal baseline, one 
  822. would conclude that it is important to minimize the height of each roman 
  823. character. However, the width of each character would be unimportant. It is the 
  824. horizontal relationship between the roman character and the vertical baseline 
  825. that would appear crucial. 
  826.  
  827. That reasoning could be correct if there was such a thing as vertical roman 
  828. writing, but it fails in the japanese case for two good reasons. First of all, 
  829. there is no vertical baseline available in \MFT. That implies that the concept 
  830. of an horizontal relationship between a japanese character and its vertical 
  831. baseline is undefined. The next best thing available to us is to use fixed 
  832. width japanese characters. In such a case, the sought horizontal relationship 
  833. is implied in the bitmap itself. 
  834.  
  835. Secondly, some japanese characters can be constructed by piling up other 
  836. characters on top of one another. For example, consider the characters two, 
  837. one, and three: 
  838. \begin{center}
  839.  \setlength{\unitlength}{0.4pt}
  840.  \begin{picture}(30,94)(0,-10)
  841.   \thinlines
  842.   \put(0,-10){\line(0,1){104}}
  843.   \put(0,56){%
  844.     \begin{picture}(28,26)(-2,-2)%Bitmap 3561 ni
  845.      \put(0.5,2.5){\circle*{1}}\put(1.5,2.5){\circle*{1}}
  846.      \put(2.5,2.5){\circle*{1}}\put(3.5,2.5){\circle*{1}}
  847.      \put(3.5,20.5){\circle*{1}}\put(4.5,2.5){\circle*{1}}
  848.      \put(4.5,20.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  849.      \put(5.5,20.5){\circle*{1}}\put(6.5,2.5){\circle*{1}}
  850.      \put(6.5,20.5){\circle*{1}}\put(7.5,2.5){\circle*{1}}
  851.      \put(7.5,20.5){\circle*{1}}\put(8.5,2.5){\circle*{1}}
  852.      \put(8.5,20.5){\circle*{1}}\put(9.5,2.5){\circle*{1}}
  853.      \put(9.5,20.5){\circle*{1}}\put(10.5,2.5){\circle*{1}}
  854.      \put(10.5,20.5){\circle*{1}}\put(11.5,2.5){\circle*{1}}
  855.      \put(11.5,20.5){\circle*{1}}\put(12.5,2.5){\circle*{1}}
  856.      \put(12.5,20.5){\circle*{1}}\put(13.5,2.5){\circle*{1}}
  857.      \put(13.5,20.5){\circle*{1}}\put(14.5,2.5){\circle*{1}}
  858.      \put(14.5,20.5){\circle*{1}}\put(15.5,2.5){\circle*{1}}
  859.      \put(15.5,20.5){\circle*{1}}\put(16.5,2.5){\circle*{1}}
  860.      \put(16.5,20.5){\circle*{1}}\put(17.5,2.5){\circle*{1}}
  861.      \put(17.5,20.5){\circle*{1}}\put(18.5,2.5){\circle*{1}}
  862.      \put(18.5,20.5){\circle*{1}}\put(18.5,21.5){\circle*{1}}
  863.      \put(19.5,2.5){\circle*{1}}\put(19.5,20.5){\circle*{1}}
  864.      \put(19.5,21.5){\circle*{1}}\put(20.5,2.5){\circle*{1}}
  865.      \put(20.5,20.5){\circle*{1}}\put(21.5,2.5){\circle*{1}}
  866.      \put(21.5,3.5){\circle*{1}}\put(22.5,2.5){\circle*{1}}
  867.      \put(22.5,3.5){\circle*{1}}\put(23.5,2.5){\circle*{1}}
  868.     \end{picture}}
  869.   \put(0,28){%
  870.     \begin{picture}(28,26)(-2,-2)%Bitmap 1486 ichi
  871.      \put(0.5,12.5){\circle*{1}}\put(1.5,12.5){\circle*{1}}
  872.      \put(2.5,12.5){\circle*{1}}\put(3.5,12.5){\circle*{1}}
  873.      \put(4.5,12.5){\circle*{1}}\put(5.5,12.5){\circle*{1}}
  874.      \put(6.5,12.5){\circle*{1}}\put(7.5,12.5){\circle*{1}}
  875.      \put(8.5,12.5){\circle*{1}}\put(9.5,12.5){\circle*{1}}
  876.      \put(10.5,12.5){\circle*{1}}\put(11.5,12.5){\circle*{1}}
  877.      \put(12.5,12.5){\circle*{1}}\put(13.5,12.5){\circle*{1}}
  878.      \put(14.5,12.5){\circle*{1}}\put(15.5,12.5){\circle*{1}}
  879.      \put(16.5,12.5){\circle*{1}}\put(17.5,12.5){\circle*{1}}
  880.      \put(18.5,12.5){\circle*{1}}\put(19.5,12.5){\circle*{1}}
  881.      \put(20.5,12.5){\circle*{1}}\put(20.5,13.5){\circle*{1}}
  882.      \put(21.5,12.5){\circle*{1}}\put(21.5,13.5){\circle*{1}}
  883.      \put(21.5,14.5){\circle*{1}}\put(22.5,12.5){\circle*{1}}
  884.      \put(22.5,13.5){\circle*{1}}\put(23.5,12.5){\circle*{1}}
  885.     \end{picture}}
  886.   \put(0,0){%
  887.     \begin{picture}(28,26)(-2,-2)%Bitmap 2460 san
  888.      \put(0.5,2.5){\circle*{1}}\put(1.5,2.5){\circle*{1}}
  889.      \put(2.5,2.5){\circle*{1}}\put(2.5,21.5){\circle*{1}}
  890.      \put(3.5,2.5){\circle*{1}}\put(3.5,21.5){\circle*{1}}
  891.      \put(4.5,2.5){\circle*{1}}\put(4.5,12.5){\circle*{1}}
  892.      \put(4.5,21.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  893.      \put(5.5,12.5){\circle*{1}}\put(5.5,21.5){\circle*{1}}
  894.      \put(6.5,2.5){\circle*{1}}\put(6.5,12.5){\circle*{1}}
  895.      \put(6.5,21.5){\circle*{1}}\put(7.5,2.5){\circle*{1}}
  896.      \put(7.5,12.5){\circle*{1}}\put(7.5,21.5){\circle*{1}}
  897.      \put(8.5,2.5){\circle*{1}}\put(8.5,12.5){\circle*{1}}
  898.      \put(8.5,21.5){\circle*{1}}\put(9.5,2.5){\circle*{1}}
  899.      \put(9.5,12.5){\circle*{1}}\put(9.5,21.5){\circle*{1}}
  900.      \put(10.5,2.5){\circle*{1}}\put(10.5,12.5){\circle*{1}}
  901.      \put(10.5,21.5){\circle*{1}}\put(11.5,2.5){\circle*{1}}
  902.      \put(11.5,12.5){\circle*{1}}\put(11.5,21.5){\circle*{1}}
  903.      \put(12.5,2.5){\circle*{1}}\put(12.5,12.5){\circle*{1}}
  904.      \put(12.5,21.5){\circle*{1}}\put(13.5,2.5){\circle*{1}}
  905.      \put(13.5,12.5){\circle*{1}}\put(13.5,21.5){\circle*{1}}
  906.      \put(14.5,2.5){\circle*{1}}\put(14.5,12.5){\circle*{1}}
  907.      \put(14.5,21.5){\circle*{1}}\put(15.5,2.5){\circle*{1}}
  908.      \put(15.5,12.5){\circle*{1}}\put(15.5,21.5){\circle*{1}}
  909.      \put(16.5,2.5){\circle*{1}}\put(16.5,12.5){\circle*{1}}
  910.      \put(16.5,21.5){\circle*{1}}\put(17.5,2.5){\circle*{1}}
  911.      \put(17.5,12.5){\circle*{1}}\put(17.5,13.5){\circle*{1}}
  912.      \put(17.5,21.5){\circle*{1}}\put(18.5,2.5){\circle*{1}}
  913.      \put(18.5,12.5){\circle*{1}}\put(18.5,13.5){\circle*{1}}
  914.      \put(18.5,21.5){\circle*{1}}\put(19.5,2.5){\circle*{1}}
  915.      \put(19.5,12.5){\circle*{1}}\put(19.5,21.5){\circle*{1}}
  916.      \put(19.5,22.5){\circle*{1}}\put(20.5,2.5){\circle*{1}}
  917.      \put(20.5,21.5){\circle*{1}}\put(20.5,22.5){\circle*{1}}
  918.      \put(21.5,2.5){\circle*{1}}\put(21.5,3.5){\circle*{1}}
  919.      \put(21.5,21.5){\circle*{1}}\put(22.5,2.5){\circle*{1}}
  920.      \put(22.5,3.5){\circle*{1}}\put(23.5,2.5){\circle*{1}}
  921.     \end{picture}}
  922.  \end{picture}
  923.  \hspace{1cm}
  924.  \begin{picture}(30,94)(0,-10)
  925.   \thinlines
  926.   \put(0,-10){\line(0,1){104}}
  927.   \put(0,45.5){%
  928.     \begin{picture}(28,23)(-2,0)%Bitmap 3561 ni
  929.      \put(0.5,2.5){\circle*{1}}\put(1.5,2.5){\circle*{1}}
  930.      \put(2.5,2.5){\circle*{1}}\put(3.5,2.5){\circle*{1}}
  931.      \put(3.5,20.5){\circle*{1}}\put(4.5,2.5){\circle*{1}}
  932.      \put(4.5,20.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  933.      \put(5.5,20.5){\circle*{1}}\put(6.5,2.5){\circle*{1}}
  934.      \put(6.5,20.5){\circle*{1}}\put(7.5,2.5){\circle*{1}}
  935.      \put(7.5,20.5){\circle*{1}}\put(8.5,2.5){\circle*{1}}
  936.      \put(8.5,20.5){\circle*{1}}\put(9.5,2.5){\circle*{1}}
  937.      \put(9.5,20.5){\circle*{1}}\put(10.5,2.5){\circle*{1}}
  938.      \put(10.5,20.5){\circle*{1}}\put(11.5,2.5){\circle*{1}}
  939.      \put(11.5,20.5){\circle*{1}}\put(12.5,2.5){\circle*{1}}
  940.      \put(12.5,20.5){\circle*{1}}\put(13.5,2.5){\circle*{1}}
  941.      \put(13.5,20.5){\circle*{1}}\put(14.5,2.5){\circle*{1}}
  942.      \put(14.5,20.5){\circle*{1}}\put(15.5,2.5){\circle*{1}}
  943.      \put(15.5,20.5){\circle*{1}}\put(16.5,2.5){\circle*{1}}
  944.      \put(16.5,20.5){\circle*{1}}\put(17.5,2.5){\circle*{1}}
  945.      \put(17.5,20.5){\circle*{1}}\put(18.5,2.5){\circle*{1}}
  946.      \put(18.5,20.5){\circle*{1}}\put(18.5,21.5){\circle*{1}}
  947.      \put(19.5,2.5){\circle*{1}}\put(19.5,20.5){\circle*{1}}
  948.      \put(19.5,21.5){\circle*{1}}\put(20.5,2.5){\circle*{1}}
  949.      \put(20.5,20.5){\circle*{1}}\put(21.5,2.5){\circle*{1}}
  950.      \put(21.5,3.5){\circle*{1}}\put(22.5,2.5){\circle*{1}}
  951.      \put(22.5,3.5){\circle*{1}}\put(23.5,2.5){\circle*{1}}
  952.     \end{picture}}
  953.   \put(0,39.5){%
  954.     \begin{picture}(28,16)(-2,10)%Bitmap 1486 ichi
  955.      \put(0.5,12.5){\circle*{1}}\put(1.5,12.5){\circle*{1}}
  956.      \put(2.5,12.5){\circle*{1}}\put(3.5,12.5){\circle*{1}}
  957.      \put(4.5,12.5){\circle*{1}}\put(5.5,12.5){\circle*{1}}
  958.      \put(6.5,12.5){\circle*{1}}\put(7.5,12.5){\circle*{1}}
  959.      \put(8.5,12.5){\circle*{1}}\put(9.5,12.5){\circle*{1}}
  960.      \put(10.5,12.5){\circle*{1}}\put(11.5,12.5){\circle*{1}}
  961.      \put(12.5,12.5){\circle*{1}}\put(13.5,12.5){\circle*{1}}
  962.      \put(14.5,12.5){\circle*{1}}\put(15.5,12.5){\circle*{1}}
  963.      \put(16.5,12.5){\circle*{1}}\put(17.5,12.5){\circle*{1}}
  964.      \put(18.5,12.5){\circle*{1}}\put(19.5,12.5){\circle*{1}}
  965.      \put(20.5,12.5){\circle*{1}}\put(20.5,13.5){\circle*{1}}
  966.      \put(21.5,12.5){\circle*{1}}\put(21.5,13.5){\circle*{1}}
  967.      \put(21.5,14.5){\circle*{1}}\put(22.5,12.5){\circle*{1}}
  968.      \put(22.5,13.5){\circle*{1}}\put(23.5,12.5){\circle*{1}}
  969.     \end{picture}}
  970.   \put(0,15.5){%
  971.     \begin{picture}(28,24)(-2,0)%Bitmap 2460 san
  972.      \put(0.5,2.5){\circle*{1}}\put(1.5,2.5){\circle*{1}}
  973.      \put(2.5,2.5){\circle*{1}}\put(2.5,21.5){\circle*{1}}
  974.      \put(3.5,2.5){\circle*{1}}\put(3.5,21.5){\circle*{1}}
  975.      \put(4.5,2.5){\circle*{1}}\put(4.5,12.5){\circle*{1}}
  976.      \put(4.5,21.5){\circle*{1}}\put(5.5,2.5){\circle*{1}}
  977.      \put(5.5,12.5){\circle*{1}}\put(5.5,21.5){\circle*{1}}
  978.      \put(6.5,2.5){\circle*{1}}\put(6.5,12.5){\circle*{1}}
  979.      \put(6.5,21.5){\circle*{1}}\put(7.5,2.5){\circle*{1}}
  980.      \put(7.5,12.5){\circle*{1}}\put(7.5,21.5){\circle*{1}}
  981.      \put(8.5,2.5){\circle*{1}}\put(8.5,12.5){\circle*{1}}
  982.      \put(8.5,21.5){\circle*{1}}\put(9.5,2.5){\circle*{1}}
  983.      \put(9.5,12.5){\circle*{1}}\put(9.5,21.5){\circle*{1}}
  984.      \put(10.5,2.5){\circle*{1}}\put(10.5,12.5){\circle*{1}}
  985.      \put(10.5,21.5){\circle*{1}}\put(11.5,2.5){\circle*{1}}
  986.      \put(11.5,12.5){\circle*{1}}\put(11.5,21.5){\circle*{1}}
  987.      \put(12.5,2.5){\circle*{1}}\put(12.5,12.5){\circle*{1}}
  988.      \put(12.5,21.5){\circle*{1}}\put(13.5,2.5){\circle*{1}}
  989.      \put(13.5,12.5){\circle*{1}}\put(13.5,21.5){\circle*{1}}
  990.      \put(14.5,2.5){\circle*{1}}\put(14.5,12.5){\circle*{1}}
  991.      \put(14.5,21.5){\circle*{1}}\put(15.5,2.5){\circle*{1}}
  992.      \put(15.5,12.5){\circle*{1}}\put(15.5,21.5){\circle*{1}}
  993.      \put(16.5,2.5){\circle*{1}}\put(16.5,12.5){\circle*{1}}
  994.      \put(16.5,21.5){\circle*{1}}\put(17.5,2.5){\circle*{1}}
  995.      \put(17.5,12.5){\circle*{1}}\put(17.5,13.5){\circle*{1}}
  996.      \put(17.5,21.5){\circle*{1}}\put(18.5,2.5){\circle*{1}}
  997.      \put(18.5,12.5){\circle*{1}}\put(18.5,13.5){\circle*{1}}
  998.      \put(18.5,21.5){\circle*{1}}\put(19.5,2.5){\circle*{1}}
  999.      \put(19.5,12.5){\circle*{1}}\put(19.5,21.5){\circle*{1}}
  1000.      \put(19.5,22.5){\circle*{1}}\put(20.5,2.5){\circle*{1}}
  1001.      \put(20.5,21.5){\circle*{1}}\put(20.5,22.5){\circle*{1}}
  1002.      \put(21.5,2.5){\circle*{1}}\put(21.5,3.5){\circle*{1}}
  1003.      \put(21.5,21.5){\circle*{1}}\put(22.5,2.5){\circle*{1}}
  1004.      \put(22.5,3.5){\circle*{1}}\put(23.5,2.5){\circle*{1}}
  1005.     \end{picture}}
  1006.  \end{picture}
  1007. \end{center}
  1008.  
  1009. The japanese characters on the right are harder to read than the ones on the 
  1010. left. This problem is partly alleviated if one uses vertically, characters with 
  1011. minimized height that have been created for horizontal use. As discussed 
  1012. before, the vertical distance between such characters and their horizontal 
  1013. baseline is respected. This space could occasionally act as breathing space if 
  1014. such horizontal characters were to be used vertically. But this is nevertheless 
  1015. not satisfactory since an incomplete and unnatural solution. The only way to 
  1016. avoid this problem altogether is to use fixed height characters when writing 
  1017. japanese vertically, just as was done in the left column. 
  1018.  
  1019. The conclusion seems clear. If you intend to use your \JemTeX\ fonts vertically 
  1020. with some vertical writing style unknown to me, you should definitely create 
  1021. fixed width and fixed height fonts. This is the only natural choice available. 
  1022. If you will use your fonts only horizontally, then you probably want minimized 
  1023. width fonts. Personally, I also minimized their height since the resulting 
  1024. fonts are slightly smaller in size. 
  1025.  
  1026. \label{positioning}
  1027.  
  1028. The second topic I would like to discuss here is relevant primarily for 
  1029. horizontal writing. Given intermixed roman and japanese characters, how should 
  1030. they relate to one another. More precisely, how tall should japanese characters 
  1031. be with respect to capital roman ones, and what vertical relationship should 
  1032. they have with their horizontal baseline. 
  1033.  
  1034. It is a fact that most japanese characters are far more complex than any given 
  1035. roman one. Therefore, japanese character should be relatively big. On the other 
  1036. hand, tall centered japanese characters will lie lower on the horizontal 
  1037. baseline than capital roman characters do, and will extend vertically more than 
  1038. capital roman ones do. Consequently, the reader's eyes might have to go up and 
  1039. down as they look over the text horizontally. A compromise is clearly called 
  1040. for. 
  1041.  
  1042. The first writing style considered here will be referred to as a {\em 
  1043. dictionary\/} style since usually used in japanese dictionaries. In this style, 
  1044. japanese characters are substantially taller than capital roman ones. This 
  1045. makes it possible to use small japanese characters along with even smaller 
  1046. roman ones to save space while maintaining readability. The japanese characters 
  1047. also lie quite low on the horizontal baseline and extend vertically exactly the 
  1048. same as capital roman characters do. Take a close look at your favorite 
  1049. japanese dictionary.
  1050.  
  1051. I will refer to a more conventional japanese font as a {\em standard\/} style. 
  1052. In this one, the japanese characters are still taller than capital roman ones, 
  1053. but by a smaller amount than before. The japanese characters lie a little bit 
  1054. lower on the horizontal baseline than capital roman characters do, and also 
  1055. extend a little bit more vertically than capital roman ones do. They are 
  1056. vertically centered as well as possible with respect to capital roman letter. 
  1057. Many users of \JemTeX\ requested such a font style.
  1058.  
  1059. Here again, you will have to decide which style you prefer. In the first two 
  1060. releases of \JemTeX, I used my japanese dictionaries to derive ideal font 
  1061. characteristics. Since then, numerous people taught me that dictionary fonts 
  1062. are quite specialized. Chances are you will want to use the standard style. 
  1063. Personally, I am now permanently switching to it.
  1064.  
  1065. \subsection{The {\tt JIS2MF} Code Generator}
  1066. \label{thejis2mfcodegenerator}
  1067.  
  1068. Given a bitmap, my program \verb"JIS2MF" can construct an equivalent continuous 
  1069. character and generate \MFT\ code for it. The \MFT\ program can then use this 
  1070. code to generate a standard \TeX\ font. You have been supplied with the source 
  1071. and the compressed compiled version of this Pascal program. Note that the file 
  1072. \verb"JIS24" should be available in the current directory to run \verb"JIS2MF". 
  1073. This fairly big file contains all the bitmaps making up the JIS~24 dot font. 
  1074.  
  1075. The first practical problem is to decide on font names and their content. Not 
  1076. everybody is running newer versions of \TeX\ and its drivers, allowing for 
  1077. 256~characters in a font. This includes me! Therefore, I put only 
  1078. 128~characters in my fonts. Unfortunately, this implies that I cannot use the 
  1079. same scheme as J\TeX\ since the latter uses 256~characters per font. However, I 
  1080. keep my new standard simple by organizing characters sequentially. I also leave 
  1081. character~0 of the first font empty so that character~$x$ of the first font 
  1082. corresponds to bitmap~$x$ of the JIS~24 dot font. 
  1083.  
  1084. \TeX\ does not allow numbers in font names. Therefore, the names \verb"kanji00" 
  1085. all the way to \verb"kanji60" are not possible. Table~\ref{thejemtexfonts} 
  1086. lists the names I am using.
  1087.  
  1088. \begin{table}[htb]
  1089.  \begin{center}
  1090.   \begin{footnotesize}
  1091.    \begin{tabular}{cccccccc}
  1092.     \verb"kanjiaa" & \verb"kanjiab" & \verb"kanjiac" & \verb"kanjiad" &
  1093.     \verb"kanjiae" & \verb"kanjiaf" & \verb"kanjiag" & \verb"kanjiah" \\
  1094.        $\vdots$    &    $\vdots$    &    $\vdots$    &    $\vdots$    &
  1095.        $\vdots$    &    $\vdots$    &    $\vdots$    &    $\vdots$    \\
  1096.     \verb"kanjiga" & \verb"kanjigb" & \verb"kanjigc" & \verb"kanjigd" &
  1097.     \verb"kanjige" & \verb"kanjigf" & \verb"kanjigg" & \verb"kanjigh" \\
  1098.     \verb"kanjiha" & \verb"kanjihb" & \verb"kanjihc" & \verb"kanjihd" &
  1099.     \verb"kanjihe"
  1100.    \end{tabular}
  1101.   \end{footnotesize}
  1102.  \end{center}
  1103.  \caption{The \JemTeX\ Fonts.}
  1104.  \label{thejemtexfonts}
  1105. \end{table}
  1106.  
  1107. \begin{table}[htb]
  1108.  \begin{center}
  1109.   \begin{minipage}{\textwidth}
  1110.    \begin{small}
  1111.     \begin{tabbing}
  1112.      \verb"kanjiaa": Beginning of common english and japanese characters. \\
  1113.      \verb"kanjiae": Most foreign characters.                             \\
  1114.      \verb"kanjiaf": Beginning of most extended characters.               \\
  1115.      \verb"kanjiba": First of three empty fonts.                          \\
  1116.      \verb"kanjibd": Beginning of level~1 kanjis.                         \\
  1117.      \verb"kanjiec": Transition between level~1 and level~2 kanjis.       \\
  1118.      \verb"kanjihe": End of level~2 kanjis.
  1119.     \end{tabbing}
  1120.    \end{small}
  1121.   \end{minipage}
  1122.  \end{center}
  1123.  \caption{Description of the \JemTeX\ Fonts.}
  1124.  \label{descriptionofthejemtexfonts}
  1125. \end{table}
  1126.  
  1127. Several users complained about the time necessary to generate these fonts, 
  1128. especially on the original 4.77~MHz IBM-PC. To help them decide which \JemTeX\ 
  1129. fonts they are likely to need, Table~\ref{descriptionofthejemtexfonts} contains 
  1130. a brief description of all of them. I found through daily use that I almost 
  1131. never use level~2 fonts. However, a typical 4~page document uses every level~1 
  1132. font. 
  1133.  
  1134. The last remaining preliminary detail is the question of bitmap numbering. The 
  1135. bitmaps in \verb"JIS24" are numbered consecutively from~1 to~7806. The first 
  1136. bitmap is empty, since it is the japanese space character. Many other 
  1137. characters in the \JemTeX\ extended JIS~24 dot font are also left empty. 
  1138. \verb"JIS2MF" ignores such characters altogether and will leave an undefined 
  1139. character when it encounters one. This can be quite handy for somebody wishing 
  1140. to create fonts using some other standard, like J\TeX. Suppose you wish to 
  1141. leave some characters undefined in the font you are currently building. By 
  1142. specifying bitmap~1 at the right places, the corresponding characters will be 
  1143. left undefined. 
  1144.  
  1145. My utility \verb"JIS2MF" requires the following information to operate:
  1146. \begin{description}
  1147.  \item[Font Name:] The name of the font you are creating. \verb"JIS2MF" will 
  1148.                    add for you the extension \verb".mf", so do not specify it. 
  1149.                    The program also acts differently depending on whether or 
  1150.                    not the font name you supply is a \JemTeX\ font name, like 
  1151.                    \verb"kanjidf". 
  1152.  \item[Writing Style:] The characteristics of your font, essentially fixed 
  1153.                        versus proportional dimensions and dictionary versus 
  1154.                        standard positioning of the japanese characters. 
  1155.  \item[Bitmap Numbers:] The number of all the bitmaps making up the current 
  1156.                         font. Specifying bitmap~0 terminates the process. 
  1157. \end{description} 
  1158.  
  1159. \begin{table}[htb]
  1160.  \begin{center}
  1161.   \begin{tabular}{l|cccc}
  1162.     {\tt JIS2MF}  & Command Line &   Font    & Writing  & Bitmap   \\
  1163.         Mode      &  Parameters  &   Name    &  Style   & Numbers  \\
  1164.    \hline
  1165.    Manual         &   $\times$   &  $\surd$  & $\surd$  & $\surd$  \\
  1166.    Semi-Automatic &   $\surd$    &  (other)  & Optional & $\surd$  \\
  1167.    Automatic      &   $\surd$    & (\JemTeX) & Optional & $\times$ \\
  1168.    Batch          &   $\surd$    & $\times$  & Optional & $\times$
  1169.   \end{tabular}
  1170.  \end{center}
  1171.  \caption{The {\tt JIS2MF} Modes.}
  1172.  \label{thejis2mfmodes}
  1173. \end{table}
  1174.  
  1175. How much and what information you must supply depends on which mode 
  1176. \verb"JIS2MF" is in when you run it. Table~\ref{thejis2mfmodes} shows all the 
  1177. modes currently available.
  1178.  
  1179. If you simply start \verb"JIS2MF" without any command line information, it will 
  1180. run in manual mode where you must answer questions interactively throughout the 
  1181. operation. In Table~\ref{thejis2mfmodes}, a $\surd$ indicates information that 
  1182. will be required of you interactively. A $\times$ indicates information 
  1183. irrelevant, or that you will not be asked for interactively. 
  1184.  
  1185. The other three more advanced modes can only be accessed by specifying some 
  1186. additional command line information. First, you can specify on the command line 
  1187. the name of the font to be built. For example, here is how I would generate the 
  1188. first \JemTeX\ font:
  1189. \begin{quote}%Don't put spaces after the next line!
  1190. \begin{verbatim}
  1191. JIS2MF kanjiaa
  1192. \end{verbatim}
  1193. \end{quote}
  1194. You can also add to such a command some \verb"JIS2MF" parameters. These always 
  1195. begin with a \verb"/" or a \verb"-", and any combination or small and capital 
  1196. letters is acceptable. 
  1197.  
  1198. For the last three modes listed in Table~\ref{thejis2mfmodes}, proportional 
  1199. width, proportional height, and standard positioning are assumed as default 
  1200. writing styles. However, you may override or confirm any of these default 
  1201. values with the appropriate command line parameter. The recognized ones are 
  1202. listed in Tables~\ref{widthparameters}, \ref{heightparameters}, 
  1203. and~\ref{positioningparameters}. 
  1204.  
  1205. \vspace*{\fill}
  1206.  
  1207. \begin{table}[htb]
  1208.  \begin{center}
  1209.   \begin{tabular}{ll}
  1210.    \mbox{$\left.\parbox{4.6cm}{%
  1211.     \verb"/FixedWidth" \\
  1212.     \verb"/FixedX" \\
  1213.     \verb"/NoProportionalWidth" \\
  1214.     \verb"/NoProportionalX"}\right\}$} & Fixed width. \\[8mm]
  1215.    \mbox{$\left.\parbox{4.6cm}{%
  1216.     \verb"/NoFixedWidth" \\
  1217.     \verb"/NoFixedX" \\
  1218.     \verb"/ProportionalWidth" \\
  1219.     \verb"/ProportionalX"}\right\}$}   & Minimized width.
  1220.   \end{tabular}
  1221.  \end{center}
  1222.  \caption{Width Parameters.}
  1223.  \label{widthparameters}
  1224. \end{table}
  1225.  
  1226. \vspace*{\fill}
  1227.  
  1228. \newpage %improve a bad page break
  1229.  
  1230. \begin{table}[htb]
  1231.  \begin{center}
  1232.   \begin{tabular}{ll}
  1233.    \mbox{$\left.\parbox{4.6cm}{%
  1234.     \verb"/FixedHeight" \\
  1235.     \verb"/FixedY" \\
  1236.     \verb"/NoProportionalHeight" \\
  1237.     \verb"/NoProportionalY"}\right\}$} & Fixed height. \\[8mm]
  1238.    \mbox{$\left.\parbox{4.6cm}{%
  1239.     \verb"/NoFixedHeight" \\
  1240.     \verb"/NoFixedY" \\
  1241.     \verb"/ProportionalHeight" \\
  1242.     \verb"/ProportionalY"}\right\}$}   & Minimized height.
  1243.   \end{tabular}
  1244.  \end{center}
  1245.  \caption{Height Parameters.}
  1246.  \label{heightparameters}
  1247.  \begin{center}
  1248.   \begin{tabular}{ll}
  1249.    \verb"/Standard"   & Standard positioning. \\
  1250.    \verb"/Dictionary" & Dictionary positioning.
  1251.   \end{tabular}
  1252.  \end{center}
  1253.  \caption{Positioning Parameters.}
  1254.  \label{positioningparameters}
  1255. \end{table}
  1256.  
  1257. Here is how I would generate a \JemTeX\ font to be used vertically:
  1258. \begin{quote}%Don't put spaces after the next line!
  1259. \begin{verbatim}
  1260. JIS2MF kanjiaa /FixedWidth /FixedHeight
  1261. \end{verbatim}
  1262. \end{quote}
  1263. In the last two examples, since the font names specified are \JemTeX\ font 
  1264. names, \verb"JIS2MF" supplies all the bitmap numbers for you; that's the 
  1265. automatic mode. If the font name is not a \JemTeX\ one, then you are asked 
  1266. interactively for the bitmap numbers; that's the semi-automatic mode. If you 
  1267. plan on using a lot \verb"JIS2MF" semi-automatically, you may find piping 
  1268. advantageous. 
  1269.  
  1270. \label{batch}
  1271.  
  1272. The remaining mode is the batch mode. As its name implies, it is designed for 
  1273. people using batch files. To trigger this mode, use the \verb"/batch" command 
  1274. line parameter. In this mode, \verb"JIS2MF" looks in the current directory to 
  1275. determine the latest \JemTeX\ font generated. It then generates the next one, 
  1276. if possible. 
  1277.  
  1278. There are two ways of using this feature. The simplest one is to generate the 
  1279. \MFT\ code for all the \JemTeX\ fonts. To do so, create and execute the 
  1280. following \verb"SIMPLE.BAT" batch file: 
  1281. \begin{quote}%Don't put spaces after the next line!
  1282. \begin{verbatim}
  1283. JIS2MF /NoFixedWidth /NoFixedHeight /Standard /Batch
  1284. IF NOT ERRORLEVEL 1 SIMPLE
  1285. \end{verbatim}
  1286. \end{quote}
  1287.  
  1288. In this example, the code for the font \verb"kanjiaa" is first created. If all 
  1289. went well, \verb"SIMPLE" executes again. It finds the file \verb"kanjiaa.mf" 
  1290. in the current directory and therefore generates \verb"kanjiab.mf". Eventually, 
  1291. the code for the font \verb"kanjihe" will be produced. When called once more, 
  1292. \verb"JIS2MF" realizes that there is no such thing as a \JemTeX\ font 
  1293. \verb"kanjihf" and stops with an error. The current batch file \verb"SIMPLE" 
  1294. then terminates. 
  1295.  
  1296. Although this procedure is correct, it also requires 36~Mb of disk space! To 
  1297. avoid this, I use a more involved procedure. Here is the batch file 
  1298. \verb"COMPLEX.BAT": 
  1299. \begin{quote}%Don't put spaces after the next line!
  1300. \begin{verbatim}
  1301. JIS2MF /NoFixedWidth /NoFixedHeight /Standard /Batch
  1302. IF ERRORLEVEL 1 GOTO TERMINATE
  1303. FOR %%1 IN (kanji??.mf) DO CALL METAFONT %%1
  1304. ERASE kanji??.mf
  1305. COMPLEX
  1306. :TERMINATE
  1307. \end{verbatim}
  1308. \end{quote}
  1309.  
  1310. As in the previous example, \verb"JIS2MF" first creates the file 
  1311. \verb"kanjiaa.mf". The batch file \verb"METAFONT.BAT" is then called with the 
  1312. parameter \verb"kanjiaa.mf". \MFT\ is to be discussed in 
  1313. Subsection~\ref{runningmetafont}, but suffice to say that the files 
  1314. \verb"kanjiaa.tfm" and \verb"kanjiaa.pk" are created by the subroutine 
  1315. \verb"METAFONT". To save disk space, the file \verb"kanjiaa.mf" is then 
  1316. deleted. Finally, this cycle starts all over again. This procedure works fine 
  1317. because \verb"JIS2MF" looks for \verb"*.mf" {\em and\/} \verb"*.tfm" files when 
  1318. trying to decide which font should be handled next. 
  1319.  
  1320. \subsection{Running METAFONT}
  1321. \label{runningmetafont}
  1322.  
  1323. The \MFT\ program comes in two versions; a small one with a 64~Kb work space, 
  1324. and a big one with a 256~Kb work space. Although the big version is more 
  1325. capable, the small one is preferred whenever possible since it runs faster.
  1326. Here is a list of the \emTeX\ files necessary for the small 80286 version: 
  1327. \begin{quote}%Don't put spaces after the next line!
  1328. \begin{verbatim}
  1329. MF       EXE   197840   8-04-90  10:29p
  1330. MF       POO    23028   8-04-90   9:42p
  1331. CM       BAS   107412   9-19-90  11:13a
  1332. \end{verbatim} 
  1333. \end{quote} 
  1334.  
  1335. \newpage %improve a bad page break
  1336.  
  1337. The files for the big 80286 version are:
  1338. \begin{quote}%Don't put spaces after the next line!
  1339. \begin{verbatim}
  1340. MF       EXE   238996   8-04-90  11:15p
  1341. MF       POO    23028   8-04-90  10:32p
  1342. CM       BAS   215128   9-19-90  11:13a
  1343. \end{verbatim} 
  1344. \end{quote} 
  1345.  
  1346. The program to compress the forthcoming fonts is:
  1347. \begin{quote}%Don't put spaces after the next line!
  1348. \begin{verbatim}
  1349. GFTOPK   EXE    52825   9-15-90   1:13a
  1350. \end{verbatim} 
  1351. \end{quote} 
  1352.  
  1353. Finally, you also need a small file, describing the characteristics of the 
  1354. device for which the fonts are intended. I use the file \verb"epsonfx.mf", 
  1355. which is given below. Several such files are included in the file 
  1356. \verb"local.mf" supplied with \emTeX, and there are small libraries of them in 
  1357. \TeX\ circles. 
  1358. \begin{quote}%Don't put spaces after the next line!
  1359. \begin{verbatim}
  1360. mode_def epsonfx =     % Epson FX-80 (240x216)
  1361.  proofing:=0;          % no, we're not making proofs
  1362.  fontmaking:=1;        % yes, we are making a font
  1363.  tracingtitles:=0;     % no, don't show titles in the log
  1364.  pixels_per_inch:=240; % 240 dots/inch horizontally
  1365.  blacker:=0;           % don't make the pens any blacker
  1366.  fillin:=0;            % and don't compensate for fillin
  1367.  o_correction:=.2;     % but suppress most overshoots
  1368.  aspect_ratio:=9/10;   % 216 dots/inch vertically
  1369.  enddef;
  1370. \end{verbatim}
  1371. \end{quote} 
  1372.  
  1373. Font sizes are measured in magsteps. Typical magsteps are~$0.0$, $0.5$, $1.0$, 
  1374. $2.0$, $3.0$, $4.0$, and~$5.0$. I find that most kanjis look acceptable on my 
  1375. \mbox{9-pin} printer starting at magstep~$2.0$, and all kanjis are acceptable 
  1376. starting at magstep~$3.0$. Hiraganas and katakanas are fairly simple 
  1377. characters, and they look good at any magsteps. Table~\ref{12ptfontsizes} on 
  1378. page~\pageref{12ptfontsizes} lists common font sizes.
  1379.  
  1380. \label{mftproof}
  1381.  
  1382. You can run big \MFT\ in proof mode where each character is displayed 
  1383. graphically, but no font useful for us is created. The command I use is: 
  1384. \begin{quote}%Don't put spaces after the next line!
  1385. \begin{verbatim}
  1386. MF &cm kanjiaa >NUL:
  1387. \end{verbatim}
  1388. \end{quote}
  1389.  
  1390. \newpage %improve a bad page break
  1391.  
  1392. \label{mftstandard}
  1393.  
  1394. You can run small \MFT\ in standard mode, which will generate usable fonts. 
  1395. Here are the commands to create \verb"kanjiaa.tfm" and \verb"kanjiaa.pk":
  1396. \begin{quote}
  1397. \begin{small}%Don't put spaces after the next line!
  1398. \begin{verbatim}
  1399. MF &cm \mode:=epsonfx; \mag:=magstep(0.0); \input kanjiaa.mf
  1400. GFTOPK kanjiaa.240
  1401. \end{verbatim}
  1402. \end{small}
  1403. \end{quote}
  1404.  
  1405. The file name extension \verb".240" refers to the resolution of my printer, 
  1406. resolution specified in the file \verb"epsonfx.mf". It may be different in your 
  1407. case. Finally, note that this extension also changes with the magstep used. For 
  1408. magstep~$5.0$, it becomes in my case $240 \times 1.2^{5.0} \approx 597$. 
  1409.  
  1410. Here is my batch file \verb"METAFONT.BAT":
  1411. \begin{quote}
  1412. \begin{small}%Don't put spaces after the next line!
  1413. \begin{verbatim}
  1414. MF &cm \mode:=epsonfx; \mag:=magstep(5.0); \input %1
  1415. FOR %%1 IN (kanji??.597) DO GFTOPK %%1
  1416. ERASE kanji??.597
  1417. ERASE kanji??.log
  1418. \end{verbatim}
  1419. \end{small}
  1420. \end{quote}
  1421.  
  1422. \subsection{The METAFONT Code}
  1423. \label{themetafontcode}
  1424.  
  1425. In this subsection, I will briefly go over the \MFT\ code produced by my 
  1426. program for a typical standard style font. This code can be crudely divided 
  1427. into four parts: 
  1428. \begin{itemize}
  1429.  \item Initial Header.
  1430.  \item Macro Definitions.
  1431.  \item Character Definitions.
  1432.  \item Final Header.
  1433. \end{itemize}
  1434.  
  1435. The header begins with the following command requesting memory usage statistics 
  1436. in the \verb".log" file produced along with each font by \MFT: 
  1437. \begin{quote}%Don't put spaces after the next line!
  1438. \begin{verbatim}
  1439. tracingstats:=1; 
  1440. \end{verbatim}
  1441. \end{quote} 
  1442.  
  1443. In proof mode, \MFT\ displays the characters in graphics mode provided it knows 
  1444. the resolution of your device. I use the following, which you may decide to 
  1445. change according to your hardware: 
  1446. \begin{quote}%Don't put spaces after the next line! 
  1447. \begin{verbatim}
  1448. screen_cols:=640; %VGA
  1449. screen_rows:=480; %VGA
  1450. \end{verbatim}
  1451. \end{quote}
  1452.  
  1453. The font design size, a fundamental unit of measurement, and character 
  1454. positioning are then supplied. I use the following for standard \JemTeX\ fonts: 
  1455. \begin{quote}%Don't put spaces after the next line!
  1456. \begin{verbatim}
  1457. font_size 10pt#;
  1458. u#:=12.7/36pt#;
  1459. body_height#:=23.25u#;
  1460. desc_depth#:=4.75u#;
  1461. \end{verbatim}
  1462. \end{quote}
  1463.  
  1464. Each underlying bitmap is $24u$~by~$24u$, and an empty border of $2u$ is left 
  1465. around every japanese characters. In a standard style, each character can 
  1466. extend vertically potentially by as much as $23.25u$ above its horizontal 
  1467. baseline, and $4.75u$ below it, for a total of $28u$. Note that these are the 
  1468. biggest values that can occur. In practice, the actual values are supplied for 
  1469. each character when they are defined. For a fixed height font, the actual 
  1470. values are always equal to these extreme values. Finally, the width is handled 
  1471. differently by \MFT\ since only the actual width needs to be specified for each 
  1472. character. 
  1473.  
  1474. At this point, a whole series of parameters is necessary for the Computer 
  1475. Modern base. The minimum set of them is set to~\verb"0pt" whenever possible. I 
  1476. solve the few occurring overflows by setting the right parameters 
  1477. to~\verb"1pt". None of these parameters appears useful since my japanese 
  1478. characters use only very primitive \MFT\ operators. But \MFT\ insists on all 
  1479. its parameters to be set anyway. 
  1480.  
  1481. \MFT\ is then initialized with:
  1482. \begin{quote}%Don't put spaces after the next line!
  1483. \begin{verbatim}
  1484. mode_setup;
  1485. font_setup;
  1486. \end{verbatim}
  1487. \end{quote}
  1488.  
  1489. The macros to be used in drawing the characters follow. Each dot making up the 
  1490. current bitmap lies in a square which I refer to by its lower left $z=(x,y)$ 
  1491. coordinates. I declare that variable $z$ with: 
  1492. \begin{quote}%Don't put spaces after the next line!
  1493. \begin{verbatim}
  1494. pair z;
  1495. \end{verbatim}
  1496. \end{quote}
  1497.  
  1498. A number of macros to draw squares, triangles, reverse triangles, and quarter 
  1499. circles are then included. All these have only one parameter; $z$. They are
  1500. illustrated in Figures~\ref{shortpatches} and~\ref{longpatches}.
  1501.  
  1502. \newpage %improve a bad page break
  1503.  
  1504. \begin{figure}[htb]
  1505.  \begin{center}
  1506.   \setlength{\unitlength}{0.38pt}
  1507.   \begin{picture}(900,900)
  1508.     \put(0,720){%
  1509.      \begin{picture}(180,180)
  1510.       \put(0,0){\dashbox{5}(180,180){}}
  1511.       \put(0,90){\framebox(90,90){}}
  1512.       \put(0,90){\makebox(90,90){sul}}
  1513.      \end{picture}}
  1514.     \put(240,720){%
  1515.      \begin{picture}(180,180)
  1516.       \put(0,0){\dashbox{5}(180,180){}}
  1517.       \put(90,90){\framebox(90,90){}}
  1518.       \put(90,90){\makebox(90,90){sur}}
  1519.      \end{picture}}
  1520.     \put(480,720){%
  1521.      \begin{picture}(180,180)
  1522.       \put(0,0){\dashbox{5}(180,180){}}
  1523.       \put(90,0){\framebox(90,90){}}
  1524.       \put(90,0){\makebox(90,90){sbr}}
  1525.      \end{picture}}
  1526.     \put(720,720){%
  1527.      \begin{picture}(180,180)
  1528.       \put(0,0){\dashbox{5}(180,180){}}
  1529.       \put(0,0){\framebox(90,90){}}
  1530.       \put(0,0){\makebox(90,90){sbl}}
  1531.      \end{picture}}
  1532.     \put(0,480){%
  1533.      \begin{picture}(180,180)
  1534.       \put(0,0){\dashbox{5}(180,180){}}
  1535.       \put(90,90){\line(-1,0){90}} 
  1536.       \put(90,90){\line(0,1){90}}
  1537.       \put(90.0,180.0){\circle*{1}}\put(88.7,180.0){\circle*{1}}
  1538.       \put(87.5,180.0){\circle*{1}}\put(86.2,179.9){\circle*{1}}
  1539.       \put(84.9,179.9){\circle*{1}}\put(83.6,179.8){\circle*{1}}
  1540.       \put(82.4,179.7){\circle*{1}}\put(81.1,179.6){\circle*{1}}
  1541.       \put(79.8,179.4){\circle*{1}}\put(78.5,179.3){\circle*{1}}
  1542.       \put(77.3,179.1){\circle*{1}}\put(76.0,178.9){\circle*{1}}
  1543.       \put(74.7,178.7){\circle*{1}}\put(73.5,178.5){\circle*{1}}
  1544.       \put(72.2,178.2){\circle*{1}}\put(70.9,178.0){\circle*{1}}
  1545.       \put(69.6,177.7){\circle*{1}}\put(68.4,177.4){\circle*{1}}
  1546.       \put(67.1,177.0){\circle*{1}}\put(65.8,176.7){\circle*{1}}
  1547.       \put(64.5,176.3){\circle*{1}}\put(63.3,175.9){\circle*{1}}
  1548.       \put(62.0,175.5){\circle*{1}}\put(60.7,175.1){\circle*{1}}
  1549.       \put(59.5,174.7){\circle*{1}}\put(58.2,174.2){\circle*{1}}
  1550.       \put(56.9,173.7){\circle*{1}}\put(55.6,173.2){\circle*{1}}
  1551.       \put(54.4,172.6){\circle*{1}}\put(53.1,172.1){\circle*{1}}
  1552.       \put(51.8,171.5){\circle*{1}}\put(50.5,170.9){\circle*{1}}
  1553.       \put(49.3,170.3){\circle*{1}}\put(48.0,169.6){\circle*{1}}
  1554.       \put(46.7,168.9){\circle*{1}}\put(45.5,168.2){\circle*{1}}
  1555.       \put(44.2,167.5){\circle*{1}}\put(42.9,166.7){\circle*{1}}
  1556.       \put(41.6,165.9){\circle*{1}}\put(40.4,165.1){\circle*{1}}
  1557.       \put(39.1,164.2){\circle*{1}}\put(37.8,163.3){\circle*{1}}
  1558.       \put(36.5,162.4){\circle*{1}}\put(35.3,161.4){\circle*{1}}
  1559.       \put(34.0,160.5){\circle*{1}}\put(32.7,159.4){\circle*{1}}
  1560.       \put(31.5,158.4){\circle*{1}}\put(30.2,157.2){\circle*{1}}
  1561.       \put(28.9,156.1){\circle*{1}}\put(27.6,154.9){\circle*{1}}
  1562.       \put(26.4,153.6){\circle*{1}}\put(0.0,90.0){\circle*{1}}
  1563.       \put(0.0,91.3){\circle*{1}}\put(0.0,92.5){\circle*{1}}
  1564.       \put(0.1,93.8){\circle*{1}}\put(0.1,95.1){\circle*{1}}
  1565.       \put(0.2,96.4){\circle*{1}}\put(0.3,97.6){\circle*{1}}
  1566.       \put(0.4,98.9){\circle*{1}}\put(0.6,100.2){\circle*{1}}
  1567.       \put(0.7,101.5){\circle*{1}}\put(0.9,102.7){\circle*{1}}
  1568.       \put(1.1,104.0){\circle*{1}}\put(1.3,105.3){\circle*{1}}
  1569.       \put(1.5,106.5){\circle*{1}}\put(1.8,107.8){\circle*{1}}
  1570.       \put(2.0,109.1){\circle*{1}}\put(2.3,110.4){\circle*{1}}
  1571.       \put(2.6,111.6){\circle*{1}}\put(3.0,112.9){\circle*{1}}
  1572.       \put(3.3,114.2){\circle*{1}}\put(3.7,115.5){\circle*{1}}
  1573.       \put(4.1,116.7){\circle*{1}}\put(4.5,118.0){\circle*{1}}
  1574.       \put(4.9,119.3){\circle*{1}}\put(5.3,120.5){\circle*{1}}
  1575.       \put(5.8,121.8){\circle*{1}}\put(6.3,123.1){\circle*{1}}
  1576.       \put(6.8,124.4){\circle*{1}}\put(7.4,125.6){\circle*{1}}
  1577.       \put(7.9,126.9){\circle*{1}}\put(8.5,128.2){\circle*{1}}
  1578.       \put(9.1,129.5){\circle*{1}}\put(9.7,130.7){\circle*{1}}
  1579.       \put(10.4,132.0){\circle*{1}}\put(11.1,133.3){\circle*{1}}
  1580.       \put(11.8,134.5){\circle*{1}}\put(12.5,135.8){\circle*{1}}
  1581.       \put(13.3,137.1){\circle*{1}}\put(14.1,138.4){\circle*{1}}
  1582.       \put(14.9,139.6){\circle*{1}}\put(15.8,140.9){\circle*{1}}
  1583.       \put(16.7,142.2){\circle*{1}}\put(17.6,143.5){\circle*{1}}
  1584.       \put(18.6,144.7){\circle*{1}}\put(19.5,146.0){\circle*{1}}
  1585.       \put(20.6,147.3){\circle*{1}}\put(21.6,148.5){\circle*{1}}
  1586.       \put(22.8,149.8){\circle*{1}}\put(23.9,151.1){\circle*{1}}
  1587.       \put(25.1,152.4){\circle*{1}}
  1588.       \put(30,90){\makebox(60,60){cul}}
  1589.      \end{picture}}
  1590.     \put(240,480){%
  1591.      \begin{picture}(180,180)
  1592.       \put(0,0){\dashbox{5}(180,180){}}
  1593.       \put(90,90){\line(1,0){90}}
  1594.       \put(90,90){\line(0,1){90}}
  1595.       \put(90.0,180.0){\circle*{1}}\put(91.3,180.0){\circle*{1}}
  1596.       \put(92.5,180.0){\circle*{1}}\put(93.8,179.9){\circle*{1}}
  1597.       \put(95.1,179.9){\circle*{1}}\put(96.4,179.8){\circle*{1}}
  1598.       \put(97.6,179.7){\circle*{1}}\put(98.9,179.6){\circle*{1}}
  1599.       \put(100.2,179.4){\circle*{1}}\put(101.5,179.3){\circle*{1}}
  1600.       \put(102.7,179.1){\circle*{1}}\put(104.0,178.9){\circle*{1}}
  1601.       \put(105.3,178.7){\circle*{1}}\put(106.5,178.5){\circle*{1}}
  1602.       \put(107.8,178.2){\circle*{1}}\put(109.1,178.0){\circle*{1}}
  1603.       \put(110.4,177.7){\circle*{1}}\put(111.6,177.4){\circle*{1}}
  1604.       \put(112.9,177.0){\circle*{1}}\put(114.2,176.7){\circle*{1}}
  1605.       \put(115.5,176.3){\circle*{1}}\put(116.7,175.9){\circle*{1}}
  1606.       \put(118.0,175.5){\circle*{1}}\put(119.3,175.1){\circle*{1}}
  1607.       \put(120.5,174.7){\circle*{1}}\put(121.8,174.2){\circle*{1}}
  1608.       \put(123.1,173.7){\circle*{1}}\put(124.4,173.2){\circle*{1}}
  1609.       \put(125.6,172.6){\circle*{1}}\put(126.9,172.1){\circle*{1}}
  1610.       \put(128.2,171.5){\circle*{1}}\put(129.5,170.9){\circle*{1}}
  1611.       \put(130.7,170.3){\circle*{1}}\put(132.0,169.6){\circle*{1}}
  1612.       \put(133.3,168.9){\circle*{1}}\put(134.5,168.2){\circle*{1}}
  1613.       \put(135.8,167.5){\circle*{1}}\put(137.1,166.7){\circle*{1}}
  1614.       \put(138.4,165.9){\circle*{1}}\put(139.6,165.1){\circle*{1}}
  1615.       \put(140.9,164.2){\circle*{1}}\put(142.2,163.3){\circle*{1}}
  1616.       \put(143.5,162.4){\circle*{1}}\put(144.7,161.4){\circle*{1}}
  1617.       \put(146.0,160.5){\circle*{1}}\put(147.3,159.4){\circle*{1}}
  1618.       \put(148.5,158.4){\circle*{1}}\put(149.8,157.2){\circle*{1}}
  1619.       \put(151.1,156.1){\circle*{1}}\put(152.4,154.9){\circle*{1}}
  1620.       \put(153.6,153.6){\circle*{1}}\put(180.0,90.0){\circle*{1}}
  1621.       \put(180.0,91.3){\circle*{1}}\put(180.0,92.5){\circle*{1}}
  1622.       \put(179.9,93.8){\circle*{1}}\put(179.9,95.1){\circle*{1}}
  1623.       \put(179.8,96.4){\circle*{1}}\put(179.7,97.6){\circle*{1}}
  1624.       \put(179.6,98.9){\circle*{1}}\put(179.4,100.2){\circle*{1}}
  1625.       \put(179.3,101.5){\circle*{1}}\put(179.1,102.7){\circle*{1}}
  1626.       \put(178.9,104.0){\circle*{1}}\put(178.7,105.3){\circle*{1}}
  1627.       \put(178.5,106.5){\circle*{1}}\put(178.2,107.8){\circle*{1}}
  1628.       \put(178.0,109.1){\circle*{1}}\put(177.7,110.4){\circle*{1}}
  1629.       \put(177.4,111.6){\circle*{1}}\put(177.0,112.9){\circle*{1}}
  1630.       \put(176.7,114.2){\circle*{1}}\put(176.3,115.5){\circle*{1}}
  1631.       \put(175.9,116.7){\circle*{1}}\put(175.5,118.0){\circle*{1}}
  1632.       \put(175.1,119.3){\circle*{1}}\put(174.7,120.5){\circle*{1}}
  1633.       \put(174.2,121.8){\circle*{1}}\put(173.7,123.1){\circle*{1}}
  1634.       \put(173.2,124.4){\circle*{1}}\put(172.6,125.6){\circle*{1}}
  1635.       \put(172.1,126.9){\circle*{1}}\put(171.5,128.2){\circle*{1}}
  1636.       \put(170.9,129.5){\circle*{1}}\put(170.3,130.7){\circle*{1}}
  1637.       \put(169.6,132.0){\circle*{1}}\put(168.9,133.3){\circle*{1}}
  1638.       \put(168.2,134.5){\circle*{1}}\put(167.5,135.8){\circle*{1}}
  1639.       \put(166.7,137.1){\circle*{1}}\put(165.9,138.4){\circle*{1}}
  1640.       \put(165.1,139.6){\circle*{1}}\put(164.2,140.9){\circle*{1}}
  1641.       \put(163.3,142.2){\circle*{1}}\put(162.4,143.5){\circle*{1}}
  1642.       \put(161.4,144.7){\circle*{1}}\put(160.5,146.0){\circle*{1}}
  1643.       \put(159.4,147.3){\circle*{1}}\put(158.4,148.5){\circle*{1}}
  1644.       \put(157.2,149.8){\circle*{1}}\put(156.1,151.1){\circle*{1}}
  1645.       \put(154.9,152.4){\circle*{1}}
  1646.       \put(90,90){\makebox(60,60){cur}}
  1647.      \end{picture}}
  1648.     \put(480,480){%
  1649.      \begin{picture}(180,180)
  1650.       \put(0,0){\dashbox{5}(180,180){}}
  1651.       \put(90,90){\line(1,0){90}}
  1652.       \put(90,90){\line(0,-1){90}}
  1653.       \put(90.0,0.0){\circle*{1}}\put(91.3,0.0){\circle*{1}}
  1654.       \put(92.5,0.0){\circle*{1}}\put(93.8,0.1){\circle*{1}}
  1655.       \put(95.1,0.1){\circle*{1}}\put(96.4,0.2){\circle*{1}}
  1656.       \put(97.6,0.3){\circle*{1}}\put(98.9,0.4){\circle*{1}}
  1657.       \put(100.2,0.6){\circle*{1}}\put(101.5,0.7){\circle*{1}}
  1658.       \put(102.7,0.9){\circle*{1}}\put(104.0,1.1){\circle*{1}}
  1659.       \put(105.3,1.3){\circle*{1}}\put(106.5,1.5){\circle*{1}}
  1660.       \put(107.8,1.8){\circle*{1}}\put(109.1,2.0){\circle*{1}}
  1661.       \put(110.4,2.3){\circle*{1}}\put(111.6,2.6){\circle*{1}}
  1662.       \put(112.9,3.0){\circle*{1}}\put(114.2,3.3){\circle*{1}}
  1663.       \put(115.5,3.7){\circle*{1}}\put(116.7,4.1){\circle*{1}}
  1664.       \put(118.0,4.5){\circle*{1}}\put(119.3,4.9){\circle*{1}}
  1665.       \put(120.5,5.3){\circle*{1}}\put(121.8,5.8){\circle*{1}}
  1666.       \put(123.1,6.3){\circle*{1}}\put(124.4,6.8){\circle*{1}}
  1667.       \put(125.6,7.4){\circle*{1}}\put(126.9,7.9){\circle*{1}}
  1668.       \put(128.2,8.5){\circle*{1}}\put(129.5,9.1){\circle*{1}}
  1669.       \put(130.7,9.7){\circle*{1}}\put(132.0,10.4){\circle*{1}}
  1670.       \put(133.3,11.1){\circle*{1}}\put(134.5,11.8){\circle*{1}}
  1671.       \put(135.8,12.5){\circle*{1}}\put(137.1,13.3){\circle*{1}}
  1672.       \put(138.4,14.1){\circle*{1}}\put(139.6,14.9){\circle*{1}}
  1673.       \put(140.9,15.8){\circle*{1}}\put(142.2,16.7){\circle*{1}}
  1674.       \put(143.5,17.6){\circle*{1}}\put(144.7,18.6){\circle*{1}}
  1675.       \put(146.0,19.5){\circle*{1}}\put(147.3,20.6){\circle*{1}}
  1676.       \put(148.5,21.6){\circle*{1}}\put(149.8,22.8){\circle*{1}}
  1677.       \put(151.1,23.9){\circle*{1}}\put(152.4,25.1){\circle*{1}}
  1678.       \put(153.6,26.4){\circle*{1}}\put(180.0,90.0){\circle*{1}}
  1679.       \put(180.0,88.7){\circle*{1}}\put(180.0,87.5){\circle*{1}}
  1680.       \put(179.9,86.2){\circle*{1}}\put(179.9,84.9){\circle*{1}}
  1681.       \put(179.8,83.6){\circle*{1}}\put(179.7,82.4){\circle*{1}}
  1682.       \put(179.6,81.1){\circle*{1}}\put(179.4,79.8){\circle*{1}}
  1683.       \put(179.3,78.5){\circle*{1}}\put(179.1,77.3){\circle*{1}}
  1684.       \put(178.9,76.0){\circle*{1}}\put(178.7,74.7){\circle*{1}}
  1685.       \put(178.5,73.5){\circle*{1}}\put(178.2,72.2){\circle*{1}}
  1686.       \put(178.0,70.9){\circle*{1}}\put(177.7,69.6){\circle*{1}}
  1687.       \put(177.4,68.4){\circle*{1}}\put(177.0,67.1){\circle*{1}}
  1688.       \put(176.7,65.8){\circle*{1}}\put(176.3,64.5){\circle*{1}}
  1689.       \put(175.9,63.3){\circle*{1}}\put(175.5,62.0){\circle*{1}}
  1690.       \put(175.1,60.7){\circle*{1}}\put(174.7,59.5){\circle*{1}}
  1691.       \put(174.2,58.2){\circle*{1}}\put(173.7,56.9){\circle*{1}}
  1692.       \put(173.2,55.6){\circle*{1}}\put(172.6,54.4){\circle*{1}}
  1693.       \put(172.1,53.1){\circle*{1}}\put(171.5,51.8){\circle*{1}}
  1694.       \put(170.9,50.5){\circle*{1}}\put(170.3,49.3){\circle*{1}}
  1695.       \put(169.6,48.0){\circle*{1}}\put(168.9,46.7){\circle*{1}}
  1696.       \put(168.2,45.5){\circle*{1}}\put(167.5,44.2){\circle*{1}}
  1697.       \put(166.7,42.9){\circle*{1}}\put(165.9,41.6){\circle*{1}}
  1698.       \put(165.1,40.4){\circle*{1}}\put(164.2,39.1){\circle*{1}}
  1699.       \put(163.3,37.8){\circle*{1}}\put(162.4,36.5){\circle*{1}}
  1700.       \put(161.4,35.3){\circle*{1}}\put(160.5,34.0){\circle*{1}}
  1701.       \put(159.4,32.7){\circle*{1}}\put(158.4,31.5){\circle*{1}}
  1702.       \put(157.2,30.2){\circle*{1}}\put(156.1,28.9){\circle*{1}}
  1703.       \put(154.9,27.6){\circle*{1}}
  1704.       \put(90,30){\makebox(60,60){cbr}}
  1705.      \end{picture}}
  1706.     \put(720,480){%
  1707.      \begin{picture}(180,180)
  1708.       \put(0,0){\dashbox{5}(180,180){}}
  1709.       \put(90,90){\line(-1,0){90}}
  1710.       \put(90,90){\line(0,-1){90}}
  1711.       \put(90.0,0.0){\circle*{1}}\put(88.7,0.0){\circle*{1}}
  1712.       \put(87.5,0.0){\circle*{1}}\put(86.2,0.1){\circle*{1}}
  1713.       \put(84.9,0.1){\circle*{1}}\put(83.6,0.2){\circle*{1}}
  1714.       \put(82.4,0.3){\circle*{1}}\put(81.1,0.4){\circle*{1}}
  1715.       \put(79.8,0.6){\circle*{1}}\put(78.5,0.7){\circle*{1}}
  1716.       \put(77.3,0.9){\circle*{1}}\put(76.0,1.1){\circle*{1}}
  1717.       \put(74.7,1.3){\circle*{1}}\put(73.5,1.5){\circle*{1}}
  1718.       \put(72.2,1.8){\circle*{1}}\put(70.9,2.0){\circle*{1}}
  1719.       \put(69.6,2.3){\circle*{1}}\put(68.4,2.6){\circle*{1}}
  1720.       \put(67.1,3.0){\circle*{1}}\put(65.8,3.3){\circle*{1}}
  1721.       \put(64.5,3.7){\circle*{1}}\put(63.3,4.1){\circle*{1}}
  1722.       \put(62.0,4.5){\circle*{1}}\put(60.7,4.9){\circle*{1}}
  1723.       \put(59.5,5.3){\circle*{1}}\put(58.2,5.8){\circle*{1}}
  1724.       \put(56.9,6.3){\circle*{1}}\put(55.6,6.8){\circle*{1}}
  1725.       \put(54.4,7.4){\circle*{1}}\put(53.1,7.9){\circle*{1}}
  1726.       \put(51.8,8.5){\circle*{1}}\put(50.5,9.1){\circle*{1}}
  1727.       \put(49.3,9.7){\circle*{1}}\put(48.0,10.4){\circle*{1}}
  1728.       \put(46.7,11.1){\circle*{1}}\put(45.5,11.8){\circle*{1}}
  1729.       \put(44.2,12.5){\circle*{1}}\put(42.9,13.3){\circle*{1}}
  1730.       \put(41.6,14.1){\circle*{1}}\put(40.4,14.9){\circle*{1}}
  1731.       \put(39.1,15.8){\circle*{1}}\put(37.8,16.7){\circle*{1}}
  1732.       \put(36.5,17.6){\circle*{1}}\put(35.3,18.6){\circle*{1}}
  1733.       \put(34.0,19.5){\circle*{1}}\put(32.7,20.6){\circle*{1}}
  1734.       \put(31.5,21.6){\circle*{1}}\put(30.2,22.8){\circle*{1}}
  1735.       \put(28.9,23.9){\circle*{1}}\put(27.6,25.1){\circle*{1}}
  1736.       \put(26.4,26.4){\circle*{1}}\put(0.0,90.0){\circle*{1}}
  1737.       \put(0.0,88.7){\circle*{1}}\put(0.0,87.5){\circle*{1}}
  1738.       \put(0.1,86.2){\circle*{1}}\put(0.1,84.9){\circle*{1}}
  1739.       \put(0.2,83.6){\circle*{1}}\put(0.3,82.4){\circle*{1}}
  1740.       \put(0.4,81.1){\circle*{1}}\put(0.6,79.8){\circle*{1}}
  1741.       \put(0.7,78.5){\circle*{1}}\put(0.9,77.3){\circle*{1}}
  1742.       \put(1.1,76.0){\circle*{1}}\put(1.3,74.7){\circle*{1}}
  1743.       \put(1.5,73.5){\circle*{1}}\put(1.8,72.2){\circle*{1}}
  1744.       \put(2.0,70.9){\circle*{1}}\put(2.3,69.6){\circle*{1}}
  1745.       \put(2.6,68.4){\circle*{1}}\put(3.0,67.1){\circle*{1}}
  1746.       \put(3.3,65.8){\circle*{1}}\put(3.7,64.5){\circle*{1}}
  1747.       \put(4.1,63.3){\circle*{1}}\put(4.5,62.0){\circle*{1}}
  1748.       \put(4.9,60.7){\circle*{1}}\put(5.3,59.5){\circle*{1}}
  1749.       \put(5.8,58.2){\circle*{1}}\put(6.3,56.9){\circle*{1}}
  1750.       \put(6.8,55.6){\circle*{1}}\put(7.4,54.4){\circle*{1}}
  1751.       \put(7.9,53.1){\circle*{1}}\put(8.5,51.8){\circle*{1}}
  1752.       \put(9.1,50.5){\circle*{1}}\put(9.7,49.3){\circle*{1}}
  1753.       \put(10.4,48.0){\circle*{1}}\put(11.1,46.7){\circle*{1}}
  1754.       \put(11.8,45.5){\circle*{1}}\put(12.5,44.2){\circle*{1}}
  1755.       \put(13.3,42.9){\circle*{1}}\put(14.1,41.6){\circle*{1}}
  1756.       \put(14.9,40.4){\circle*{1}}\put(15.8,39.1){\circle*{1}}
  1757.       \put(16.7,37.8){\circle*{1}}\put(17.6,36.5){\circle*{1}}
  1758.       \put(18.6,35.3){\circle*{1}}\put(19.5,34.0){\circle*{1}}
  1759.       \put(20.6,32.7){\circle*{1}}\put(21.6,31.5){\circle*{1}}
  1760.       \put(22.8,30.2){\circle*{1}}\put(23.9,28.9){\circle*{1}}
  1761.       \put(25.1,27.6){\circle*{1}}
  1762.       \put(30,30){\makebox(60,60){cbl}}
  1763.      \end{picture}}
  1764.     \put(0,240){%
  1765.      \begin{picture}(180,180)
  1766.       \put(0,0){\dashbox{5}(180,180){}}
  1767.       \put(90,90){\line(-1,0){90}} 
  1768.       \put(90,90){\line(0,1){90}}
  1769.       \put(0,90){\line(1,1){90}}
  1770.       \put(45,90){\makebox(45,45){tul}}
  1771.      \end{picture}}
  1772.     \put(240,240){%
  1773.      \begin{picture}(180,180)
  1774.       \put(0,0){\dashbox{5}(180,180){}}
  1775.       \put(90,90){\line(1,0){90}}
  1776.       \put(90,90){\line(0,1){90}}
  1777.       \put(90,180){\line(1,-1){90}}
  1778.       \put(90,90){\makebox(45,45){tur}}
  1779.      \end{picture}}
  1780.     \put(480,240){%
  1781.      \begin{picture}(180,180)
  1782.       \put(0,0){\dashbox{5}(180,180){}}
  1783.       \put(90,90){\line(1,0){90}}
  1784.       \put(90,90){\line(0,-1){90}}
  1785.       \put(90,0){\line(1,1){90}}
  1786.       \put(90,45){\makebox(45,45){tbr}}
  1787.      \end{picture}}
  1788.     \put(720,240){%
  1789.      \begin{picture}(180,180)
  1790.       \put(0,0){\dashbox{5}(180,180){}}
  1791.       \put(90,90){\line(-1,0){90}}
  1792.       \put(90,90){\line(0,-1){90}}
  1793.       \put(0,90){\line(1,-1){90}}
  1794.       \put(45,45){\makebox(45,45){tbl}}
  1795.      \end{picture}}
  1796.     \put(0,0){%
  1797.      \begin{picture}(180,180)
  1798.       \put(0,0){\dashbox{5}(180,180){}}
  1799.       \put(0,180){\line(1,0){90}}
  1800.       \put(0,90){\line(0,1){90}}
  1801.       \put(0,90){\line(1,1){90}}
  1802.       \put(0,135){\makebox(45,45){rul}}
  1803.      \end{picture}}
  1804.     \put(240,0){%
  1805.      \begin{picture}(180,180)
  1806.       \put(0,0){\dashbox{5}(180,180){}}
  1807.       \put(90,180){\line(1,0){90}}
  1808.       \put(180,90){\line(0,1){90}}
  1809.       \put(90,180){\line(1,-1){90}}
  1810.       \put(135,135){\makebox(45,45){rur}}
  1811.      \end{picture}}
  1812.     \put(480,0){%
  1813.      \begin{picture}(180,180)
  1814.       \put(0,0){\dashbox{5}(180,180){}}
  1815.       \put(90,0){\line(1,0){90}}
  1816.       \put(180,0){\line(0,1){90}}
  1817.       \put(90,0){\line(1,1){90}}
  1818.       \put(135,0){\makebox(45,45){rbr}}
  1819.      \end{picture}}
  1820.     \put(720,0){%
  1821.      \begin{picture}(180,180)
  1822.       \put(0,0){\dashbox{5}(180,180){}}
  1823.       \put(0,0){\line(1,0){90}}
  1824.       \put(0,0){\line(0,1){90}}
  1825.       \put(0,90){\line(1,-1){90}}
  1826.       \put(0,0){\makebox(45,45){rbl}}
  1827.      \end{picture}}
  1828.   \end{picture}
  1829.  \end{center}
  1830.  \caption{Short Patches.}
  1831.  \label{shortpatches}
  1832. \end{figure}
  1833.  
  1834. The definitions of each japanese character follow sequentially. The template 
  1835. for such a definition is:
  1836. \begin{quote}
  1837. \tt beginchar(0,\em width \tt\#,\em body\_height \tt\#,\em desc\_depth \tt\#);\\
  1838. \verb"normal_adjust_fit(2u#,2u#);"\\
  1839. $\vdots$\\
  1840. \verb"endchar;"
  1841. \end{quote}
  1842.  
  1843. \newpage %improve a bad page break
  1844.  
  1845. \begin{figure}[htb]
  1846.  \begin{center}
  1847.   \setlength{\unitlength}{0.38pt}
  1848.   \begin{picture}(900,900)
  1849.     \put(0,720){%
  1850.      \begin{picture}(180,180)
  1851.       \put(0,0){\dashbox{5}(180,180){}}
  1852.       \put(0,90){\line(1,0){180}}
  1853.       \put(180,90){\line(0,1){90}}
  1854.       \put(0,90){\line(2,1){180}}
  1855.       \put(90,90){\makebox(90,45){tuul}}
  1856.      \end{picture}}
  1857.     \put(240,720){%
  1858.      \begin{picture}(180,180)
  1859.       \put(0,0){\dashbox{5}(180,180){}}
  1860.       \put(90,0){\line(0,1){180}}
  1861.       \put(0,0){\line(1,0){90}}
  1862.       \put(0,0){\line(1,2){90}}
  1863.       \put(30,0){\makebox(60,60){tull}}
  1864.      \end{picture}}
  1865.     \put(480,720){%
  1866.      \begin{picture}(180,180)
  1867.       \put(0,0){\dashbox{5}(180,180){}}
  1868.       \put(0,90){\line(1,0){180}}
  1869.       \put(0,90){\line(0,1){90}}
  1870.       \put(0,180){\line(2,-1){180}}
  1871.       \put(0,90){\makebox(90,45){tuur}}
  1872.      \end{picture}}
  1873.     \put(720,720){%
  1874.      \begin{picture}(180,180)
  1875.       \put(0,0){\dashbox{5}(180,180){}}
  1876.       \put(90,0){\line(0,1){180}}
  1877.       \put(90,0){\line(1,0){90}}
  1878.       \put(90,180){\line(1,-2){90}}
  1879.       \put(90,0){\makebox(60,60){turr}}
  1880.      \end{picture}}
  1881.     \put(0,480){%
  1882.      \begin{picture}(180,180)
  1883.       \put(0,0){\dashbox{5}(180,180){}}
  1884.       \put(0,90){\line(1,0){180}}
  1885.       \put(0,0){\line(0,1){90}}
  1886.       \put(0,0){\line(2,1){180}}
  1887.       \put(0,45){\makebox(90,45){tbbr}}
  1888.      \end{picture}}
  1889.     \put(240,480){%
  1890.      \begin{picture}(180,180)
  1891.       \put(0,0){\dashbox{5}(180,180){}}
  1892.       \put(90,0){\line(0,1){180}}
  1893.       \put(90,180){\line(1,0){90}}
  1894.       \put(90,0){\line(1,2){90}}
  1895.       \put(90,120){\makebox(60,60){tbrr}}
  1896.      \end{picture}}
  1897.     \put(480,480){%
  1898.      \begin{picture}(180,180)
  1899.       \put(0,0){\dashbox{5}(180,180){}}
  1900.       \put(0,90){\line(1,0){180}}
  1901.       \put(180,0){\line(0,1){90}}
  1902.       \put(0,90){\line(2,-1){180}}
  1903.       \put(90,45){\makebox(90,45){tbbl}}
  1904.      \end{picture}}
  1905.     \put(720,480){%
  1906.      \begin{picture}(180,180)
  1907.       \put(0,0){\dashbox{5}(180,180){}}
  1908.       \put(90,0){\line(0,1){180}}
  1909.       \put(0,180){\line(1,0){90}}
  1910.       \put(0,180){\line(1,-2){90}}
  1911.       \put(30,120){\makebox(60,60){tbll}}
  1912.      \end{picture}}
  1913.     \put(0,240){%
  1914.      \begin{picture}(180,180)
  1915.       \put(0,0){\dashbox{5}(180,180){}}
  1916.       \put(0,0){\line(0,1){180}}
  1917.       \put(0,180){\line(1,0){90}}
  1918.       \put(0,0){\line(1,2){90}}
  1919.       \put(0,120){\makebox(60,60){ruul}}
  1920.      \end{picture}}
  1921.     \put(240,240){%
  1922.      \begin{picture}(180,180)
  1923.       \put(0,0){\dashbox{5}(180,180){}}
  1924.       \put(0,180){\line(1,0){180}}
  1925.       \put(0,90){\line(0,1){90}}
  1926.       \put(0,90){\line(2,1){180}}
  1927.       \put(0,135){\makebox(90,45){rull}}
  1928.      \end{picture}}
  1929.     \put(480,240){%
  1930.      \begin{picture}(180,180)
  1931.       \put(0,0){\dashbox{5}(180,180){}}
  1932.       \put(180,0){\line(0,1){180}}
  1933.       \put(90,180){\line(1,0){90}}
  1934.       \put(90,180){\line(1,-2){90}}
  1935.       \put(120,120){\makebox(60,60){ruur}}
  1936.      \end{picture}}
  1937.     \put(720,240){%
  1938.      \begin{picture}(180,180)
  1939.       \put(0,0){\dashbox{5}(180,180){}}
  1940.       \put(0,180){\line(1,0){180}}
  1941.       \put(180,90){\line(0,1){90}}
  1942.       \put(0,180){\line(2,-1){180}}
  1943.       \put(90,135){\makebox(90,45){rurr}}
  1944.      \end{picture}}
  1945.     \put(0,0){%
  1946.      \begin{picture}(180,180)
  1947.       \put(0,0){\dashbox{5}(180,180){}}
  1948.       \put(180,0){\line(0,1){180}}
  1949.       \put(90,0){\line(1,0){90}}
  1950.       \put(90,0){\line(1,2){90}}
  1951.       \put(120,0){\makebox(60,60){rbbr}}
  1952.      \end{picture}}
  1953.     \put(240,0){%
  1954.      \begin{picture}(180,180)
  1955.       \put(0,0){\dashbox{5}(180,180){}}
  1956.       \put(0,0){\line(1,0){180}}
  1957.       \put(180,0){\line(0,1){90}}
  1958.       \put(0,0){\line(2,1){180}}
  1959.       \put(90,0){\makebox(90,45){rbrr}}
  1960.      \end{picture}}
  1961.     \put(480,0){%
  1962.      \begin{picture}(180,180)
  1963.       \put(0,0){\dashbox{5}(180,180){}}
  1964.       \put(0,0){\line(0,1){180}}
  1965.       \put(0,0){\line(1,0){90}}
  1966.       \put(0,180){\line(1,-2){90}}
  1967.       \put(0,0){\makebox(60,60){rbbl}}
  1968.      \end{picture}}
  1969.     \put(720,0){%
  1970.      \begin{picture}(180,180)
  1971.       \put(0,0){\dashbox{5}(180,180){}}
  1972.       \put(0,0){\line(1,0){180}}
  1973.       \put(0,0){\line(0,1){90}}
  1974.       \put(0,90){\line(2,-1){180}}
  1975.       \put(0,0){\makebox(90,45){rbll}}
  1976.      \end{picture}}
  1977.   \end{picture}
  1978.  \end{center}
  1979.  \caption{Long Patches.}
  1980.  \label{longpatches}
  1981. \end{figure}
  1982.  
  1983. All sizes are given in terms of the fundamental unit of measurement $u$. The 
  1984. quantities {\em body\_height\/} and {\em desc\_depth\/} must include the border 
  1985. which is $2u$ thick. However, {\em width\/} does not need to include this 
  1986. border because the statement \verb"normal_adjust_fit" is equivalent to it 
  1987. horizontally. \MFT\ is somewhat more flexible in the horizontal direction by 
  1988. design and intent. The body of a character definition is simply a series of 
  1989. macro calls. Each line contains the macros for a given pixel in the bitmap. 
  1990. Consequently, each line is reasonably short.
  1991.  
  1992. \newpage %improve a bad page break
  1993.  
  1994. The \MFT\ code ends with a final header containing a few pieces of information 
  1995. for the \TeX\ Font Metric (\verb".tfm") files. The following are the most 
  1996. interesting items: 
  1997. \begin{quote}%Don't put spaces after the next line!
  1998. \begin{verbatim}
  1999. font_normal_space 8u#;
  2000. font_normal_stretch 4u#;
  2001. font_normal_shrink 3u#;
  2002. font_x_height 24u#; %ex
  2003. font_quad 24u#; %em
  2004. \end{verbatim}
  2005. \end{quote}
  2006.  
  2007. I set the normal inter-word spacing to a third of the maximum width of a 
  2008. character. This seems comparable to the scheme used in several Computer Modern 
  2009. fonts. Stretching and shrinking are set to values also comparable to what is
  2010. used elsewhere. I set the typical character height and width to the maximum 
  2011. size of a bitmap. 
  2012.  
  2013. \subsection{Algorithm}
  2014. \label{algorithm}
  2015.  
  2016. Given a bitmap, it is straightforward to determine its width and height, either 
  2017. fixed or minimized, while making sure that the vertical relationship with the 
  2018. horizontal baseline is respected. The bulk of the problem lies in determining 
  2019. the proper combination of squares, triangles, and quarter circles to be used. 
  2020. This subsection describes an algorithm developed jointly by Mr. Masatoshi 
  2021. Watanabe and me. I find that it produces good enough results for my need. But 
  2022. perhaps somebody will not share my opinion, and in that case, the following 
  2023. will no doubt prove helpful. 
  2024.  
  2025. The current bitmap is read into a 24~by~24 array of boolean variables. In what 
  2026. follows, I will say that a cell is {\em active\/} if the bitmap dictates that a 
  2027. dot should lie in it, otherwise it is {\em inactive}. Each cell is subdivided 
  2028. in four, and each subcell is examined with respect to the neighboring cells. 
  2029. The current algorithm is very local in that only neighboring cells in direct 
  2030. contact with the current cell are examined. A more global algorithm should 
  2031. perform better and that is certainly an area worth investigating for future 
  2032. releases.
  2033.  
  2034. From now on, I will concentrate on the upper left subcell. The other three 
  2035. subcells are handled in a similar fashion. In the following diagrams, a 
  2036. $\bullet$ indicates an active cell and a $\times$ indicates an inactive cell. 
  2037. Unlabeled neighboring cells are simply irrelevant.
  2038.  
  2039. The simplest case occurs when the current cell is inactive. Although the center 
  2040. of that cell should remain empty, it is possible to use its border to smooth a 
  2041. nearby painted area. The algorithm always tries to use long shapes first, 
  2042. before falling back to shorter shapes. 
  2043.  
  2044. First, the following cases clearly require that the upper left subcell not 
  2045. be painted: 
  2046. \begin{center}
  2047.  \setlength{\unitlength}{0.4pt}
  2048.  \begin{picture}(660,180)
  2049.   \put(0,0){%
  2050.    \begin{picture}(180,180)
  2051.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2052.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2053.     \put(0,0){\makebox(60,60){\Huge$\bullet$}}
  2054.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2055.     \put(0,120){\makebox(60,60){\Huge$\bullet$}}
  2056.     \put(60,0){\makebox(60,60){\Huge$\times$}}
  2057.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2058.     \put(60,90){\makebox(30,30){\large$\times$}}
  2059.    \end{picture}}
  2060.   \put(240,0){%
  2061.    \begin{picture}(180,180)
  2062.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2063.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2064.     \put(0,0){\makebox(60,60){\Huge$\times$}}
  2065.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2066.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2067.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2068.     \put(120,120){\makebox(60,60){\Huge$\times$}}
  2069.     \put(60,90){\makebox(30,30){\large$\times$}}
  2070.    \end{picture}}
  2071.   \put(480,0){%
  2072.    \begin{picture}(180,180)
  2073.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2074.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2075.     \put(0,120){\makebox(60,60){\Huge$\bullet$}}
  2076.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2077.     \put(120,120){\makebox(60,60){\Huge$\bullet$}}
  2078.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2079.     \put(120,60){\makebox(60,60){\Huge$\times$}}
  2080.     \put(60,90){\makebox(30,30){\large$\times$}}
  2081.    \end{picture}}
  2082.  \end{picture}
  2083. \end{center}
  2084.  
  2085. These three cases require reverse triangles involving the upper left subcell:
  2086. \begin{center}
  2087.  \setlength{\unitlength}{0.4pt}
  2088.  \begin{picture}(660,180)
  2089.   \put(0,0){%
  2090.    \begin{picture}(180,180)
  2091.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2092.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2093.     \put(0,0){\makebox(60,60){\Huge$\bullet$}}
  2094.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2095.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2096.     \put(120,120){\makebox(60,60){\Huge$\times$}}
  2097.     \put(60,60){\line(0,1){60}}
  2098.     \put(60,120){\line(1,0){30}}
  2099.     \put(60,60){\line(1,2){30}}
  2100.    \end{picture}}
  2101.   \put(240,0){%
  2102.    \begin{picture}(180,180)
  2103.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2104.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2105.     \put(120,120){\makebox(60,60){\Huge$\bullet$}}
  2106.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2107.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2108.     \put(0,0){\makebox(60,60){\Huge$\times$}}
  2109.     \put(60,120){\line(1,0){60}}
  2110.     \put(60,90){\line(0,1){30}}
  2111.     \put(60,90){\line(2,1){60}}
  2112.    \end{picture}}
  2113.   \put(480,0){%
  2114.    \begin{picture}(180,180)
  2115.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2116.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2117.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2118.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2119.     \put(120,120){\makebox(60,60){\Huge$\times$}}
  2120.     \put(0,0){\makebox(60,60){\Huge$\times$}}
  2121.     \put(60,120){\line(1,0){30}}
  2122.     \put(60,90){\line(0,1){30}}
  2123.     \put(60,90){\line(1,1){30}}
  2124.    \end{picture}}
  2125.  \end{picture}
  2126. \end{center}
  2127.  
  2128. There are two possible ways of handling the remaining case:
  2129. \begin{center}
  2130.  \setlength{\unitlength}{0.4pt}
  2131.  \begin{picture}(420,180)
  2132.   \put(0,0){%
  2133.    \begin{picture}(180,180)
  2134.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2135.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2136.     \put(0,0){\makebox(60,60){\Huge$\bullet$}}
  2137.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2138.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2139.     \put(120,120){\makebox(60,60){\Huge$\bullet$}}
  2140.     \put(60,90){\makebox(30,30){\large$\times$}}
  2141.    \end{picture}}
  2142.   \put(240,0){%
  2143.    \begin{picture}(180,180)
  2144.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2145.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2146.     \put(0,0){\makebox(60,60){\Huge$\bullet$}}
  2147.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2148.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2149.     \put(120,120){\makebox(60,60){\Huge$\bullet$}}
  2150.     \put(60,120){\line(1,0){30}}
  2151.     \put(60,90){\line(0,1){30}}
  2152.     \put(60,90){\line(1,1){30}}
  2153.    \end{picture}}
  2154.  \end{picture}
  2155. \end{center}
  2156.  
  2157. The technique on the left has the advantage of producing clean crossings of 
  2158. $+$ strokes, but experimentation shows that it often yields bad crossings of 
  2159. $\times$ strokes. The technique on the right produces good crossings of 
  2160. $\times$ strokes, but it also generates crossings of $+$ strokes with 
  2161. unnecessarily round corners. I examined both alternatives with \MFT\ in proof 
  2162. mode, and I found that it is preferable to have characters occasionally 
  2163. slightly too smooth, rather than sharp ones occasionally rough. Therefore, the 
  2164. approach on the right is the one used in \verb"JIS2MF". 
  2165.  
  2166. \newpage %improve a bad page break
  2167.  
  2168. The most complex situation occurs when the center cell is active. Each of its 
  2169. subcells will be filled by a square, a triangle, or a quarter circle. No 
  2170. reverse triangle is used in such instances since I insist that the interior of 
  2171. the cell be filled. As always, long triangles are tried first. The possible 
  2172. four cases involving the upper left subcell are:
  2173. \begin{center}
  2174.  \setlength{\unitlength}{0.4pt}
  2175.  \begin{picture}(900,180)
  2176.   \put(0,0){%
  2177.    \begin{picture}(180,180)
  2178.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2179.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2180.     \put(0,0){\makebox(60,60){\Huge$\bullet$}}
  2181.     \put(120,60){\makebox(60,60){\Huge$\bullet$}}
  2182.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2183.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2184.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2185.     \put(120,120){\makebox(60,60){\Huge$\times$}}
  2186.     \put(60,90){\line(1,0){60}}
  2187.     \put(120,90){\line(0,1){30}}
  2188.     \put(60,90){\line(2,1){60}}
  2189.    \end{picture}}
  2190.   \put(240,0){%
  2191.    \begin{picture}(180,180)
  2192.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2193.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2194.     \put(60,0){\makebox(60,60){\Huge$\bullet$}}
  2195.     \put(120,120){\makebox(60,60){\Huge$\bullet$}}
  2196.     \put(0,0){\makebox(60,60){\Huge$\times$}}
  2197.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2198.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2199.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2200.     \put(90,60){\line(0,1){60}}
  2201.     \put(60,60){\line(1,0){30}}
  2202.     \put(60,60){\line(1,2){30}}
  2203.    \end{picture}}
  2204.   \put(480,0){%
  2205.    \begin{picture}(180,180)
  2206.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2207.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2208.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2209.     \put(120,0){\makebox(60,60){\Huge$\bullet$}}
  2210.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2211.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2212.     \put(120,120){\makebox(60,60){\Huge$\times$}}
  2213.     \put(120,60){\makebox(60,60){\Huge$\times$}}
  2214.     \put(60,90){\line(1,0){60}}
  2215.     \put(60,90){\line(0,1){30}}
  2216.     \put(60,120){\line(2,-1){60}}
  2217.    \end{picture}}
  2218.   \put(720,0){%
  2219.    \begin{picture}(180,180)
  2220.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2221.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2222.     \put(120,0){\makebox(60,60){\Huge$\bullet$}}
  2223.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2224.     \put(0,0){\makebox(60,60){\Huge$\times$}}
  2225.     \put(60,0){\makebox(60,60){\Huge$\times$}}
  2226.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2227.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2228.     \put(90,60){\line(0,1){60}}
  2229.     \put(60,120){\line(1,0){30}}
  2230.     \put(60,120){\line(1,-2){30}}
  2231.    \end{picture}}
  2232.  \end{picture}
  2233. \end{center}
  2234.  
  2235. If none of these cases can be applied, the following three cases are tried out:
  2236. \begin{center}
  2237.  \setlength{\unitlength}{0.4pt}
  2238.  \begin{picture}(660,180)
  2239.   \put(0,0){%
  2240.    \begin{picture}(180,180)
  2241.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2242.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2243.     \put(0,60){\makebox(60,60){\Huge$\bullet$}}
  2244.     \put(60,90){\framebox(30,30){}}
  2245.    \end{picture}}
  2246.   \put(240,0){%
  2247.    \begin{picture}(180,180)
  2248.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2249.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2250.     \put(0,120){\makebox(60,60){\Huge$\bullet$}}
  2251.     \put(60,90){\framebox(30,30){}}
  2252.    \end{picture}}
  2253.   \put(480,0){%
  2254.    \begin{picture}(180,180)
  2255.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2256.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2257.     \put(60,120){\makebox(60,60){\Huge$\bullet$}}
  2258.     \put(60,90){\framebox(30,30){}}
  2259.    \end{picture}}
  2260.  \end{picture}
  2261. \end{center}
  2262.  
  2263. If neither of these is relevant, I always resort to one of these three final 
  2264. cases:
  2265. \begin{center}
  2266.  \setlength{\unitlength}{0.4pt}
  2267.  \begin{picture}(660,180)
  2268.   \put(0,0){%
  2269.    \begin{picture}(180,180)
  2270.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2271.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2272.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2273.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2274.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2275.     \put(120,120){\makebox(60,60){\Huge$\bullet$}}
  2276.     \put(90,90){\line(-1,0){30}}
  2277.     \put(90,90){\line(0,1){30}}
  2278.     \put(60,90){\line(1,1){30}}
  2279.    \end{picture}}
  2280.   \put(240,0){%
  2281.    \begin{picture}(180,180)
  2282.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2283.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2284.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2285.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2286.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2287.     \put(0,0){\makebox(60,60){\Huge$\bullet$}}
  2288.     \put(90,90){\line(-1,0){30}}
  2289.     \put(90,90){\line(0,1){30}}
  2290.     \put(60,90){\line(1,1){30}}
  2291.    \end{picture}}
  2292.   \put(480,0){%
  2293.    \begin{picture}(180,180)
  2294.     \multiput(0,0)(60,0){4}{\dashbox{5}(0,180){}}
  2295.     \multiput(0,0)(0,60){4}{\dashbox{5}(180,0){}}
  2296.     \put(0,60){\makebox(60,60){\Huge$\times$}}
  2297.     \put(0,120){\makebox(60,60){\Huge$\times$}}
  2298.     \put(60,120){\makebox(60,60){\Huge$\times$}}
  2299.     \put(0,0){\makebox(60,60){\Huge$\times$}}
  2300.     \put(120,120){\makebox(60,60){\Huge$\times$}}
  2301.     \put(90,90){\line(-1,0){30}}
  2302.     \put(90,90){\line(0,1){30}}
  2303.     \put(90.0,120.0){\circle*{1}}\put(89.3,120.0){\circle*{1}}
  2304.     \put(88.6,120.0){\circle*{1}}\put(87.9,119.9){\circle*{1}}
  2305.     \put(87.2,119.9){\circle*{1}}\put(86.5,119.8){\circle*{1}}
  2306.     \put(85.8,119.7){\circle*{1}}\put(85.1,119.6){\circle*{1}}
  2307.     \put(84.3,119.5){\circle*{1}}\put(83.6,119.3){\circle*{1}}
  2308.     \put(82.9,119.2){\circle*{1}}\put(82.2,119.0){\circle*{1}}
  2309.     \put(81.5,118.8){\circle*{1}}\put(80.8,118.6){\circle*{1}}
  2310.     \put(80.1,118.3){\circle*{1}}\put(79.4,118.1){\circle*{1}}
  2311.     \put(78.7,117.8){\circle*{1}}\put(78.0,117.5){\circle*{1}}
  2312.     \put(77.3,117.2){\circle*{1}}\put(76.6,116.8){\circle*{1}}
  2313.     \put(75.9,116.5){\circle*{1}}\put(75.2,116.1){\circle*{1}}
  2314.     \put(74.4,115.7){\circle*{1}}\put(73.7,115.2){\circle*{1}}
  2315.     \put(73.0,114.7){\circle*{1}}\put(72.3,114.2){\circle*{1}}
  2316.     \put(71.6,113.7){\circle*{1}}\put(70.9,113.1){\circle*{1}}
  2317.     \put(70.2,112.5){\circle*{1}}\put(69.5,111.9){\circle*{1}}
  2318.     \put(68.8,111.2){\circle*{1}}\put(60.0,90.0){\circle*{1}}
  2319.     \put(60.0,90.7){\circle*{1}}\put(60.0,91.4){\circle*{1}}
  2320.     \put(60.1,92.1){\circle*{1}}\put(60.1,92.8){\circle*{1}}
  2321.     \put(60.2,93.5){\circle*{1}}\put(60.3,94.2){\circle*{1}}
  2322.     \put(60.4,94.9){\circle*{1}}\put(60.5,95.7){\circle*{1}}
  2323.     \put(60.7,96.4){\circle*{1}}\put(60.8,97.1){\circle*{1}}
  2324.     \put(61.0,97.8){\circle*{1}}\put(61.2,98.5){\circle*{1}}
  2325.     \put(61.4,99.2){\circle*{1}}\put(61.7,99.9){\circle*{1}}
  2326.     \put(61.9,100.6){\circle*{1}}\put(62.2,101.3){\circle*{1}}
  2327.     \put(62.5,102.0){\circle*{1}}\put(62.8,102.7){\circle*{1}}
  2328.     \put(63.2,103.4){\circle*{1}}\put(63.5,104.1){\circle*{1}}
  2329.     \put(63.9,104.8){\circle*{1}}\put(64.3,105.6){\circle*{1}}
  2330.     \put(64.8,106.3){\circle*{1}}\put(65.3,107.0){\circle*{1}}
  2331.     \put(65.8,107.7){\circle*{1}}\put(66.3,108.4){\circle*{1}}
  2332.     \put(66.9,109.1){\circle*{1}}\put(67.5,109.8){\circle*{1}}
  2333.     \put(68.1,110.5){\circle*{1}}
  2334.    \end{picture}}
  2335.  \end{picture}
  2336. \end{center}
  2337.  
  2338. Note that an active cell surrounded by inactive ones is always eventually 
  2339. filled by four quarter circles; the original bitmap pixel remains unchanged. In 
  2340. that case, rather than using four quarter circle macro calls, I use one call to 
  2341. another macro which paints one complete circle. The case of four squares is 
  2342. handled similarly with one big square. These two additional macros complete the 
  2343. collection of painting macros used by \verb"JIS2MF". 
  2344.  
  2345. \newpage %improve a bad page break
  2346.  
  2347. Figure~\ref{bitmapandcontinuouscharacter} illustrates typical results obtained 
  2348. with this algorithm using bitmap~2512 of the JIS~24 dot font. 
  2349.  
  2350. \begin{figure}[htb]
  2351.  \begin{center}
  2352.   \setlength{\unitlength}{6pt}
  2353.   \begin{picture}(56,24)
  2354.    \put(0,0){%
  2355.     \begin{picture}(25,25)(1,1)
  2356.      \put(1,1){\dashbox{0.25}(24,24){}}
  2357.      \put(1,5){\makebox(1,1){$\bullet$}}\put(1,16){\makebox(1,1){$\bullet$}}
  2358.      \put(1,20){\makebox(1,1){$\bullet$}}\put(2,6){\makebox(1,1){$\bullet$}}
  2359.      \put(2,16){\makebox(1,1){$\bullet$}}\put(2,20){\makebox(1,1){$\bullet$}}
  2360.      \put(3,7){\makebox(1,1){$\bullet$}}\put(3,8){\makebox(1,1){$\bullet$}}
  2361.      \put(3,16){\makebox(1,1){$\bullet$}}\put(3,20){\makebox(1,1){$\bullet$}}
  2362.      \put(4,8){\makebox(1,1){$\bullet$}}\put(4,9){\makebox(1,1){$\bullet$}}
  2363.      \put(4,10){\makebox(1,1){$\bullet$}}\put(4,16){\makebox(1,1){$\bullet$}}
  2364.      \put(4,21){\makebox(1,1){$\bullet$}}\put(5,10){\makebox(1,1){$\bullet$}}
  2365.      \put(5,11){\makebox(1,1){$\bullet$}}\put(5,12){\makebox(1,1){$\bullet$}}
  2366.      \put(5,13){\makebox(1,1){$\bullet$}}\put(5,16){\makebox(1,1){$\bullet$}}
  2367.      \put(5,21){\makebox(1,1){$\bullet$}}\put(6,1){\makebox(1,1){$\bullet$}}
  2368.      \put(6,2){\makebox(1,1){$\bullet$}}\put(6,3){\makebox(1,1){$\bullet$}}
  2369.      \put(6,4){\makebox(1,1){$\bullet$}}\put(6,5){\makebox(1,1){$\bullet$}}
  2370.      \put(6,6){\makebox(1,1){$\bullet$}}\put(6,7){\makebox(1,1){$\bullet$}}
  2371.      \put(6,8){\makebox(1,1){$\bullet$}}\put(6,9){\makebox(1,1){$\bullet$}}
  2372.      \put(6,10){\makebox(1,1){$\bullet$}}\put(6,11){\makebox(1,1){$\bullet$}}
  2373.      \put(6,12){\makebox(1,1){$\bullet$}}\put(6,13){\makebox(1,1){$\bullet$}}
  2374.      \put(6,14){\makebox(1,1){$\bullet$}}\put(6,15){\makebox(1,1){$\bullet$}}
  2375.      \put(6,16){\makebox(1,1){$\bullet$}}\put(6,17){\makebox(1,1){$\bullet$}}
  2376.      \put(6,18){\makebox(1,1){$\bullet$}}\put(6,19){\makebox(1,1){$\bullet$}}
  2377.      \put(6,20){\makebox(1,1){$\bullet$}}\put(6,21){\makebox(1,1){$\bullet$}}
  2378.      \put(7,1){\makebox(1,1){$\bullet$}}\put(7,2){\makebox(1,1){$\bullet$}}
  2379.      \put(7,3){\makebox(1,1){$\bullet$}}\put(7,4){\makebox(1,1){$\bullet$}}
  2380.      \put(7,5){\makebox(1,1){$\bullet$}}\put(7,6){\makebox(1,1){$\bullet$}}
  2381.      \put(7,7){\makebox(1,1){$\bullet$}}\put(7,8){\makebox(1,1){$\bullet$}}
  2382.      \put(7,9){\makebox(1,1){$\bullet$}}\put(7,10){\makebox(1,1){$\bullet$}}
  2383.      \put(7,11){\makebox(1,1){$\bullet$}}\put(7,12){\makebox(1,1){$\bullet$}}
  2384.      \put(7,13){\makebox(1,1){$\bullet$}}\put(7,14){\makebox(1,1){$\bullet$}}
  2385.      \put(7,15){\makebox(1,1){$\bullet$}}\put(7,16){\makebox(1,1){$\bullet$}}
  2386.      \put(7,17){\makebox(1,1){$\bullet$}}\put(7,18){\makebox(1,1){$\bullet$}}
  2387.      \put(7,19){\makebox(1,1){$\bullet$}}\put(7,20){\makebox(1,1){$\bullet$}}
  2388.      \put(7,21){\makebox(1,1){$\bullet$}}\put(7,22){\makebox(1,1){$\bullet$}}
  2389.      \put(8,12){\makebox(1,1){$\bullet$}}\put(8,16){\makebox(1,1){$\bullet$}}
  2390.      \put(8,22){\makebox(1,1){$\bullet$}}\put(9,12){\makebox(1,1){$\bullet$}}
  2391.      \put(9,16){\makebox(1,1){$\bullet$}}\put(9,22){\makebox(1,1){$\bullet$}}
  2392.      \put(9,23){\makebox(1,1){$\bullet$}}\put(10,3){\makebox(1,1){$\bullet$}}
  2393.      \put(10,11){\makebox(1,1){$\bullet$}}\put(10,16){\makebox(1,1){$\bullet$}}
  2394.      \put(10,17){\makebox(1,1){$\bullet$}}\put(10,23){\makebox(1,1){$\bullet$}}
  2395.      \put(10,24){\makebox(1,1){$\bullet$}}\put(11,1){\makebox(1,1){$\bullet$}}
  2396.      \put(11,2){\makebox(1,1){$\bullet$}}\put(11,3){\makebox(1,1){$\bullet$}}
  2397.      \put(11,9){\makebox(1,1){$\bullet$}}\put(11,10){\makebox(1,1){$\bullet$}}
  2398.      \put(11,11){\makebox(1,1){$\bullet$}}\put(11,16){\makebox(1,1){$\bullet$}}
  2399.      \put(11,17){\makebox(1,1){$\bullet$}}\put(11,23){\makebox(1,1){$\bullet$}}
  2400.      \put(11,24){\makebox(1,1){$\bullet$}}\put(12,2){\makebox(1,1){$\bullet$}}
  2401.      \put(12,3){\makebox(1,1){$\bullet$}}\put(12,9){\makebox(1,1){$\bullet$}}
  2402.      \put(12,10){\makebox(1,1){$\bullet$}}\put(12,16){\makebox(1,1){$\bullet$}}
  2403.      \put(12,23){\makebox(1,1){$\bullet$}}\put(13,2){\makebox(1,1){$\bullet$}}
  2404.      \put(13,3){\makebox(1,1){$\bullet$}}\put(14,2){\makebox(1,1){$\bullet$}}
  2405.      \put(14,3){\makebox(1,1){$\bullet$}}\put(14,4){\makebox(1,1){$\bullet$}}
  2406.      \put(14,5){\makebox(1,1){$\bullet$}}\put(15,3){\makebox(1,1){$\bullet$}}
  2407.      \put(15,6){\makebox(1,1){$\bullet$}}\put(15,7){\makebox(1,1){$\bullet$}}
  2408.      \put(15,8){\makebox(1,1){$\bullet$}}\put(15,9){\makebox(1,1){$\bullet$}}
  2409.      \put(16,3){\makebox(1,1){$\bullet$}}\put(16,8){\makebox(1,1){$\bullet$}}
  2410.      \put(16,9){\makebox(1,1){$\bullet$}}\put(16,10){\makebox(1,1){$\bullet$}}
  2411.      \put(16,11){\makebox(1,1){$\bullet$}}\put(16,12){\makebox(1,1){$\bullet$}}
  2412.      \put(16,13){\makebox(1,1){$\bullet$}}\put(16,14){\makebox(1,1){$\bullet$}}
  2413.      \put(16,15){\makebox(1,1){$\bullet$}}\put(16,16){\makebox(1,1){$\bullet$}}
  2414.      \put(17,3){\makebox(1,1){$\bullet$}}\put(17,12){\makebox(1,1){$\bullet$}}
  2415.      \put(17,13){\makebox(1,1){$\bullet$}}\put(17,14){\makebox(1,1){$\bullet$}}
  2416.      \put(17,15){\makebox(1,1){$\bullet$}}\put(17,16){\makebox(1,1){$\bullet$}}
  2417.      \put(17,17){\makebox(1,1){$\bullet$}}\put(17,18){\makebox(1,1){$\bullet$}}
  2418.      \put(17,19){\makebox(1,1){$\bullet$}}\put(17,20){\makebox(1,1){$\bullet$}}
  2419.      \put(17,21){\makebox(1,1){$\bullet$}}\put(17,22){\makebox(1,1){$\bullet$}}
  2420.      \put(17,23){\makebox(1,1){$\bullet$}}\put(17,24){\makebox(1,1){$\bullet$}}
  2421.      \put(18,3){\makebox(1,1){$\bullet$}}\put(18,17){\makebox(1,1){$\bullet$}}
  2422.      \put(18,18){\makebox(1,1){$\bullet$}}\put(18,19){\makebox(1,1){$\bullet$}}
  2423.      \put(18,20){\makebox(1,1){$\bullet$}}\put(18,21){\makebox(1,1){$\bullet$}}
  2424.      \put(18,22){\makebox(1,1){$\bullet$}}\put(18,23){\makebox(1,1){$\bullet$}}
  2425.      \put(19,4){\makebox(1,1){$\bullet$}}\put(19,23){\makebox(1,1){$\bullet$}}
  2426.      \put(20,4){\makebox(1,1){$\bullet$}}\put(20,8){\makebox(1,1){$\bullet$}}
  2427.      \put(21,4){\makebox(1,1){$\bullet$}}\put(21,6){\makebox(1,1){$\bullet$}}
  2428.      \put(21,7){\makebox(1,1){$\bullet$}}\put(22,4){\makebox(1,1){$\bullet$}}
  2429.      \put(22,5){\makebox(1,1){$\bullet$}}\put(22,6){\makebox(1,1){$\bullet$}}
  2430.      \put(23,1){\makebox(1,1){$\bullet$}}\put(23,2){\makebox(1,1){$\bullet$}}
  2431.      \put(23,3){\makebox(1,1){$\bullet$}}\put(23,4){\makebox(1,1){$\bullet$}}
  2432.      \put(23,5){\makebox(1,1){$\bullet$}}\put(24,1){\makebox(1,1){$\bullet$}}
  2433.      \put(24,2){\makebox(1,1){$\bullet$}}\put(24,3){\makebox(1,1){$\bullet$}}
  2434.     \end{picture}}
  2435.    \put(32,0){%
  2436.     \begin{picture}(24,21.25)(0,-2.75)
  2437.      \newsavebox{\sss}
  2438.      \sbox{\sss}{%
  2439.       \begin{picture}(1,1)
  2440.        \put(0,0){\framebox(1,1){}}
  2441.       \end{picture}}
  2442.      \newsavebox{\sul}
  2443.      \sbox{\sul}{%
  2444.       \begin{picture}(1,1)
  2445.        \put(0,0.5){\framebox(0.5,0.5){}}
  2446.       \end{picture}}
  2447.      \newsavebox{\sur}
  2448.      \sbox{\sur}{%
  2449.       \begin{picture}(1,1)
  2450.        \put(0.5,0.5){\framebox(0.5,0.5){}}
  2451.       \end{picture}}
  2452.      \newsavebox{\sbr}
  2453.      \sbox{\sbr}{%
  2454.       \begin{picture}(1,1)
  2455.        \put(0.5,0){\framebox(0.5,0.5){}}
  2456.       \end{picture}}
  2457.      \newsavebox{\sbl}
  2458.      \sbox{\sbl}{%
  2459.       \begin{picture}(1,1)
  2460.        \put(0,0){\framebox(0.5,0.5){}}
  2461.       \end{picture}}
  2462.      \newsavebox{\cul}
  2463.      \sbox{\cul}{%
  2464.       \begin{picture}(1,1)
  2465.        \put(0.5,0.5){\line(-1,0){0.5}}
  2466.        \put(0.5,0.5){\line(0,1){0.5}}
  2467.        \put(0.50,1.00){\circle*{0.05}}\put(0.43,0.99){\circle*{0.05}}
  2468.        \put(0.36,0.98){\circle*{0.05}}\put(0.29,0.95){\circle*{0.05}}
  2469.        \put(0.22,0.91){\circle*{0.05}}\put(0.15,0.85){\circle*{0.05}}
  2470.        \put(0.00,0.50){\circle*{0.05}}\put(0.01,0.57){\circle*{0.05}}
  2471.        \put(0.02,0.64){\circle*{0.05}}\put(0.05,0.71){\circle*{0.05}}
  2472.        \put(0.09,0.78){\circle*{0.05}}
  2473.       \end{picture}}
  2474.      \newsavebox{\cur}
  2475.      \sbox{\cur}{%
  2476.       \begin{picture}(1,1)
  2477.        \put(0.5,0.5){\line(1,0){0.5}}
  2478.        \put(0.5,0.5){\line(0,1){0.5}}
  2479.        \put(0.50,1.00){\circle*{0.05}}\put(0.57,0.99){\circle*{0.05}}
  2480.        \put(0.64,0.98){\circle*{0.05}}\put(0.71,0.95){\circle*{0.05}}
  2481.        \put(0.78,0.91){\circle*{0.05}}\put(0.85,0.85){\circle*{0.05}}
  2482.        \put(1.00,0.50){\circle*{0.05}}\put(0.99,0.57){\circle*{0.05}}
  2483.        \put(0.98,0.64){\circle*{0.05}}\put(0.95,0.71){\circle*{0.05}}
  2484.        \put(0.91,0.78){\circle*{0.05}}
  2485.       \end{picture}}
  2486.      \newsavebox{\cbr}
  2487.      \sbox{\cbr}{%
  2488.       \begin{picture}(1,1)
  2489.        \put(0.5,0.5){\line(1,0){0.5}}
  2490.        \put(0.5,0.5){\line(0,-1){0.5}}
  2491.        \put(0.50,0.00){\circle*{0.05}}\put(0.57,0.01){\circle*{0.05}}
  2492.        \put(0.64,0.02){\circle*{0.05}}\put(0.71,0.05){\circle*{0.05}}
  2493.        \put(0.78,0.09){\circle*{0.05}}\put(0.85,0.15){\circle*{0.05}}
  2494.        \put(1.00,0.50){\circle*{0.05}}\put(0.99,0.43){\circle*{0.05}}
  2495.        \put(0.98,0.36){\circle*{0.05}}\put(0.95,0.29){\circle*{0.05}}
  2496.        \put(0.91,0.22){\circle*{0.05}}
  2497.       \end{picture}}
  2498.      \newsavebox{\cbl}
  2499.      \sbox{\cbl}{%
  2500.       \begin{picture}(1,1)
  2501.        \put(0.5,0.5){\line(-1,0){0.5}}
  2502.        \put(0.5,0.5){\line(0,-1){0.5}}
  2503.        \put(0.50,0.00){\circle*{0.05}}\put(0.43,0.01){\circle*{0.05}}
  2504.        \put(0.36,0.02){\circle*{0.05}}\put(0.29,0.05){\circle*{0.05}}
  2505.        \put(0.22,0.09){\circle*{0.05}}\put(0.15,0.15){\circle*{0.05}}
  2506.        \put(0.00,0.50){\circle*{0.05}}\put(0.01,0.43){\circle*{0.05}}
  2507.        \put(0.02,0.36){\circle*{0.05}}\put(0.05,0.29){\circle*{0.05}}
  2508.        \put(0.09,0.22){\circle*{0.05}}
  2509.       \end{picture}}
  2510.      \newsavebox{\tul}
  2511.      \sbox{\tul}{%
  2512.       \begin{picture}(1,1)
  2513.        \put(0.5,0.5){\line(-1,0){0.5}}
  2514.        \put(0.5,0.5){\line(0,1){0.5}}
  2515.        \multiput(0,0.5)(0.05,0.05){11}{\circle*{0.05}}
  2516.       \end{picture}}
  2517.      \newsavebox{\tur}
  2518.      \sbox{\tur}{%
  2519.       \begin{picture}(1,1)
  2520.        \put(0.5,0.5){\line(1,0){0.5}}
  2521.        \put(0.5,0.5){\line(0,1){0.5}}
  2522.        \put(0.5,1){\line(1,-1){0.5}}
  2523.        \multiput(0.5,1)(0.05,-0.05){11}{\circle*{0.05}}
  2524.       \end{picture}}
  2525.      \newsavebox{\tbr}
  2526.      \sbox{\tbr}{%
  2527.       \begin{picture}(1,1)
  2528.        \put(0.5,0.5){\line(1,0){0.5}}
  2529.        \put(0.5,0.5){\line(0,-1){0.5}}
  2530.        \put(0.5,0){\line(1,1){0.5}}
  2531.        \multiput(0.5,0)(0.05,0.05){11}{\circle*{0.05}}
  2532.       \end{picture}}
  2533.      \newsavebox{\tbl}
  2534.      \sbox{\tbl}{%
  2535.       \begin{picture}(1,1)
  2536.        \put(0.5,0.5){\line(-1,0){0.5}}
  2537.        \put(0.5,0.5){\line(0,-1){0.5}}
  2538.        \put(0,0.5){\line(1,-1){0.5}}
  2539.        \multiput(0,0.5)(0.05,-0.05){11}{\circle*{0.05}}
  2540.       \end{picture}}
  2541.      \newsavebox{\rul}
  2542.      \sbox{\rul}{%
  2543.       \begin{picture}(1,1)
  2544.        \put(0,1){\line(1,0){0.5}}
  2545.        \put(0,0.5){\line(0,1){0.5}}
  2546.        \put(0,0.5){\line(1,1){0.5}}
  2547.        \multiput(0,0.5)(0.05,0.05){11}{\circle*{0.05}}
  2548.       \end{picture}}
  2549.      \newsavebox{\rur}
  2550.      \sbox{\rur}{%
  2551.       \begin{picture}(1,1)
  2552.        \put(0.5,1){\line(1,0){0.5}}
  2553.        \put(1,0.5){\line(0,1){0.5}}
  2554.        \put(0.5,1){\line(1,-1){0.5}}
  2555.        \multiput(0.5,1)(0.05,-0.05){11}{\circle*{0.05}}
  2556.       \end{picture}}
  2557.      \newsavebox{\rbr}
  2558.      \sbox{\rbr}{%
  2559.       \begin{picture}(1,1)
  2560.        \put(0.5,0){\line(1,0){0.5}}
  2561.        \put(1,0){\line(0,1){0.5}}
  2562.        \put(0.5,0){\line(1,1){0.5}}
  2563.        \multiput(0.5,0)(0.05,0.05){11}{\circle*{0.05}}
  2564.       \end{picture}}
  2565.      \newsavebox{\rbl}
  2566.      \sbox{\rbl}{%
  2567.       \begin{picture}(1,1)
  2568.        \put(0,0){\line(1,0){0.5}}
  2569.        \put(0,0){\line(0,1){0.5}}
  2570.        \put(0,0.5){\line(1,-1){0.5}}
  2571.        \multiput(0,0.5)(0.05,-0.05){11}{\circle*{0.05}}
  2572.       \end{picture}}
  2573.      \newsavebox{\tuul}
  2574.      \sbox{\tuul}{%
  2575.       \begin{picture}(1,1)
  2576.        \put(0,0.5){\line(1,0){1}}
  2577.        \put(1,0.5){\line(0,1){0.5}}
  2578.        \multiput(0,0.5)(0.05,0.025){21}{\circle*{0.05}}
  2579.       \end{picture}}
  2580.      \newsavebox{\tuur}
  2581.      \sbox{\tuur}{%
  2582.       \begin{picture}(1,1)
  2583.        \put(0,0.5){\line(1,0){1}}
  2584.        \put(0,0.5){\line(0,1){0.5}}
  2585.        \multiput(0,1)(0.05,-0.025){21}{\circle*{0.05}}
  2586.       \end{picture}}
  2587.      \newsavebox{\tbbl}
  2588.      \sbox{\tbbl}{%
  2589.       \begin{picture}(1,1)
  2590.        \put(0,0.5){\line(1,0){1}}
  2591.        \put(1,0){\line(0,1){0.5}}
  2592.        \multiput(0,0.5)(0.05,-0.025){21}{\circle*{0.05}}
  2593.       \end{picture}}
  2594.      \newsavebox{\tbbr}
  2595.      \sbox{\tbbr}{%
  2596.       \begin{picture}(1,1)
  2597.        \put(0,0.5){\line(1,0){1}}
  2598.        \put(0,0){\line(0,1){0.5}}
  2599.        \multiput(0,0)(0.05,0.025){21}{\circle*{0.05}}
  2600.       \end{picture}}
  2601.      \newsavebox{\tull}
  2602.      \sbox{\tull}{%
  2603.       \begin{picture}(1,1)
  2604.        \put(0.5,0){\line(0,1){1}}
  2605.        \put(0,0){\line(1,0){0.5}}
  2606.        \multiput(0,0)(0.025,0.05){21}{\circle*{0.05}}
  2607.       \end{picture}}
  2608.      \newsavebox{\turr}
  2609.      \sbox{\turr}{%
  2610.       \begin{picture}(1,1)
  2611.        \put(0.5,0){\line(0,1){1}}
  2612.        \put(0.5,0){\line(1,0){0.5}}
  2613.        \multiput(0.5,1)(0.025,-0.05){21}{\circle*{0.05}}
  2614.       \end{picture}}
  2615.      \newsavebox{\tbll}
  2616.      \sbox{\tbll}{%
  2617.       \begin{picture}(1,1)
  2618.        \put(0.5,0){\line(0,1){1}}
  2619.        \put(0,1){\line(1,0){0.5}}
  2620.        \multiput(0,1)(0.025,-0.05){21}{\circle*{0.05}}
  2621.       \end{picture}}
  2622.      \newsavebox{\tbrr}
  2623.      \sbox{\tbrr}{%
  2624.       \begin{picture}(1,1)
  2625.        \put(0.5,0){\line(0,1){1}}
  2626.        \put(0.5,1){\line(1,0){0.5}}
  2627.        \multiput(0.5,0)(0.025,0.05){21}{\circle*{0.05}}
  2628.       \end{picture}}
  2629.      \newsavebox{\ruul}
  2630.      \sbox{\ruul}{%
  2631.       \begin{picture}(1,1)
  2632.        \put(0,1){\line(1,0){0.5}}
  2633.        \put(0,0){\line(0,1){1}}
  2634.        \multiput(0,0)(0.025,0.05){21}{\circle*{0.05}}
  2635.       \end{picture}}
  2636.      \newsavebox{\ruur}
  2637.      \sbox{\ruur}{%
  2638.       \begin{picture}(1,1)
  2639.        \put(0.5,1){\line(1,0){0.5}}
  2640.        \put(1,0){\line(0,1){1}}
  2641.        \multiput(0.5,1)(0.025,-0.05){21}{\circle*{0.05}}
  2642.       \end{picture}}
  2643.      \newsavebox{\rbbl}
  2644.      \sbox{\rbbl}{%
  2645.       \begin{picture}(1,1)
  2646.        \put(0,0){\line(1,0){0.5}}
  2647.        \put(0,0){\line(0,1){1}}
  2648.        \multiput(0,1)(0.025,-0.05){21}{\circle*{0.05}}
  2649.       \end{picture}}
  2650.      \newsavebox{\rbbr}
  2651.      \sbox{\rbbr}{%
  2652.       \begin{picture}(1,1)
  2653.        \put(0.5,0){\line(1,0){0.5}}
  2654.        \put(1,0){\line(0,1){1}}
  2655.        \multiput(0.5,0)(0.025,0.05){21}{\circle*{0.05}}
  2656.       \end{picture}}
  2657.      \newsavebox{\rull}
  2658.      \sbox{\rull}{%
  2659.       \begin{picture}(1,1)
  2660.        \put(0,1){\line(1,0){1}}
  2661.        \put(0,0.5){\line(0,1){0.5}}
  2662.        \multiput(0,0.5)(0.05,0.025){21}{\circle*{0.05}}
  2663.       \end{picture}}
  2664.      \newsavebox{\rurr}
  2665.      \sbox{\rurr}{%
  2666.       \begin{picture}(1,1)
  2667.        \put(0,1){\line(1,0){1}}
  2668.        \put(1,0.5){\line(0,1){0.5}}
  2669.        \multiput(0,1)(0.05,-0.025){21}{\circle*{0.05}}
  2670.       \end{picture}}
  2671.      \newsavebox{\rbll}
  2672.      \sbox{\rbll}{%
  2673.       \begin{picture}(1,1)
  2674.        \put(0,0){\line(1,0){1}}
  2675.        \put(0,0){\line(0,1){0.5}}
  2676.        \multiput(0,0.5)(0.05,-0.025){21}{\circle*{0.05}}
  2677.       \end{picture}}
  2678.      \newsavebox{\rbrr}
  2679.      \sbox{\rbrr}{%
  2680.       \begin{picture}(1,1)
  2681.        \put(0,0){\line(1,0){1}}
  2682.        \put(1,0){\line(0,1){0.5}}
  2683.        \multiput(0,0)(0.05,0.025){21}{\circle*{0.05}}
  2684.       \end{picture}}
  2685.      \put(0,-2.75){\dashbox{0.25}(24,24){}}
  2686.      \put(0,0){\line(1,0){24}}
  2687.      \put(0,1.25){\usebox{\tul}}\put(0,1.25){\usebox{\sur}}
  2688.      \put(0,1.25){\usebox{\cbl}}\put(0,1.25){\usebox{\tbr}}
  2689.      \put(0,2.25){\usebox{\rbr}}\put(0,12.25){\usebox{\cul}}
  2690.      \put(0,12.25){\usebox{\sur}}\put(0,12.25){\usebox{\cbl}}
  2691.      \put(0,12.25){\usebox{\sbr}}\put(0,16.25){\usebox{\cul}}
  2692.      \put(0,16.25){\usebox{\sur}}\put(0,16.25){\usebox{\cbl}}
  2693.      \put(0,16.25){\usebox{\sbr}}\put(1,1.25){\usebox{\rul}}
  2694.      \put(1,2.25){\usebox{\tul}}\put(1,2.25){\usebox{\sur}}
  2695.      \put(1,2.25){\usebox{\sbl}}\put(1,2.25){\usebox{\tbr}}
  2696.      \put(1,3.25){\usebox{\rbbr}}\put(1,12.25){\usebox{\sss}}
  2697.      \put(1,16.25){\usebox{\sss}}\put(2,2.25){\usebox{\rul}}
  2698.      \put(2,3.25){\usebox{\sul}}\put(2,3.25){\usebox{\sur}}
  2699.      \put(2,3.25){\usebox{\sbl}}\put(2,3.25){\usebox{\tbr}}
  2700.      \put(2,4.25){\usebox{\tull}}\put(2,4.25){\usebox{\sur}}
  2701.      \put(2,4.25){\usebox{\sbr}}\put(2,5.25){\usebox{\rbbr}}
  2702.      \put(2,12.25){\usebox{\sss}}\put(2,16.25){\usebox{\tbbr}}
  2703.      \put(2,16.25){\usebox{\sul}}\put(2,16.25){\usebox{\sur}}
  2704.      \put(2,17.25){\usebox{\rbrr}}\put(3,3.25){\usebox{\rul}}
  2705.      \put(3,4.25){\usebox{\tbrr}}\put(3,4.25){\usebox{\sul}}
  2706.      \put(3,4.25){\usebox{\sbl}}\put(3,5.25){\usebox{\sss}}
  2707.      \put(3,6.25){\usebox{\tull}}\put(3,6.25){\usebox{\sur}}
  2708.      \put(3,6.25){\usebox{\sbr}}\put(3,7.25){\usebox{\rbbr}}
  2709.      \put(3,12.25){\usebox{\sss}}\put(3,16.25){\usebox{\rull}}
  2710.      \put(3,17.25){\usebox{\tuul}}\put(3,17.25){\usebox{\sbl}}
  2711.      \put(3,17.25){\usebox{\sbr}}\put(4,5.25){\usebox{\rul}}
  2712.      \put(4,5.25){\usebox{\rur}}\put(4,6.25){\usebox{\sss}}
  2713.      \put(4,7.25){\usebox{\sss}}\put(4,8.25){\usebox{\sss}}
  2714.      \put(4,9.25){\usebox{\tull}}\put(4,9.25){\usebox{\sur}}
  2715.      \put(4,9.25){\usebox{\sbr}}\put(4,10.25){\usebox{\rbbr}}
  2716.      \put(4,11.25){\usebox{\rur}}\put(4,12.25){\usebox{\sss}}
  2717.      \put(4,13.25){\usebox{\rbr}}\put(4,16.25){\usebox{\rur}}
  2718.      \put(4,17.25){\usebox{\sss}}\put(5,-2.75){\usebox{\sul}}
  2719.      \put(5,-2.75){\usebox{\sur}}\put(5,-2.75){\usebox{\cbl}}
  2720.      \put(5,-2.75){\usebox{\sbr}}\put(5,-1.75){\usebox{\sss}}
  2721.      \put(5,-0.75){\usebox{\sss}}\put(5,0.25){\usebox{\sss}}
  2722.      \put(5,1.25){\usebox{\sss}}\put(5,2.25){\usebox{\sss}}
  2723.      \put(5,3.25){\usebox{\sss}}\put(5,4.25){\usebox{\sss}}
  2724.      \put(5,5.25){\usebox{\sss}}\put(5,6.25){\usebox{\sss}}
  2725.      \put(5,7.25){\usebox{\sss}}\put(5,8.25){\usebox{\sss}}
  2726.      \put(5,9.25){\usebox{\sss}}\put(5,10.25){\usebox{\sss}}
  2727.      \put(5,11.25){\usebox{\sss}}\put(5,12.25){\usebox{\sss}}
  2728.      \put(5,13.25){\usebox{\sss}}\put(5,14.25){\usebox{\sss}}
  2729.      \put(5,15.25){\usebox{\sss}}\put(5,16.25){\usebox{\sss}}
  2730.      \put(5,17.25){\usebox{\sss}}\put(5,18.25){\usebox{\rbrr}}
  2731.      \put(6,-2.75){\usebox{\sul}}\put(6,-2.75){\usebox{\sur}}
  2732.      \put(6,-2.75){\usebox{\sbl}}\put(6,-2.75){\usebox{\cbr}}
  2733.      \put(6,-1.75){\usebox{\sss}}\put(6,-0.75){\usebox{\sss}}
  2734.      \put(6,0.25){\usebox{\sss}}\put(6,1.25){\usebox{\sss}}
  2735.      \put(6,2.25){\usebox{\sss}}\put(6,3.25){\usebox{\sss}}
  2736.      \put(6,4.25){\usebox{\sss}}\put(6,5.25){\usebox{\sss}}
  2737.      \put(6,6.25){\usebox{\sss}}\put(6,7.25){\usebox{\sss}}
  2738.      \put(6,8.25){\usebox{\sss}}\put(6,9.25){\usebox{\sss}}
  2739.      \put(6,10.25){\usebox{\sss}}\put(6,11.25){\usebox{\sss}}
  2740.      \put(6,12.25){\usebox{\sss}}\put(6,13.25){\usebox{\sss}}
  2741.      \put(6,14.25){\usebox{\sss}}\put(6,15.25){\usebox{\sss}}
  2742.      \put(6,16.25){\usebox{\sss}}\put(6,17.25){\usebox{\sss}}
  2743.      \put(6,18.25){\usebox{\tuul}}\put(6,18.25){\usebox{\sbl}}
  2744.      \put(6,18.25){\usebox{\sbr}}\put(7,7.25){\usebox{\rul}}
  2745.      \put(7,8.25){\usebox{\sss}}\put(7,9.25){\usebox{\rbl}}
  2746.      \put(7,11.25){\usebox{\rul}}\put(7,12.25){\usebox{\sss}}
  2747.      \put(7,13.25){\usebox{\rbl}}\put(7,17.25){\usebox{\rul}}
  2748.      \put(7,18.25){\usebox{\sss}}\put(7,19.25){\usebox{\rbrr}}
  2749.      \put(8,7.25){\usebox{\rurr}}\put(8,8.25){\usebox{\tuur}}
  2750.      \put(8,8.25){\usebox{\sbl}}\put(8,8.25){\usebox{\sbr}}
  2751.      \put(8,12.25){\usebox{\sss}}\put(8,13.25){\usebox{\rbrr}}
  2752.      \put(8,18.25){\usebox{\tbbr}}\put(8,18.25){\usebox{\sul}}
  2753.      \put(8,18.25){\usebox{\sur}}\put(8,19.25){\usebox{\tul}}
  2754.      \put(8,19.25){\usebox{\sur}}\put(8,19.25){\usebox{\sbl}}
  2755.      \put(8,19.25){\usebox{\sbr}}\put(8,20.25){\usebox{\rbr}}
  2756.      \put(9,-1.75){\usebox{\ruur}}\put(9,-0.75){\usebox{\cul}}
  2757.      \put(9,-0.75){\usebox{\sur}}\put(9,-0.75){\usebox{\tbl}}
  2758.      \put(9,-0.75){\usebox{\sbr}}\put(9,6.25){\usebox{\ruur}}
  2759.      \put(9,7.25){\usebox{\sul}}\put(9,7.25){\usebox{\sur}}
  2760.      \put(9,7.25){\usebox{\tbl}}\put(9,7.25){\usebox{\sbr}}
  2761.      \put(9,8.25){\usebox{\rbll}}\put(9,12.25){\usebox{\sss}}
  2762.      \put(9,13.25){\usebox{\tuul}}\put(9,13.25){\usebox{\sbl}}
  2763.      \put(9,13.25){\usebox{\sbr}}\put(9,18.25){\usebox{\rull}}
  2764.      \put(9,19.25){\usebox{\sss}}\put(9,20.25){\usebox{\tuul}}
  2765.      \put(9,20.25){\usebox{\sbl}}\put(9,20.25){\usebox{\sbr}}
  2766.      \put(10,-2.75){\usebox{\sul}}\put(10,-2.75){\usebox{\sur}}
  2767.      \put(10,-2.75){\usebox{\cbl}}\put(10,-2.75){\usebox{\tbr}}
  2768.      \put(10,-1.75){\usebox{\sss}}\put(10,-0.75){\usebox{\sss}}
  2769.      \put(10,5.25){\usebox{\sul}}\put(10,5.25){\usebox{\sur}}
  2770.      \put(10,5.25){\usebox{\cbl}}\put(10,5.25){\usebox{\sbr}}
  2771.      \put(10,6.25){\usebox{\sss}}\put(10,7.25){\usebox{\tuur}}
  2772.      \put(10,7.25){\usebox{\sbl}}\put(10,7.25){\usebox{\sbr}}
  2773.      \put(10,12.25){\usebox{\sss}}\put(10,13.25){\usebox{\tuur}}
  2774.      \put(10,13.25){\usebox{\sbl}}\put(10,13.25){\usebox{\sbr}}
  2775.      \put(10,19.25){\usebox{\sss}}\put(10,20.25){\usebox{\tuur}}
  2776.      \put(10,20.25){\usebox{\sbl}}\put(10,20.25){\usebox{\sbr}}
  2777.      \put(11,-2.75){\usebox{\rull}}\put(11,-1.75){\usebox{\sss}}
  2778.      \put(11,-0.75){\usebox{\sss}}\put(11,5.25){\usebox{\sul}}
  2779.      \put(11,5.25){\usebox{\sur}}\put(11,5.25){\usebox{\sbl}}
  2780.      \put(11,5.25){\usebox{\cbr}}\put(11,6.25){\usebox{\turr}}
  2781.      \put(11,6.25){\usebox{\sul}}\put(11,6.25){\usebox{\sbl}}
  2782.      \put(11,7.25){\usebox{\rbl}}\put(11,12.25){\usebox{\sul}}
  2783.      \put(11,12.25){\usebox{\tur}}\put(11,12.25){\usebox{\sbl}}
  2784.      \put(11,12.25){\usebox{\cbr}}\put(11,13.25){\usebox{\rbl}}
  2785.      \put(11,19.25){\usebox{\sul}}\put(11,19.25){\usebox{\tur}}
  2786.      \put(11,19.25){\usebox{\sbl}}\put(11,19.25){\usebox{\cbr}}
  2787.      \put(11,20.25){\usebox{\rbl}}\put(12,-1.75){\usebox{\sss}}
  2788.      \put(12,-0.75){\usebox{\sss}}\put(12,0.25){\usebox{\rbr}}
  2789.      \put(13,-1.75){\usebox{\tbbr}}\put(13,-1.75){\usebox{\sul}}
  2790.      \put(13,-1.75){\usebox{\sur}}\put(13,-0.75){\usebox{\sss}}
  2791.      \put(13,0.25){\usebox{\sss}}\put(13,1.25){\usebox{\tull}}
  2792.      \put(13,1.25){\usebox{\sur}}\put(13,1.25){\usebox{\sbr}}
  2793.      \put(13,2.25){\usebox{\rbbr}}\put(14,-1.75){\usebox{\rull}}
  2794.      \put(14,-0.75){\usebox{\sss}}\put(14,0.25){\usebox{\rbl}}
  2795.      \put(14,1.25){\usebox{\ruul}}\put(14,2.25){\usebox{\tbrr}}
  2796.      \put(14,2.25){\usebox{\sul}}\put(14,2.25){\usebox{\sbl}}
  2797.      \put(14,3.25){\usebox{\sss}}\put(14,4.25){\usebox{\sss}}
  2798.      \put(14,5.25){\usebox{\tull}}\put(14,5.25){\usebox{\sur}}
  2799.      \put(14,5.25){\usebox{\sbr}}\put(14,6.25){\usebox{\rbbr}}
  2800.      \put(15,-0.75){\usebox{\sss}}\put(15,3.25){\usebox{\ruul}}
  2801.      \put(15,4.25){\usebox{\tbrr}}\put(15,4.25){\usebox{\sul}}
  2802.      \put(15,4.25){\usebox{\sbl}}\put(15,5.25){\usebox{\sss}}
  2803.      \put(15,6.25){\usebox{\sss}}\put(15,7.25){\usebox{\sss}}
  2804.      \put(15,8.25){\usebox{\sss}}\put(15,9.25){\usebox{\sss}}
  2805.      \put(15,10.25){\usebox{\sss}}\put(15,11.25){\usebox{\sss}}
  2806.      \put(15,12.25){\usebox{\tull}}\put(15,12.25){\usebox{\sur}}
  2807.      \put(15,12.25){\usebox{\sbr}}\put(15,13.25){\usebox{\rbbr}}
  2808.      \put(16,-0.75){\usebox{\sss}}\put(16,7.25){\usebox{\ruul}}
  2809.      \put(16,8.25){\usebox{\tbrr}}\put(16,8.25){\usebox{\sul}}
  2810.      \put(16,8.25){\usebox{\sbl}}\put(16,9.25){\usebox{\sss}}
  2811.      \put(16,10.25){\usebox{\sss}}\put(16,11.25){\usebox{\sss}}
  2812.      \put(16,12.25){\usebox{\sss}}\put(16,13.25){\usebox{\sss}}
  2813.      \put(16,14.25){\usebox{\sss}}\put(16,15.25){\usebox{\sss}}
  2814.      \put(16,16.25){\usebox{\sss}}\put(16,17.25){\usebox{\sss}}
  2815.      \put(16,18.25){\usebox{\sss}}\put(16,19.25){\usebox{\sss}}
  2816.      \put(16,20.25){\usebox{\cul}}\put(16,20.25){\usebox{\tur}}
  2817.      \put(16,20.25){\usebox{\sbl}}\put(16,20.25){\usebox{\sbr}}
  2818.      \put(17,-0.75){\usebox{\tbbr}}\put(17,-0.75){\usebox{\sul}}
  2819.      \put(17,-0.75){\usebox{\sur}}\put(17,0.25){\usebox{\rbrr}}
  2820.      \put(17,12.25){\usebox{\ruul}}\put(17,13.25){\usebox{\tbrr}}
  2821.      \put(17,13.25){\usebox{\sul}}\put(17,13.25){\usebox{\sbl}}
  2822.      \put(17,14.25){\usebox{\sss}}\put(17,15.25){\usebox{\sss}}
  2823.      \put(17,16.25){\usebox{\sss}}\put(17,17.25){\usebox{\sss}}
  2824.      \put(17,18.25){\usebox{\sss}}\put(17,19.25){\usebox{\sss}}
  2825.      \put(17,20.25){\usebox{\rbll}}\put(18,-0.75){\usebox{\rull}}
  2826.      \put(18,0.25){\usebox{\tuul}}\put(18,0.25){\usebox{\sbl}}
  2827.      \put(18,0.25){\usebox{\sbr}}\put(18,18.25){\usebox{\ruul}}
  2828.      \put(18,19.25){\usebox{\sul}}\put(18,19.25){\usebox{\cur}}
  2829.      \put(18,19.25){\usebox{\sbl}}\put(18,19.25){\usebox{\tbr}}
  2830.      \put(19,0.25){\usebox{\sss}}\put(19,3.25){\usebox{\ruur}}
  2831.      \put(19,4.25){\usebox{\cul}}\put(19,4.25){\usebox{\tur}}
  2832.      \put(19,4.25){\usebox{\tbl}}\put(19,4.25){\usebox{\sbr}}
  2833.      \put(20,0.25){\usebox{\sss}}\put(20,1.25){\usebox{\ruur}}
  2834.      \put(20,1.25){\usebox{\rbr}}\put(20,2.25){\usebox{\tbll}}
  2835.      \put(20,2.25){\usebox{\sur}}\put(20,2.25){\usebox{\sbr}}
  2836.      \put(20,3.25){\usebox{\sul}}\put(20,3.25){\usebox{\tur}}
  2837.      \put(20,3.25){\usebox{\sbl}}\put(20,3.25){\usebox{\sbr}}
  2838.      \put(20,4.25){\usebox{\rbl}}\put(21,-0.75){\usebox{\rur}}
  2839.      \put(21,0.25){\usebox{\sss}}\put(21,1.25){\usebox{\sss}}
  2840.      \put(21,2.25){\usebox{\sul}}\put(21,2.25){\usebox{\tur}}
  2841.      \put(21,2.25){\usebox{\sbl}}\put(21,2.25){\usebox{\sbr}}
  2842.      \put(21,3.25){\usebox{\rbl}}\put(22,-2.75){\usebox{\sul}}
  2843.      \put(22,-2.75){\usebox{\sur}}\put(22,-2.75){\usebox{\cbl}}
  2844.      \put(22,-2.75){\usebox{\sbr}}\put(22,-1.75){\usebox{\sss}}
  2845.      \put(22,-0.75){\usebox{\sss}}\put(22,0.25){\usebox{\sss}}
  2846.      \put(22,1.25){\usebox{\turr}}\put(22,1.25){\usebox{\sul}}
  2847.      \put(22,1.25){\usebox{\sbl}}\put(22,2.25){\usebox{\rbl}}
  2848.      \put(23,-2.75){\usebox{\sul}}\put(23,-2.75){\usebox{\sur}}
  2849.      \put(23,-2.75){\usebox{\sbl}}\put(23,-2.75){\usebox{\cbr}}
  2850.      \put(23,-1.75){\usebox{\sss}}\put(23,-0.75){\usebox{\turr}}
  2851.      \put(23,-0.75){\usebox{\sul}}\put(23,-0.75){\usebox{\sbl}}
  2852.      \put(23,0.25){\usebox{\rbbl}}
  2853.      \sbox{\sss}{}
  2854.      \sbox{\sul}{}\sbox{\sur}{}\sbox{\sbr}{}\sbox{\sbl}{}
  2855.      \sbox{\cul}{}\sbox{\cur}{}\sbox{\cbr}{}\sbox{\cbl}{}
  2856.      \sbox{\tul}{}\sbox{\tur}{}\sbox{\tbr}{}\sbox{\tbl}{}
  2857.      \sbox{\rul}{}\sbox{\rur}{}\sbox{\rbr}{}\sbox{\rbl}{}
  2858.      \sbox{\tuul}{}\sbox{\tuur}{}\sbox{\tbbl}{}\sbox{\tbbr}{}
  2859.      \sbox{\tull}{}\sbox{\turr}{}\sbox{\tbll}{}\sbox{\tbrr}{}
  2860.      \sbox{\ruul}{}\sbox{\ruur}{}\sbox{\rbbl}{}\sbox{\rbbr}{}
  2861.      \sbox{\rull}{}\sbox{\rurr}{}\sbox{\rbll}{}\sbox{\rbrr}{}
  2862.     \end{picture}}
  2863.   \end{picture}
  2864.  \end{center}
  2865.  \caption{Bitmap and Continuous Character.}
  2866.  \label{bitmapandcontinuouscharacter}
  2867. \end{figure}
  2868.  
  2869. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2870.  
  2871. \section{The \LLaTeX\ Interface}
  2872. \typeout{3 The [La]TeX Interface}
  2873. \label{thelatexinterface}
  2874.  
  2875. The next challenge is to make \LLaTeX\ understand the output of a japanese text 
  2876. editor. There seems to be three ways of achieving this. First, one can modify 
  2877. the input routines of \TeX\ and recompile it. This is the approach used by 
  2878. J\TeX\ and \mbox{ASCII-j\TeX}. For the reasons mentioned in 
  2879. Subsection~\ref{whyjemtex}, I do not want to get into rebuilding \TeX. 
  2880. A second possibility is to write macros to have \TeX\ understand japanese. 
  2881. Unfortunately, I do not have the expertise to do that. 
  2882.  
  2883. The third possibility is to write a preprocessor to transform any japanese 
  2884. document into a standard \LLaTeX\ one. And I do know enough about japanese and 
  2885. \TeX\ to accomplish this. This important decision has several consequences. If 
  2886. I am to have the power of any programming language available somewhere in the 
  2887. chain from a japanese text to a final \LLaTeX\ document, I might as well fully 
  2888. exploit that power. As much as possible of the work should be done by the 
  2889. compiled preprocessor, keeping the necessary interpreted \LLaTeX\ macros simple 
  2890. and fast. This philosophy is present in many aspects of my work. 
  2891.  
  2892. \newpage %improve a bad page break
  2893.  
  2894. The \JemTeX\ preprocessor deals with the following issues:
  2895. \begin{itemize}
  2896.  \item Loading and calling \JemTeX\ fonts.
  2897.  \item Japanese hyphenation.
  2898.  \item Japanese spacing.
  2899. \end{itemize}
  2900.  
  2901. The next subsections will discuss these topics and related subjects, before 
  2902. eventually taking up the actual operation of the preprocessor. 
  2903.  
  2904. \subsection{Japanese Encodings}
  2905. \label{japaneseencodings}
  2906.  
  2907. The reasonable thing to do at this point is to look into how japanese is 
  2908. represented by a japanese text editor. The first method I came across is the 
  2909. Japanese Industrial Standard (JIS). Unfortunately, my japanese text editor is 
  2910. very unreliable in JIS mode and this is why I never use it in this mode. I also 
  2911. do not know exactly how JIS works, but I do know that it involves escape 
  2912. sequences. I will be happy to support it in future versions of \JemTeX\, if 
  2913. users express that need and if somebody gives me more information about it. 
  2914.  
  2915. \label{euc}
  2916.  
  2917. The second method is the Extended UNIX Code (EUC). I like it because it is the 
  2918. only encoding that my japanese text editor handles reliably. Each japanese 
  2919. character is represented by a pair of ASCII characters in the range 
  2920. $[161,\ldots,254]$. Given an EUC character $(x,y)$, its position in the JIS~24 
  2921. dot font is simply: 
  2922.            \[ 94 \times ( x - 161 ) + ( y - 161 ) + 1 \]
  2923.  
  2924. \label{mskanji}
  2925.  
  2926. A third method is the \mbox{MS-kanji} (\mbox{Shift-JIS}) code which is very 
  2927. popular in the DOS world. As for EUC, each japanese character is represented by 
  2928. a pair of ASCII characters. The first character is always in the range 
  2929. $[129,\ldots,159,224,\ldots,234]$ and the second character is always in the 
  2930. range $[64,\ldots,126,128,\ldots,252]$. Given an \mbox{MS-kanji} character, 
  2931. consider the coordinates $(x,y)$ obtained by shifting the upper subranges so 
  2932. that they are consecutive to the lower subranges, the position of the character 
  2933. in the JIS~24 dot font then is: 
  2934.                  \[ 188 \times ( x - 129 ) + ( y - 64 ) + 1 \]
  2935.  
  2936. The preprocessor supports EUC and \mbox{MS-kanji}. You may freely use both in 
  2937. any \JemTeX\ document.
  2938.  
  2939. \subsection{Using Fonts}
  2940. \label{usingfonts}
  2941.  
  2942. This subsection covers all the details having to do with \JemTeX\ fonts. 
  2943.  
  2944. One of the operation carried out by the preprocessor is the replacement of any 
  2945. EUC or \mbox{MS-kanji} character pair by the appropriate font name and symbol 
  2946. number. However, all \JemTeX\ fonts must first be declared in a \LLaTeX\ header 
  2947. before they can be used.              
  2948.  
  2949. \label{header}
  2950.  
  2951. In \LaTeX, a \JemTeX\ font at magstep~$3.0$, say, is loaded with the following 
  2952. command:
  2953. \begin{quote}%Don't put spaces after the next line!
  2954. \begin{verbatim}
  2955. \newfont{\keac}{kanjiac scaled 1728}
  2956. \end{verbatim}
  2957. \end{quote}
  2958. In \TeX, it is loaded with: 
  2959. \begin{quote}%Don't put spaces after the next line!
  2960. \begin{verbatim}
  2961. \font\keac=kanjiac scaled 1728
  2962. \end{verbatim}
  2963. \end{quote}
  2964. The \JemTeX\ font is referred to by \verb"\keac", which is a convenient short 
  2965. name. The number $1728$ comes from $1728 = 1000 \times 1.2^{3.0}$. 
  2966.  
  2967. The preprocessor scans the input file in a first pass and determines the 
  2968. \JemTeX\ fonts needed. It then writes a \LLaTeX\ header to load these fonts, 
  2969. and finally appends the translation obtained by a second pass of the input 
  2970. file. 
  2971.  
  2972. There are at most 128~symbols numbered from~0 to~127 in a \JemTeX\ font. A 
  2973. japanese symbol can be produced in \TeX\ and in \LaTeX\ with the following 
  2974. command: 
  2975. \begin{quote}%Don't put spaces after the next line!
  2976. \begin{verbatim}
  2977. \kk{\keac}{65}
  2978. \end{verbatim}
  2979. \end{quote}
  2980. The preprocessor will supply these automatically for you.
  2981.  
  2982. \subsection{Hyphenation}
  2983. \label{hyphenation}
  2984.  
  2985. In order to produce a right margin which is even, \TeX\ occasionally needs to 
  2986. hyphenate some words. Although it is pretty good at this in english, \TeX\ is 
  2987. incapable of doing it in japanese. Therefore, the preprocessor must supply 
  2988. explicitly all possible hyphenation locations for \TeX. This subsection 
  2989. describes the rules governing this process. 
  2990.  
  2991. \label{hyphen}
  2992.  
  2993. Hyphenation is relevant only between two consecutive characters. Hyphenation in 
  2994. english is obtained with a \verb"\-" command. In japanese, it is obtained with 
  2995. a \verb"\hh" command. The preprocessor will never allow japanese hyphenation 
  2996. between two characters when one or both are roman. But if the two characters 
  2997. are japanese, it may insert a \verb"\hh" command in between. Contrary to 
  2998. english, no - gets appended at the end of a line hyphenated by a \verb"\hh" 
  2999. command. 
  3000.  
  3001. All japanese characters encountered are classified as {\em alphabetical\/} or 
  3002. {\em symbolic}. The alphabetical japanese characters are hiraganas, katakanas, 
  3003. and kanjis. All other japanese characters found in the JIS~24 dot font are 
  3004. symbolic, they include punctuation signs, english, greek, and russian 
  3005. characters. 
  3006.  
  3007. This classification is important because it is difficult for the \JemTeX\ 
  3008. preprocessor to automatically decide where to allow hyphenation when 
  3009. mathematics or foreign languages are concerned. Consequently, the preprocessor 
  3010. never allows hyphenation between two japanese characters when both are 
  3011. symbolic. But if one or both japanese characters are alphabetical, hyphenation 
  3012. may be allowed since one can hyphenate anywhere in japanese, except possibly 
  3013. when punctuation signs are involved. This is not too difficult to handle for 
  3014. the preprocessor. 
  3015.  
  3016. More precisely, the preprocessor will not allow hyphenation before the 
  3017. following japanese punctuation signs .,!?:;$\cdot)]\}\rfloor\rangle$'\,'' and 
  3018. other related closing characters. It will not allow hyphenation either after 
  3019. $([\{\lceil\langle$`\,`` and other related opening characters. 
  3020.  
  3021. \label{preventh}
  3022.  
  3023. If you would like to allow japanese hyphenation where the preprocessor would 
  3024. not allow it, simply put a \verb"\hh" command at the right place in your 
  3025. source file. If the next character is a roman letter, you have to use instead 
  3026. \verb"\hh{}" to prevent confusion. If you would like to prevent the 
  3027. preprocessor from allowing japanese hyphenation, put a \verb"{}" to separate 
  3028. the two consecutive japanese characters in your source file. The preprocessor 
  3029. will not realize that the japanese characters are consecutive anymore, and it 
  3030. will not allow hyphenation. 
  3031.  
  3032. \subsection{Spacing}
  3033. \label{spacing}
  3034.  
  3035. In addition to explicitly telling \TeX\ where japanese hyphenation is allowed, 
  3036. it is also necessary to add space around some japanese characters. For example, 
  3037. this occurs around japanese punctuation signs or at transitions from japanese 
  3038. to roman. Indeed, when \TeX\ comes across the command \verb"\kk{\kaaa}{3}", it 
  3039. has no idea that this is a japanese period. The preprocessor has to give \TeX\ 
  3040. a hand in these cases. Such space must always be added after any hyphenation 
  3041. command \verb"\hh" that may already have been inserted. Otherwise, you risk 
  3042. compromising the flush right margin. 
  3043.  
  3044. \TeX\ normally introduces extra space after a roman period only if a roman 
  3045. space follows it. My japanese text editor does not support spaces while in 
  3046. japanese mode. After all, there are no spaces between words in japanese. This 
  3047. implies that one would have to enter, say, a japanese period, then switch to 
  3048. roman mode, enter a space, and finally switch back to japanese mode. I think 
  3049. this is too cumbersome. Therefore, the preprocessor handles japanese spacing 
  3050. issues without expecting roman spaces anywhere. 
  3051.  
  3052. \label{bigmedium}
  3053.  
  3054. The preprocessor uses three types of space to achieve its goal; a big space 
  3055. with a \verb"\eeee" command, a medium space with a \verb"\eee" command, and a 
  3056. tiny space with a \verb"\ee" command. Only one space is added at one place. For 
  3057. example, if logic calls for a big, a medium, and a medium space between two 
  3058. consecutive characters, only a big one will be inserted by the preprocessor. 
  3059.  
  3060. No space is ever added between two consecutive roman characters, but as soon as 
  3061. one or both characters are japanese, space may become necessary. Let us first 
  3062. look at the mixed case where one japanese character is involved with a roman 
  3063. one. A big space is inserted after all japanese punctuation signs .,!?\ 
  3064. followed by a roman character. A medium space is inserted after all japanese 
  3065. punctuation signs :;$\cdot)]\}\rfloor\rangle$'\,'' followed by a roman 
  3066. character. A medium space is also inserted after all roman characters followed 
  3067. by any of the japanese punctuation signs $\cdot([\{\lceil\langle$`\,``. 
  3068.  
  3069. This takes care of the japanese punctuation spaces. Space is also added for 
  3070. transitions as follows. A medium space is inserted after all roman letters and 
  3071. all roman digits followed by a japanese character, except if that japanese 
  3072. character is any of the following punctuation signs 
  3073. .,!?:;$)]\}\rfloor\rangle$'\,''. A medium space is also inserted after a 
  3074. japanese character followed by a roman letter or a roman digit, except if that 
  3075. japanese character is any of the following punctuation signs 
  3076. $([\{\lceil\langle$`\,``. 
  3077.  
  3078. The case of two consecutive japanese characters is more precise since more 
  3079. information is known. It is also closely related to the previous mixed case. 
  3080. A big space is inserted after all japanese punctuation signs .,!? but not 
  3081. before any of the japanese punctuation signs .,!?$)]\}\rfloor\rangle$'\,''. 
  3082. A medium space is inserted after all japanese punctuation signs 
  3083. :;$\cdot)]\}\rfloor\rangle$'\,'' but not before any of the japanese punctuation 
  3084. signs .,!?:;$)]\}\rfloor\rangle$'\,''. A medium space is also inserted before 
  3085. all the japanese punctuation signs $\cdot([\{\lceil\langle$`\,`` but not after 
  3086. any of the japanese punctuation signs $([\{\lceil\langle$`\,``. 
  3087.  
  3088. This covers all cases of big and medium spaces. If you would like to add space 
  3089. where the preprocessor would not, simply put a \verb"\eeee" command or a 
  3090. \verb"\eee" command at the right place in your source file. Remember to do that 
  3091. only after any hyphenation \verb"\hh" command that you may already have added. 
  3092. If the next character is a roman letter, you have to use instead \verb"\eeee{}" 
  3093. and \verb"\eee{}" to prevent confusion. 
  3094.  
  3095. \label{prevents}
  3096.  
  3097. There are cases where it is preferable to have no extra space after a japanese 
  3098. punctuation sign. For example, when typesetting music with \MuTeX, one does not 
  3099. want extra space if the japanese text is going under the staff. This affects 
  3100. adversary its centering under notes. If you would like to prevent the 
  3101. preprocessor from adding space, try to put a \verb"{}" at the right place to 
  3102. separate the two consecutive japanese characters, or the japanese character 
  3103. from the roman letter or the roman digit. In the few remaining cases where this 
  3104. cannot work, you have to temporarily disable the preprocessor's ability to add 
  3105. spaces. Subsection~\ref{thejem2texpreprocessor} explains how to do this. 
  3106.  
  3107. Tiny space has to do with line breaking, and it is very important. \TeX\ 
  3108. creates a flush right margin by adding extra space between words. However, 
  3109. \TeX\ does not add extra space between characters making up words. Since words 
  3110. in japanese are not separated by spaces, the only opportunity \TeX\ has to add 
  3111. extra space is where big and medium spaces have been added by the preprocessor. 
  3112. Some long japanese sentence may span several lines without any added space. 
  3113. \TeX\ then has no opportunity at all to stretch space in order to generate a 
  3114. flush right margin. 
  3115.  
  3116. To solve this serious problem, a tiny space is added between all consecutive 
  3117. japanese characters, unless some big or medium space has already been inserted. 
  3118. If you should ever want to disable this feature, proceed as before by inserting 
  3119. a \verb"{}" at the right place. This will always work. 
  3120.  
  3121. \subsection{\LLaTeX\ Comments}
  3122. \label{llatexcomments}
  3123.  
  3124. It is quite clear from the previous two subsections that the concept of 
  3125. consecutive characters is very important for the preprocessor. This notion is 
  3126. closely related to \LLaTeX\ comments and end of lines. Let us first discuss the 
  3127. english case before moving on to the japanese one. 
  3128.  
  3129. \newpage %improve a bad page break
  3130.  
  3131. In most circumstances, the character \verb"%" tells \TeX\ to consider the 
  3132. remainder of the current line as a comment and to simply ignore it. Consider 
  3133. the following example:
  3134. \begin{quote}%Don't put spaces after the next line!
  3135. \begin{verbatim}
  3136. A% Here is a TeX comment.
  3137. % Here is a TeX comment.
  3138. B% Here is a TeX comment.
  3139. \end{verbatim}
  3140. \end{quote}
  3141. Even though \verb"A" and \verb"B" are not at all consecutive in the source file 
  3142. because of the comments separating them, they are consecutive as far as \TeX\ 
  3143. is concerned. One could equally well have entered instead \verb"AB" without any 
  3144. comments in between. 
  3145.  
  3146. Consider now another example:
  3147. \begin{quote}%Don't put spaces after the next line!
  3148. \begin{verbatim}
  3149. A
  3150. B
  3151. \end{verbatim}
  3152. \end{quote}
  3153. The characters \verb"A" and \verb"B" are not consecutive because they are 
  3154. separated by an invisible end of line character. \TeX\ treats an end of line 
  3155. character just like if a space was present between \verb"A" and \verb"B". 
  3156.  
  3157. These remarks apply equally well if \verb"A" and \verb"B" were japanese 
  3158. characters. To distinguish both types of end of line, I will say that an end of 
  3159. line is roman if the last character on that line is a roman character. A 
  3160. similar definition holds for japanese end of lines. It is important for the 
  3161. preprocessor to determine if japanese characters are consecutive in order to 
  3162. allow hyphenation and add space correctly. The remainder of this subsection 
  3163. explains how this is achieved. 
  3164.  
  3165. In english, any given input line usually terminates just after a word. The end 
  3166. of line character after that word is replaced by a space by \TeX, which is 
  3167. perfectly acceptable since a space should separate english words. In japanese, 
  3168. there is no space between words, so this end of line character must be removed 
  3169. to prevent \TeX\ from adding space. There are two ways of doing this while 
  3170. using \JemTeX. 
  3171.  
  3172. \label{eol}
  3173.  
  3174. First, you can explicitly put a \verb"%" after all japanese end of lines. This 
  3175. will always work, but it is also tedious. Second, you can let the preprocessor 
  3176. do that for you. However, you should make sure your input lines do end with a 
  3177. japanese character, not a roman space character. This can be a problem because 
  3178. some text editors insist on putting some space characters at the end of each 
  3179. line. You should make sure that your text editor does not do so. Then, the 
  3180. \JemTeX\ preprocessor will have no problem in detecting japanese end of lines 
  3181. and will add all the \verb"%" characters for you. 
  3182.  
  3183. It is also important for the preprocessor to detect \TeX\ comments. The 
  3184. preprocessor recognizes a comment if it starts in the first column of the input 
  3185. file, or if it's a comment that the processor had to insert itself, i.e.\ after 
  3186. a japanese end of line. Therefore, when typing the japanese parts of your 
  3187. source file, you should always use comments starting in the first column and 
  3188. let the preprocessor handle japanese end of lines. This makes it almost certain 
  3189. that the preprocessor will handle hyphenation and spacing correctly. 
  3190.  
  3191. \subsection{\LLaTeX\ Limitations}
  3192. \label{llatexlimitations}
  3193.  
  3194. The previous subsections introduced the different operations that the \JemTeX\ 
  3195. preprocessor must perform in order to produce an acceptable \LLaTeX\ document 
  3196. from a japanese one. Each japanese character is replaced by a command like 
  3197. \verb"\kk{\kaaa}{109}" potentially followed by an hyphenation command 
  3198. \verb"\hh" and potentially followed by a spacing command like \verb"\eeee{}". 
  3199. In the worst case, the two characters representing the original japanese one 
  3200. are replaced by approximately 25~roman characters. 
  3201.  
  3202. This expansion of the source file could cause some problems because there is a 
  3203. limit to the maximum length of an input line that \TeX\ can accept. Here are 
  3204. typical statistics for one big \emTeX\ run: 
  3205. \begin{small}%Don't put spaces after the next line!
  3206. \begin{verbatim}
  3207. Here is how much of TeX's memory you used:
  3208.  181 strings out of 6937
  3209.  1607 string characters out of 28560
  3210.  83907 words of memory out of 262142
  3211.  2145 multiletter control sequences out of 5000
  3212.  20585 words of font info for 79 fonts, out of 81920 for 254
  3213.  15 hyphenation exceptions out of 607
  3214.  13i,8n,21p,321b,309s positions out of 300i,100n,60p,3000b,1000s
  3215. \end{verbatim}
  3216. \end{small}
  3217.  
  3218. The last line (\verb"3000b") tells us that big \emTeX\ can accept input lines 
  3219. of 3000~roman characters. Therefore, big \emTeX\ can handle lines of 
  3220. approximately 120~japanese characters. Most monitors support only~40, 80, or 
  3221. 132~characters per line, that should be enough. However, some japanese text 
  3222. editors display text on separate lines while whole paragraphs are actually kept 
  3223. on one single line internally. You should make sure that your japanese text 
  3224. editor does split its paragraphs into lines of a reasonable size. 
  3225.  
  3226. The only potential remaining problem has to do with the \verb".toc" and 
  3227. \verb".aux" files. These files are created by \LaTeX\ for its personal use and 
  3228. contain such things as chapter names, cross-references, etc. These are always 
  3229. formatted one item per line. If you have a chapter name which is longer than 
  3230. 120~japanese characters, you can split it on several lines in your source file. 
  3231. Then, \LaTeX\ will have no problem with the title itself. But in its first 
  3232. pass, it will create the \verb".toc" and \verb".aux" files which will have a 
  3233. very long line. When \LaTeX\ starts to read the resulting \verb".aux" file on 
  3234. its second pass, it will complain that the line is too long and stop. I think 
  3235. it is unlikely that you will ever have such a long chapter name. But if you do, 
  3236. here is my solution. 
  3237.  
  3238. Suppose your \verb".aux" file contains one long line of japanese text:
  3239. \begin{quote}%Don't put spaces after the next line!
  3240. \begin{verbatim}
  3241. \@writefile{toc}{Very long japanese text.}
  3242. \end{verbatim}
  3243. \end{quote}
  3244. Edit the \verb".aux" file and replace the troublesome line by:
  3245. \begin{quote}%Don't put spaces after the next line!
  3246. \begin{verbatim}
  3247. \@writefile{toc}{\texta \textb \textc \textd}
  3248. \end{verbatim}
  3249. \end{quote}
  3250. And add the following macros to your \LaTeX\ source file:
  3251. \begin{quote}%Don't put spaces after the next line!
  3252. \begin{verbatim}
  3253. \newcommand{\texta}{Very}
  3254. \newcommand{\textb}{long}
  3255. \newcommand{\textc}{japanese}
  3256. \newcommand{\textd}{text.}
  3257. \end{verbatim}
  3258. \end{quote}
  3259. Having done all that, you may now successfully run \LaTeX\ once. 
  3260.  
  3261. Unfortunately, this run will modify your \verb".aux" file again. There are two 
  3262. ways around this. First, you could use the \LaTeX\ command \verb"\nofiles". 
  3263. Secondly, you could edit your \verb".aux" once again. As I already mentioned, 
  3264. it is unlikely that you will ever need to resort to this trick since the 
  3265. current limit of 120~japanese characters is quite reasonable. But if you are 
  3266. curious, that's how you can avoid the problem. 
  3267.  
  3268. \subsection{The {\tt JEM2TEX} Preprocessor}
  3269. \label{thejem2texpreprocessor}
  3270.  
  3271. Given a japanese source file, my program \verb"JEM2TEX" can generate an 
  3272. equivalent \LLaTeX\ source file. You have been supplied with the source and the 
  3273. compressed compiled version of this C program. The only information necessary 
  3274. is the source file name and some parameters. \verb"JEM2TEX" will try the file
  3275. name extensions \verb".jem", \verb".jpn", and \verb".jap" for you so you do not 
  3276. need to specify them. 
  3277.  
  3278. If you simply start \verb"JEM2TEX" without any command line information, it 
  3279. will run in manual mode where you must answer questions interactively 
  3280. throughout the operation. If you specify any command line information, the 
  3281. preprocessor then runs in automatic mode. In addition to specifying the source 
  3282. file name on the command line, you can also supply command line parameters on 
  3283. it. These always begin with a \verb"/" or a \verb"-", and any combination of 
  3284. small and capital letters is acceptable. 
  3285.  
  3286. In automatic mode, a \LaTeX\ document \verb"japanese.jem" with japanese 
  3287. extended EUC characters at magstep~$3.0$, and with spaces to add, and with 
  3288. \verb"%" to add at japanese end of lines is assumed as default. However, you 
  3289. may override or confirm any of these default values with the appropriate 
  3290. command line parameters. The recognized ones are listed in 
  3291. Tables~\ref{spaceparameters}, \ref{japaneseeolparameters}, 
  3292. \ref{encodingparameters}, \ref{fontsizeparameters}, and~\ref{headerparameters}. 
  3293.  
  3294. \begin{table}[htb]
  3295.  \begin{center}
  3296.   \begin{tabular}{ll}
  3297.    \mbox{$\left.\parbox{3cm}{%
  3298.     \verb"/Space" \\
  3299.     \verb"/Extra" \\
  3300.     \verb"/ExtraSpace"}\right\}$}   & Spaces added. \\[5.5mm]
  3301.    \mbox{$\left.\parbox{3cm}{%
  3302.     \verb"/NoSpace" \\
  3303.     \verb"/NoExtra" \\
  3304.     \verb"/NoExtraSpace"}\right\}$} & No spaces added.
  3305.   \end{tabular}
  3306.  \end{center}
  3307.  \caption{Space Parameters.}
  3308.  \label{spaceparameters}
  3309.  \begin{center}
  3310.   \begin{tabular}{ll}
  3311.    \mbox{$\left.\parbox{2.3cm}{%
  3312.     \verb"/EOL" \\
  3313.     \verb"/Percent" \\
  3314.     \verb"/Comment"}\right\}$}   & \verb"%" added. \\[6.5mm]
  3315.    \mbox{$\left.\parbox{2.3cm}{%
  3316.     \verb"/NoEOL" \\
  3317.     \verb"/NoPercent" \\
  3318.     \verb"/NoComment"}\right\}$} & No \verb"%" added.
  3319.   \end{tabular}
  3320.  \end{center}
  3321.  \caption{Japanese EOL Parameters.}
  3322.  \label{japaneseeolparameters}
  3323. \end{table}
  3324.  
  3325. \newpage %improve a bad page break
  3326.  
  3327. \begin{table}[htb]
  3328.  \begin{center}
  3329.   \begin{tabular}{ll}
  3330.    \parbox{2.2cm}{\verb"/EUC"}      & Extended UNIX code. \\[1.5mm]
  3331.    \mbox{$\left.\parbox{2.2cm}{%
  3332.     \verb"/MSkanji" \\
  3333.     \verb"/ShiftJIS"}\right\}$}     & MS-kanji code. \\[2.5mm]
  3334.    \parbox{2.2cm}{\verb"/Extended"} & Extended characters. \\
  3335.    \parbox{2.2cm}{\verb"/Standard"} & Standard characters.
  3336.   \end{tabular}
  3337.  \end{center}
  3338.  \caption{Encoding Parameters.}
  3339.  \label{encodingparameters}
  3340.  \begin{center}
  3341.   \begin{tabular}{ll}
  3342.    \mbox{$\left.\parbox{3cm}{%
  3343.     \verb"/1000  /0.0  /0" \\
  3344.     \verb"/1095  /0.5" \\
  3345.     \verb"/1200  /1.0  /1" \\
  3346.     \verb"/1440  /2.0  /2" \\
  3347.     \verb"/1728  /3.0  /3" \\
  3348.     \verb"/2074  /4.0  /4" \\
  3349.     \verb"/2488  /5.0  /5"}\right\}$} & Initial japanese font size.
  3350.   \end{tabular}
  3351.  \end{center}
  3352.  \caption{Font Size Parameters.}
  3353.  \label{fontsizeparameters}
  3354.  \begin{center}
  3355.   \begin{tabular}{ll}
  3356.    \parbox{1.5cm}{\verb"/LaTeX"} & \LaTeX\ header. \\[1mm]
  3357.    \mbox{$\left.\parbox{1.5cm}{%
  3358.     \verb"/TeX" \\
  3359.     \verb"/MuTeX"}\right\}$}     & \TeX\ header.
  3360.   \end{tabular}
  3361.  \end{center}
  3362.  \caption{Header Parameters.}
  3363.  \label{headerparameters}
  3364. \end{table}
  3365.  
  3366. For music, I usually use only hiraganas and katakanas. The following is 
  3367. appropriate since these japanese characters are simple:
  3368. \begin{quote}%Don't put spaces after the next line!
  3369. \begin{verbatim}
  3370. jem2tex anri /MuTeX /NoEOL /NoSpace /Standard /EUC /0.5
  3371. \end{verbatim} 
  3372. \end{quote} 
  3373. For a letter with complicated kanjis, I would rather use:
  3374. \begin{quote}%Don't put spaces after the next line!
  3375. \begin{verbatim}
  3376. jem2tex yuka /LaTeX /EOL /Space /Extended /EUC /2
  3377. \end{verbatim} 
  3378. \end{quote} 
  3379. It is also possible to change these parameters at run-time with \TeX\ comments. 
  3380. Here is an example:
  3381. \begin{quote}%Don't put spaces after the next line!
  3382. \begin{verbatim}
  3383. % jem2tex /LaTeX /Space /EOL /MSkanji /1440
  3384. \end{verbatim} 
  3385. \end{quote} 
  3386.  
  3387. The preprocessor expects the \verb"%" to be the first character of the line as 
  3388. explained in Subsection~\ref{llatexcomments}. Then one of the keywords 
  3389. \verb"jem2tex", \verb"jpn2tex", or~\verb"jap2tex" must follow immediately, or 
  3390. after some spaces. Valid parameters are then scanned. The preprocessor will 
  3391. produce comments in the \LLaTeX\ file as its status is changed. An invalid 
  3392. parameter stops the current scan for parameters, but does not terminate the 
  3393. preprocessor's operation. 
  3394.  
  3395. \label{nospaces}
  3396. \label{fonts}
  3397.  
  3398. Run-time parameters can be used to change japanese font sizes according to 
  3399. environments and to temporarily disable space insertion. I also always put in 
  3400. the first line of my \verb".jem" files the initial parameters. Here is an 
  3401. example: 
  3402. \begin{quote}
  3403. \verb"%JEM2TEX /Space /EOL /Extended /EUC /LaTeX" \\
  3404. \verb"\documentstyle[12pt]{tegami}" \\
  3405. \verb"\begin{document}" \\
  3406. \verb"\begin{large}" \\
  3407. \verb"%JEM2TEX /1440" \\
  3408. $\vdots$ \\
  3409. \verb"Here is some japanese text" \\
  3410. \verb"%JEM2TEX /1000" \\
  3411. \verb"\footnote{Japanese footnote.}%" \\
  3412. \verb"%JEM2TEX /1440" \\
  3413. \verb"with a footnote showing the font size change." \\
  3414. $\vdots$ \\
  3415. \verb"\end{large}" \\
  3416. \verb"\end{document}"
  3417. \end{quote}
  3418.  
  3419. \label{12points}
  3420.  
  3421. As mentioned in the \LaTeX\ book about loading fonts, using a japanese font 
  3422. doesn't change style parameters like \verb"\baselineskip". Make sure the 
  3423. appropriate size changing command is active when a japanese font is used. In 
  3424. the previous example, the \verb"/1440" indicates that magstep~$2.0$ is desired 
  3425. for the japanese fonts. The command \verb"large" insures that \LaTeX\ is aware 
  3426. of the proper line spacing needed while processing these japanese characters. 
  3427. The command \verb"large" also tells \LaTeX\ to use roman characters of a size 
  3428. comparable to the japanese ones. I usually use \verb"12pt" document styles and 
  3429. Table~\ref{12ptfontsizes} shows the appropriate font sizes for them. 
  3430.  
  3431. \begin{table}[htb]
  3432.  \begin{center}
  3433.   \begin{tabular}{l|l}
  3434.    \verb"\footnotesize" & \verb"/1000" \\
  3435.    \verb"\small"        & \verb"/1095" \\
  3436.    \verb"\normalsize"   & \verb"/1200" \\
  3437.    \verb"\large"        & \verb"/1440" \\
  3438.    \verb"\Large"        & \verb"/1728" \\
  3439.    \verb"\LARGE"        & \verb"/2074" \\
  3440.    \verb"\huge"         & \verb"/2488"
  3441.   \end{tabular}
  3442.  \end{center}
  3443.  \caption{{\tt 12pt} Font Sizes.}
  3444.  \label{12ptfontsizes}
  3445. \end{table}
  3446.  
  3447. Finally, note the \verb"%" at the end of the \verb"\footnote" line in the last 
  3448. example. The filter will not append it for you since this is a roman end of the 
  3449. line. But this \verb"%" is essential to prevent \LLaTeX\ from inserting some 
  3450. inter-word space between the footnote number and the following japanese 
  3451. character. 
  3452.  
  3453. \subsection{Font Tables}
  3454. \label{fonttables}
  3455.  
  3456. I occasionally come across a japanese character that my japanese text editor 
  3457. cannot insert in the text for me. This is usually the result of an incomplete 
  3458. kanji lookup dictionary or a consequence of wanting to use extended JIS~24 
  3459. characters. In such cases, one has to enter the character by hand. There are a 
  3460. number of ways to do that. 
  3461.  
  3462. Your japanese text editor may support character entry by \mbox{MS-kanji} or EUC 
  3463. numbers. That is certainly the most preferable solution. If not, you could use 
  3464. \mbox{Alt-Combinations} under a word processor to enter the arbitrary 
  3465. characters in your text. Modifying the source file in these fashions is the 
  3466. best approach. 
  3467.  
  3468. You could also choose to leave a few blank spaces at the right places in the 
  3469. source file, process it with \verb"JEM2TEX", and then insert a few \verb"\kk" 
  3470. macros with the proper kanji fonts and symbol numbers. Unfortunately, such a 
  3471. patch must be performed every time the original source file is modified and 
  3472. processed by \verb"JEM2TEX". This is why I never proceed this way. 
  3473.  
  3474. Because of this foreseeable occasional need, I thought it would be useful to 
  3475. create font tables like the ones found in Appendix~F of the {\TeX}book. They 
  3476. would have to mention the JIS~24 dot font numbers along with the EUC number 
  3477. pairs. I designed such tables at magstep~$3.0$ and managed to squeeze three 
  3478. \JemTeX\ fonts per page.
  3479.  
  3480. My Pascal program \verb"FONTABLE" creates a 60~Kb japanese file 
  3481. \verb"fontable.jem" for you in the current directory. Then, simply process 
  3482. that file with \verb"JEM2TEX" in automatic mode to eventually obtain 
  3483. \verb"fontable.tex". Finally, complete the process with big \LaTeX\, which 
  3484. should yield a twenty page document ready for previewing and printing. 
  3485.  
  3486. You may have to divide and process this document in smaller pieces for several 
  3487. reasons. Perhaps you only have a small version of \TeX. Perhaps your printer 
  3488. driver has difficulty processing it. This can be caused by your computer 
  3489. lacking memory, but is more likely nowadays to be caused by a primitive printer 
  3490. driver lacking a decent memory management system. Perhaps you are using a laser 
  3491. printer with only 1~Mb of memory. Note that dot matrix printers do not suffer 
  3492. from such lack of memory problems since they have very little memory. Their 
  3493. language is very verbose since the fonts are explicitly supplied each time they 
  3494. are used. 
  3495.  
  3496. If needed, you should divide the file \verb"fontable.jem", but not the file 
  3497. \verb"fontable.tex" unless you also modify the individual headers to avoid 
  3498. loading a lot of fonts for nothing. I think the former approach is easier and 
  3499. less error prone. If splitting \verb"fontable.jem" still does not work for you, 
  3500. talk to me! 
  3501.  
  3502. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3503.  
  3504. \section{\JemTeX\ Quick Reference}
  3505. \typeout{4 JemTeX Quick Reference}
  3506. \label{jemtexquickreference}
  3507. \vspace{1cm}
  3508. \begin{quote}%Don't put spaces after the next line!
  3509. \begin{verbatim}
  3510. MF &cm kanjiaa >NUL:
  3511. \end{verbatim}
  3512. \end{quote}
  3513. \begin{center}
  3514.                  METAFONT Proof Mode (page~\pageref{mftproof})
  3515. \end{center}
  3516. \vspace{1cm}
  3517. \begin{quote}
  3518. \begin{small}%Don't put spaces after the next line!
  3519. \begin{verbatim}
  3520. MF &cm \mode:=epsonfx; \mag:=magstep(0.0); \input kanjiaa.mf
  3521. \end{verbatim}
  3522. \end{small}
  3523. \end{quote}
  3524. \begin{center}
  3525.               METAFONT Standard Mode (page~\pageref{mftstandard})
  3526. \end{center}
  3527. \vspace{1cm}
  3528. \begin{center}
  3529.  \begin{tabular}{l|ccccccc}
  3530.   Font Size  & 1000 & 1095 & 1200 & 1440 & 1728 & 2074 & 2488 \\ \hline 
  3531.   Disk Space &  558 &  622 &  680 &  819 & 1008 & 1228 & 1530 
  3532.  \end{tabular}
  3533. \end{center}                                                          
  3534. \begin{center}
  3535.                           Space Requirements (240DPI)
  3536. \end{center}
  3537. \newpage
  3538. \vspace*{\fill}
  3539. \begin{center}
  3540.  \begin{tabular}{ll}
  3541.   \mbox{$\left.\parbox{4.6cm}{%
  3542.    \verb"/FixedWidth" \\
  3543.    \verb"/FixedX" \\
  3544.    \verb"/NoProportionalWidth" \\
  3545.    \verb"/NoProportionalX"}\right\}$} & 
  3546.     Fixed width (page~\pageref{widthheight}). \\[8mm]
  3547.   \mbox{$\left.\parbox{4.6cm}{%
  3548.    \verb"/NoFixedWidth" \\
  3549.    \verb"/NoFixedX" \\
  3550.    \verb"/ProportionalWidth" \\
  3551.    \verb"/ProportionalX"}\right\}$}   & 
  3552.     Minimized width (page~\pageref{widthheight}). \\[8mm]
  3553.   \mbox{$\left.\parbox{4.6cm}{%
  3554.    \verb"/FixedHeight" \\
  3555.    \verb"/FixedY" \\
  3556.    \verb"/NoProportionalHeight" \\
  3557.    \verb"/NoProportionalY"}\right\}$} & 
  3558.     Fixed height (page~\pageref{widthheight}). \\[8mm]
  3559.   \mbox{$\left.\parbox{4.6cm}{%
  3560.    \verb"/NoFixedHeight" \\
  3561.    \verb"/NoFixedY" \\
  3562.    \verb"/ProportionalHeight" \\
  3563.    \verb"/ProportionalY"}\right\}$}   & 
  3564.     Minimized height (page~\pageref{widthheight}). \\[8mm]
  3565.   \parbox{4.6cm}{\verb"/Standard"}    & 
  3566.    Standard positioning (page~\pageref{positioning}). \\
  3567.   \parbox{4.6cm}{\verb"/Dictionary"}  & 
  3568.    Dictionary positioning (page~\pageref{positioning}). \\
  3569.   \parbox{4.6cm}{\verb"/Batch"}       & 
  3570.    Batch mode (page~\pageref{batch}).
  3571.  \end{tabular}
  3572. \end{center}
  3573. \vspace{3mm}
  3574. \begin{center}
  3575.                            \verb"JIS2MF" Parameters
  3576. \end{center}
  3577. \vspace*{\fill}
  3578. \newpage
  3579. \vspace*{\fill}
  3580. \begin{center} 
  3581.  \begin{tabular}{ll} 
  3582.   \parbox{3cm}{\verb"/EUC"}          & 
  3583.    Extended UNIX code (page~\pageref{euc}). \\[1mm]
  3584.   \mbox{$\left.\parbox{3cm}{% 
  3585.    \verb"/MSkanji" \\ 
  3586.    \verb"/ShiftJIS"}\right\}$}       & 
  3587.     MS-kanji code (page~\pageref{mskanji}). \\[3mm]
  3588.   \parbox{3cm}{\verb"/Extended"}     & 
  3589.    Extended characters (page~\pageref{extended}). \\
  3590.   \parbox{3cm}{\verb"/Standard"}     & 
  3591.    Standard characters (page~\pageref{standard}). \\
  3592.   \parbox{3cm}{\verb"/LaTeX"}        & 
  3593.    \LaTeX\ header (page~\pageref{header}). \\[1.5mm]
  3594.   \mbox{$\left.\parbox{3cm}{% 
  3595.    \verb"/TeX" \\ 
  3596.    \verb"/MuTeX"}\right\}$}          & 
  3597.     \TeX\ header (page~\pageref{header}). \\[4mm] 
  3598.   \mbox{$\left.\parbox{3cm}{% 
  3599.    \verb"/Space" \\ 
  3600.    \verb"/Extra" \\ 
  3601.    \verb"/ExtraSpace"}\right\}$}     & 
  3602.     Spaces added (page~\pageref{spacing}). \\[6mm] 
  3603.   \mbox{$\left.\parbox{3cm}{% 
  3604.    \verb"/NoSpace" \\ 
  3605.    \verb"/NoExtra" \\ 
  3606.    \verb"/NoExtraSpace"}\right\}$}   & 
  3607.     No spaces added (page~\pageref{nospaces}). \\[6mm] 
  3608.   \mbox{$\left.\parbox{3cm}{% 
  3609.    \verb"/EOL" \\ 
  3610.    \verb"/Percent" \\ 
  3611.    \verb"/Comment"}\right\}$}        & 
  3612.     \verb"%" added (page~\pageref{eol}). \\[6mm] 
  3613.   \mbox{$\left.\parbox{3cm}{% 
  3614.    \verb"/NoEOL" \\ 
  3615.    \verb"/NoPercent" \\ 
  3616.    \verb"/NoComment"}\right\}$}      & 
  3617.     No \verb"%" added (page~\pageref{eol}). \\[6mm] 
  3618.   \mbox{$\left.\parbox{3cm}{% 
  3619.    \verb"/1000  /0.0  /0" \\ 
  3620.    \verb"/1095  /0.5" \\ 
  3621.    \verb"/1200  /1.0  /1" \\ 
  3622.    \verb"/1440  /2.0  /2" \\ 
  3623.    \verb"/1728  /3.0  /3" \\ 
  3624.    \verb"/2074  /4.0  /4" \\ 
  3625.    \verb"/2488  /5.0  /5"}\right\}$} & 
  3626.     Initial japanese font size (page~\pageref{fonts}). 
  3627.  \end{tabular} 
  3628. \end{center} 
  3629. \vspace{3mm}
  3630. \begin{center} 
  3631.                            \verb"JEM2TEX" Parameters
  3632. \end{center} 
  3633. \vspace*{\fill}
  3634. \newpage
  3635. \vspace*{\fill}
  3636. \begin{center} 
  3637.  \begin{tabular}{l|l}
  3638.   \verb"\hh"   & Allow japanese hyphenation (page~\pageref{hyphen}). \\
  3639.   \verb"\eeee" & Insert big space (page~\pageref{bigmedium}). \\
  3640.   \verb"\eee"  & Insert medium space (page~\pageref{bigmedium}). \\
  3641.   \verb"{}"    & Prevent hyphenation (page~\pageref{preventh}) and space 
  3642.                  insertion (page~\pageref{prevents}).
  3643.  \end{tabular}
  3644. \end{center} 
  3645. \begin{center} 
  3646.                                   Quick Fixes
  3647. \end{center} 
  3648. \vspace{1cm}
  3649. \begin{center}
  3650.  \begin{tabular}{l|l}
  3651.   \verb"\footnotesize" & \verb"/1000" \\
  3652.   \verb"\small"        & \verb"/1095" \\
  3653.   \verb"\normalsize"   & \verb"/1200" \\
  3654.   \verb"\large"        & \verb"/1440" \\
  3655.   \verb"\Large"        & \verb"/1728" \\
  3656.   \verb"\LARGE"        & \verb"/2074" \\
  3657.   \verb"\huge"         & \verb"/2488"
  3658.  \end{tabular}
  3659. \end{center}
  3660. \begin{center}
  3661.                 \verb"12pt" Font Sizes (page~\pageref{12points})
  3662. \end{center}
  3663. \vspace*{\fill}
  3664. \end{document}
  3665.