review 3.0.0.preview4 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.ja.md +61 -4
  3. data/NEWS.md +61 -4
  4. data/README.md +2 -1
  5. data/doc/config.yml.sample +48 -20
  6. data/doc/config.yml.sample-simple +7 -6
  7. data/doc/format_idg.ja.md +6 -2
  8. data/doc/pdfmaker.ja.md +95 -4
  9. data/doc/pdfmaker.md +79 -0
  10. data/doc/quickstart.ja.md +26 -3
  11. data/doc/quickstart.md +25 -3
  12. data/doc/writing_vertical.ja.md +19 -2
  13. data/lib/review/epubmaker.rb +27 -27
  14. data/lib/review/i18n.yml +1 -0
  15. data/lib/review/init.rb +34 -22
  16. data/lib/review/latexbuilder.rb +95 -18
  17. data/lib/review/pdfmaker.rb +1 -0
  18. data/lib/review/update.rb +60 -25
  19. data/lib/review/version.rb +1 -1
  20. data/review.gemspec +1 -1
  21. data/samples/sample-book/src/config.yml +3 -3
  22. data/samples/syntax-book/config.yml +3 -3
  23. data/templates/latex/config.erb +3 -0
  24. data/templates/latex/review-jlreq/README.md +97 -7
  25. data/templates/latex/review-jlreq/review-base.sty +8 -0
  26. data/templates/latex/review-jlreq/review-jlreq.cls +28 -6
  27. data/templates/latex/review-jsbook/README.md +18 -20
  28. data/templates/latex/review-jsbook/review-base.sty +15 -0
  29. data/templates/latex/review-jsbook/review-jsbook.cls +172 -230
  30. data/test/test_epubmaker_cmd.rb +1 -1
  31. data/test/test_helper.rb +3 -3
  32. data/test/test_image_finder.rb +9 -9
  33. data/test/test_latexbuilder.rb +20 -1
  34. data/test/test_makerhelper.rb +12 -12
  35. data/test/test_pdfmaker_cmd.rb +1 -1
  36. data/test/test_update.rb +18 -4
  37. data/test/test_zip_exporter.rb +7 -7
  38. data/vendor/jsclasses/.gitignore +163 -0
  39. data/vendor/jsclasses/LICENSE +25 -0
  40. data/vendor/jsclasses/Makefile +88 -0
  41. data/vendor/jsclasses/README.md +43 -0
  42. data/vendor/jsclasses/create_archive.sh +59 -0
  43. data/vendor/jsclasses/jis/Makefile +62 -0
  44. data/vendor/jsclasses/jis/jsarticle.cls +1935 -0
  45. data/vendor/jsclasses/jis/jsbook.cls +2026 -0
  46. data/vendor/jsclasses/jis/jsclasses.dtx +5961 -0
  47. data/vendor/jsclasses/jis/jsclasses.ins +8 -0
  48. data/vendor/jsclasses/jis/jslogo.dtx +413 -0
  49. data/vendor/jsclasses/jis/jslogo.ins +4 -0
  50. data/vendor/jsclasses/jis/jslogo.sty +223 -0
  51. data/vendor/jsclasses/jis/jspf.cls +1766 -0
  52. data/vendor/jsclasses/jis/jsreport.cls +2020 -0
  53. data/vendor/jsclasses/jis/jsverb.dtx +322 -0
  54. data/vendor/jsclasses/jis/jsverb.ins +4 -0
  55. data/vendor/jsclasses/jis/jsverb.sty +128 -0
  56. data/vendor/jsclasses/jis/kiyou.cls +1882 -0
  57. data/vendor/jsclasses/jis/minijs.sty +52 -0
  58. data/vendor/jsclasses/jis/okumacro.dtx +1179 -0
  59. data/vendor/jsclasses/jis/okumacro.ins +4 -0
  60. data/vendor/jsclasses/jis/okumacro.sty +455 -0
  61. data/vendor/jsclasses/jis/okuverb.dtx +243 -0
  62. data/vendor/jsclasses/jis/okuverb.ins +4 -0
  63. data/vendor/jsclasses/jis/okuverb.sty +102 -0
  64. data/vendor/jsclasses/jis/winjis.sty +87 -0
  65. data/vendor/jsclasses/jsarticle.cls +1938 -0
  66. data/vendor/jsclasses/jsbook.cls +2029 -0
  67. data/vendor/jsclasses/jsclasses.dtx +5966 -0
  68. data/vendor/jsclasses/jsclasses.ins +8 -0
  69. data/vendor/jsclasses/jsclasses.pdf +0 -0
  70. data/vendor/jsclasses/jslogo.dtx +424 -0
  71. data/vendor/jsclasses/jslogo.ins +4 -0
  72. data/vendor/jsclasses/jslogo.pdf +0 -0
  73. data/vendor/jsclasses/jslogo.sty +223 -0
  74. data/vendor/jsclasses/jspf.cls +1769 -0
  75. data/vendor/jsclasses/jsreport.cls +2023 -0
  76. data/vendor/jsclasses/jsverb.dtx +333 -0
  77. data/vendor/jsclasses/jsverb.ins +4 -0
  78. data/vendor/jsclasses/jsverb.pdf +0 -0
  79. data/vendor/jsclasses/jsverb.sty +128 -0
  80. data/vendor/jsclasses/kiyou.cls +1885 -0
  81. data/vendor/jsclasses/minijs.sty +52 -0
  82. data/vendor/jsclasses/okumacro.dtx +1184 -0
  83. data/vendor/jsclasses/okumacro.ins +4 -0
  84. data/vendor/jsclasses/okumacro.pdf +0 -0
  85. data/vendor/jsclasses/okumacro.sty +458 -0
  86. data/vendor/jsclasses/okuverb.dtx +254 -0
  87. data/vendor/jsclasses/okuverb.ins +4 -0
  88. data/vendor/jsclasses/okuverb.pdf +0 -0
  89. data/vendor/jsclasses/okuverb.sty +102 -0
  90. data/vendor/jsclasses/winjis.sty +87 -0
  91. metadata +55 -2
@@ -0,0 +1,52 @@
1
+ % minimal jsarticle-like fonts
2
+ %
3
+ \NeedsTeXFormat{pLaTeX2e}
4
+ \ProvidesPackage{minijs}[2018/02/04 okumura, texjporg]
5
+ %
6
+ % if jsclasses loaded, abort loading this package
7
+ \ifx\@jsc@uplatextrue\@undefined\else
8
+ \PackageInfo{minijs}{jsclasses does not need minijs, exiting}
9
+ \expandafter\endinput
10
+ \fi
11
+ %
12
+ % "fake" jsarticle
13
+ \expandafter\def\csname ver@jsarticle.cls\endcsname{}
14
+ %
15
+ % min/goth -> jis/jisg (for pLaTeX only)
16
+ \ifx\ucs\@undefined
17
+ \@for\@tempa:=5,6,7,8,9,10,10.95,12,14.4,17.28,20.74,24.88\do{%
18
+ \expandafter\let\csname JY1/mc/m/n/\@tempa\endcsname\relax
19
+ \expandafter\let\csname JY1/gt/m/n/\@tempa\endcsname\relax
20
+ \expandafter\let\csname JT1/mc/m/n/\@tempa\endcsname\relax
21
+ \expandafter\let\csname JT1/gt/m/n/\@tempa\endcsname\relax
22
+ }
23
+ \def\Cjascale{0.924690}
24
+ \DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] jis}{}
25
+ \DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] jisg}{}
26
+ \DeclareFontShape{JT1}{mc}{m}{n}{<-> s * [0.961] tmin10}{}
27
+ \DeclareFontShape{JT1}{gt}{m}{n}{<-> s * [0.961] tgoth10}{}
28
+ \fi
29
+ %
30
+ % \@setfontsize with \parindent and \(x)kanjiskip settings
31
+ \def\@setfontsize#1#2#3{\@nomath#1%
32
+ \ifx\protect\@typeset@protect
33
+ \let\@currsize#1%
34
+ \fi
35
+ \fontsize{#2}{#3}\selectfont
36
+ \ifdim\parindent>\z@ \parindent=1zw \fi
37
+ \kanjiskip=0zw plus .1zw minus .01zw
38
+ \xkanjiskip=0.25em plus 0.15em minus 0.06em}
39
+ %
40
+ % ad-hoc "relation font"
41
+ \DeclareRobustCommand\rmfamily
42
+ {\not@math@alphabet\rmfamily\mathrm
43
+ \romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
44
+ \DeclareRobustCommand\sffamily
45
+ {\not@math@alphabet\sffamily\mathsf
46
+ \romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
47
+ \DeclareRobustCommand\ttfamily
48
+ {\not@math@alphabet\ttfamily\mathtt
49
+ \romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
50
+ \normalsize
51
+ %
52
+ \endinput
@@ -0,0 +1,1179 @@
1
+ % ^^A -*- japanese-latex -*-
2
+ % \iffalse
3
+ %
4
+ % okumacro.dtx
5
+ % $B;d2HHG%^%/%m=8(B
6
+ % okumura@okumuralab.org
7
+ % http://oku.edu.mie-u.ac.jp/~okumura/
8
+ %
9
+ %<okumacro>\NeedsTeXFormat{pLaTeX2e}
10
+ %<okumacro>\ProvidesPackage{okumacro}[2018/06/11 okumura, texjporg]
11
+ %<*driver>
12
+ \documentclass{jsarticle}
13
+ \usepackage{doc}
14
+ \xspcode"5C=1 %% \
15
+ \xspcode"22=1 %% "
16
+ \usepackage{okumacro}
17
+ \addtolength{\textwidth}{-1in}
18
+ \addtolength{\evensidemargin}{1in}
19
+ \addtolength{\oddsidemargin}{1in}
20
+ \addtolength{\marginparwidth}{1in}
21
+ \setlength\marginparsep{5pt}
22
+ \setlength\marginparpush{0pt}
23
+ % \OnlyDescription
24
+ \CodelineNumbered
25
+ \DisableCrossrefs
26
+ \setcounter{StandardModuleDepth}{1}
27
+ \GetFileInfo{okumacro.sty}
28
+ \begin{document}
29
+ \DocInput{okumacro.dtx}
30
+ \end{document}
31
+ %</driver>
32
+ %
33
+ % \fi
34
+ %
35
+ % \title{$B;d2HHG%^%/%m=8(B}
36
+ % \author{$B1|B<@2I'(B}
37
+ % \date{\filedate}
38
+ % \maketitle
39
+ %
40
+ % \MakeShortVerb{\|}
41
+ %
42
+ % \section{$B$O$8$a$K(B}
43
+ %
44
+ % $B$3$l$O!X(B\pLaTeXe $BH~J8=q:n@.F~Lg!Y$J$I$NK\$r:n$C$?$H$-$K;H$C$?%^%/%m$r(B
45
+ % $B=8$a$?$b$N$G$9!#:n$C$?$@$1$G%F%9%H$b$7$F$$$J$$$b$N$J$I$b:.$8$C$F$$$k(B
46
+ % $B2DG=@-$,$"$j$^$9!#35$7$FB>$NJ}$K$O$"$^$jMxMQ2ACM$,$J$$$b$N$G$9!#(B
47
+ %
48
+ % [2002-12-19] $B$$$m$$$m$J$b$N$K<}O?$7$F$$$?$@$/:]$K%i%$%;%s%9$rL@3N$K$9$k(B
49
+ % $BI,MW$,@8$8$F$-$^$7$?!#%"%9%-!<$N$b$N$,:G6a$O!J(Bmodified$B!K(BBSD$B%i%$%;%s%9$K$J$C(B
50
+ % $B$F$$$^$9$N$G!$;d$N$b$N$b$=$l$K=`$8$F!J(Bmodified$B!K(BBSD$B$H$9$k$3$H$K$7$^$9!#(B
51
+ %
52
+ % [2016-07-30] $B=>Mh$O!$(Bascmac$B"*(Bokumacro$B$N=g$KFI$_9~$s$@>l9g$K%(%i!<$,=P$F(B
53
+ % $B$$$^$7$?$,!$?7$7$$;EMM$G$O!$(Bascmac$B$H(Bokumacro$B$NN>J}$rFI$_9~$`>l9g$K$O(B
54
+ % $B!V8e$KFI$_9~$s$@$[$&!W$,>!$A$^$9!#(B
55
+ % $B6qBNE*$K$O(B |\keytop|$B!$(B|\return|$B!$(Bscreen$B4D6-!$(Bshadebox$B4D6-$,$"$j$^$9!#(B
56
+ %
57
+ % \section{$B?tCM=8(B}
58
+ %
59
+ % \begin{itemize}
60
+ % \item B5: $182\,\mathrm{mm} \times 257\,\mathrm{mm}$
61
+ % \item B4: $257\,\mathrm{mm} \times 364\,\mathrm{mm}$
62
+ % \item A5: $148\,\mathrm{mm} \times 210\,\mathrm{mm}$
63
+ % \item A4: $210\,\mathrm{mm} \times 297\,\mathrm{mm}$
64
+ % \item $1\,\mathrm{in} = 72.27\,\mathrm{pt} = 2.54\,\mathrm{cm}$
65
+ % \item $1\,\mathrm{Q} = 0.25\,\mathrm{mm} = 0.711319\,\mathrm{pt}$
66
+ % \item $1\,\mathrm{pt} = 1.405839\,\mathrm{Q} = 0.3514598\,\mathrm{mm}$
67
+ % \item min10: $1\,\mathrm{zw} = 9.62216\,\mathrm{pt}
68
+ % = 3.3818\,\mathrm{mm} = 13.5272\,\mathrm{Q}$,
69
+ % $1\,\mathrm{zh} = 9.16443\,\mathrm{pt}$
70
+ % \item cmr10: $1\,\mathrm{em} = 10\,\mathrm{pt}$,
71
+ % $1\,\mathrm{ex} = 4.30554\,\mathrm{pt}$
72
+ % \end{itemize}
73
+ %
74
+ % \StopEventually{}
75
+ %
76
+ % \section{$B;(%^%/%m(B}
77
+ %
78
+ % $B0J2<$,<B:]$N%^%/%m=8$G$9!#(B
79
+ %
80
+ % \begin{macrocode}
81
+ %<*okumacro>
82
+ % \end{macrocode}
83
+ %
84
+ % \begin{macro}{\ruby}
85
+ %
86
+ % |\ruby{$B1|(B}{$B$*$/(B}\ruby{$BB<(B}{$B$`$i(B}| $B$G(B\ruby{$B1|(B}{$B$*$/(B}\ruby{$BB<(B}{$B$`$i(B}$B$H(B
87
+ % $B$J$j$^$9!#(B|\ruby{$B1|B<(B}{$B$*$/$`$i(B}| $B$G$b$+$^$$$^$;$s$,!$1|$HB<$N4V$G(B
88
+ % $B9TJ,3d$,$G$-$J$/$J$j$^$9!#(B
89
+ %
90
+ % $BOBJ8%Y!<%9%i%$%s$,(B $88:12$ $B$N0LCV$K$"$k$3$H$r2>Dj$7$F;YCl$rF~$l$^$7$?!#(B
91
+ %
92
+ % $B%P%0!'(B |1\ruby{$B1|(B}{$B$*$/(B}1| $B$N$h$&$J>l9g$K(B |\xkanjiskip| $B$,F~$j$^$;$s!#(B
93
+ %
94
+ % [2003-02-09] $B%4%7%C%/BN$N%k%S$,%4%7%C%/BN$K$J$k%P%0!)$r=$@5$7$^$7$?!#(B
95
+ %
96
+ % [2003-05-29] $Bc7F#=$;0O:$5$s$N(BOTF$B%Q%C%1!<%8$N(Bexpert$B%*%W%7%g%s$KBP1~$7$^$7$?!#(B
97
+ %
98
+ % [2003-09-01] $B%*%W%7%g%s0z?t$GI}$,;XDj$G$-$k$h$&$K$7$^$7$?(B [2003-10-02$B%P%0%U%#%C%/%9(B]$B!#(B
99
+ %
100
+ % [2010-03-14] $B%k%S$ND>8e$G2~9T$G$-$J$+$C$?$N$G!$(B
101
+ % $B?F;z$,OBJ8$H2>Dj$7$FD>8e$K(B |\kanjiskip| $B$rF~$l$^$7$?!#(B
102
+ %
103
+ % [2016-08-16] $B=DAH$KBP1~!#(B
104
+ %
105
+ % [2016-08-16] $B!VA0$K(B |\kanjiskip| $B$,F~$i$J$$!W(B
106
+ % $B!VA08e$N2$J8J8;z$H$N4V$K(B |\xkanjiskip| $B$,F~$i$J$$!W(B
107
+ % $B!V8e$m$N6XB'=hM}$,8z$+$J$$!WLdBj$r2r7h$9$k$?$a$KOBJ8%4!<%9%H=hM}$rDI2C!#(B
108
+ %
109
+ % \begin{macrocode}
110
+ \providecommand{\rubyfamily}{}
111
+ \def\kanjistrut{\iftdir
112
+ \vrule \@height0.5zw \@depth0.5zw \@width\z@
113
+ \else
114
+ \vrule \@height0.88zw \@depth0.12zw \@width\z@
115
+ \fi}
116
+ \chardef\okumacro@zsp=\jis"2121\relax
117
+ \newcommand{\ruby}[3][0zw]{%
118
+ \okumacro@zsp
119
+ \kern-1zw\relax
120
+ \dimen3=\f@size\p@
121
+ \setbox1=\hbox{#2}%
122
+ \setbox3=\hbox{\rubyfamily\fontsize{0.5\dimen3}{0pt}\selectfont #3}%
123
+ \dimen1=#1\relax
124
+ \ifdim\dimen1=\z@
125
+ \ifdim\wd1>\wd3 \dimen1=\wd1 \else \dimen1=\wd3 \fi
126
+ \else
127
+ \ifdim\dimen1<\wd1
128
+ \dimen1=\wd1
129
+ \fi
130
+ \fi
131
+ \hbox{%
132
+ \kanjiskip=0pt plus 2fil
133
+ \xkanjiskip=0pt plus 2fil
134
+ \vbox{%
135
+ \hbox to \dimen1{\rubyfamily
136
+ \fontsize{0.5\dimen3}{0pt}\selectfont \kanjistrut
137
+ \ifdim\dimen1<\wd3
138
+ \hss\unhbox3\hss
139
+ \else
140
+ \hfil\unhbox3\hfil
141
+ \fi
142
+ }%
143
+ \nointerlineskip
144
+ \hbox to \dimen1{\kanjistrut\hfil\unhbox1\hfil}}}%
145
+ \kern-1zw\relax\okumacro@zsp}
146
+ % \end{macrocode}
147
+ % \end{macro}
148
+ %
149
+ % \begin{macro}{\Ruby}
150
+ %
151
+ % $B%k%S$,N>B&$K%k%S$NH>J8;zJ,$:$D$O$_=P$7$F$b$$$$>l9g$K;H$$$^$9!#(B
152
+ % $B$?$@!$$3$l$rO"B3$7$F;H$&$H!$%k%S$,=E$J$j9g$C$F$7$^$$$^$9!#(B
153
+ %
154
+ % $B$3$l$O$"$^$jB8:_0U5A$,$J$$$N$G$H$j$"$($:>C$7$F$*$-$^$9!#(B
155
+ %
156
+ % \begin{macrocode}
157
+ % \newcommand{\Ruby}[2]{%
158
+ % \leavevmode
159
+ % \setbox0=\hbox{#1}%
160
+ % \mytempdima=\f@size\p@
161
+ % \setbox1=\hbox{\fontsize{0.5\mytempdima}{0pt}\selectfont #2}%
162
+ % \dimen0=\wd1 \advance \dimen0 by -0.5\mytempdima
163
+ % \ifdim\wd0>\dimen0 \dimen0=\wd0 \fi
164
+ % \hbox{%
165
+ % \kanjiskip=0pt plus 2fil
166
+ % \xkanjiskip=0pt plus 2fil
167
+ % \vbox{%
168
+ % \hbox to \dimen0{\normalfont\rubyfamily
169
+ % \fontsize{0.5\mytempdima}{0pt}\selectfont \kanjistrut\hss#2\hss}%
170
+ % \nointerlineskip
171
+ % \hbox to \dimen0{\kanjistrut\hfil#1\hfil}}}}
172
+ % \end{macrocode}
173
+ % \end{macro}
174
+ %
175
+ % \begin{macro}{\kenten}
176
+ %
177
+ % \kenten{$B7wE@(B}$B$r?6$k%3%^%s%I$G$9!#(B
178
+ %
179
+ % [2016-07-30] $B%k%S$H7wE@$N9b$5$r9g$o$;$k$D$b$j$G$7$?$,!$4V0c$C$F(B
180
+ % $B>e%7%U%HNL$r(B0.63zw$B$H$7$F$$$^$7$?$N$G!$@5$7$$CM(B0.75zw$B$KD>$7$^$7$?!#(B
181
+ %
182
+ % [2017-03-11] $B!VA08e$N2$J8J8;z$H$N4V$K(B |\xkanjiskip| $B$,F~$i$J$$!W(B
183
+ % $B!V8e$m$N6XB'=hM}$,8z$+$J$$!WLdBj$r2r7h$9$k$?$a$KOBJ8%4!<%9%H=hM}$rDI2C!#(B
184
+ %
185
+ % [2017-10-04] $B$b$H$b$H(B |\kenten| $B$G$O(B
186
+ %\begin{verbatim}
187
+ % \setbox1=\hbox to \z@{$B!&(B\hss}%
188
+ %\end{verbatim}
189
+ % $B$H$7$F$$$^$7$?$,!$(B2017$BG/(B9$B7n$N(B\pTeX (p3.7.2)$B$KBP1~$9$k$?$a(B
190
+ %\begin{verbatim}
191
+ % \setbox1=\hbox to\z@{\hbox to 1zw{\hss$B!&(B\hss}\hss}%
192
+ %\end{verbatim}
193
+ % $B$KJQ99$7$^$7$?!#$3$l$G!$(Bp3.7.1$B0JA0!&(Bp3.7.2$B0J9_$I$A$i$b(BOK$B$G$9!#(B
194
+ %
195
+ % \begin{macrocode}
196
+ \def\kenten#1{%
197
+ \okumacro@zsp
198
+ \kern-1zw\relax
199
+ \setbox1=\hbox to\z@{\hbox to 1zw{\hss $B!&(B\hss}\hss}%
200
+ \ht1=.63zw
201
+ \@kenten#1\end\relax
202
+ \kern-1zw\relax\okumacro@zsp}
203
+ \def\@kenten#1#2{%
204
+ \ifx#1\end \let\next=\relax \else
205
+ \raise.75zw\copy1\nobreak #1\ifx#2\end\else\hskip\kanjiskip\relax\fi
206
+ \let\next=\@kenten
207
+ \fi\next#2}
208
+ % \end{macrocode}
209
+ % \end{macro}
210
+ %
211
+ % \begin{macro}{\kintou}
212
+ %
213
+ % $B4JC1$J6QEy3d$j%3%^%s%I$G$9!#(B
214
+ %
215
+ % \begin{macrocode}
216
+ \newcommand{\kintou}[2]{%
217
+ \leavevmode
218
+ \hbox to #1{%
219
+ \kanjiskip=0pt plus 1fil minus 1fil
220
+ \xkanjiskip=\kanjiskip
221
+ #2}}
222
+ % \end{macrocode}
223
+ % \end{macro}
224
+ %
225
+ % \begin{macro}{\$BMK(B}
226
+ %
227
+ % $B:#F|$NMKF|$r=PNO$7$^$9!#(B
228
+ %
229
+ % \begin{macrocode}
230
+ \newcommand{\$BMK(B}{{\@tempcnta=\year \@tempcntb=\month
231
+ \ifnum \@tempcntb<3
232
+ \advance \@tempcnta by -1
233
+ \advance \@tempcntb by 12
234
+ \fi
235
+ \multiply \@tempcntb by 13
236
+ \advance \@tempcntb by 8
237
+ \divide \@tempcntb by 5
238
+ \advance \@tempcntb by \@tempcnta
239
+ \divide \@tempcnta by 4
240
+ \advance \@tempcntb by \@tempcnta
241
+ \divide \@tempcnta by 25
242
+ \advance \@tempcntb by -\@tempcnta
243
+ \divide \@tempcnta by 4
244
+ \advance \@tempcntb by \@tempcnta
245
+ \advance \@tempcntb by \day
246
+ \@tempcnta=\@tempcntb
247
+ \divide \@tempcntb by 7
248
+ \multiply \@tempcntb by 7
249
+ \advance \@tempcnta by -\@tempcntb
250
+ \ifcase \@tempcnta $BF|(B\or $B7n(B\or $B2P(B\or $B?e(B\or $BLZ(B\or $B6b(B\or $BEZ(B\fi}}
251
+ % \end{macrocode}
252
+ % \end{macro}
253
+ %
254
+ % \begin{macro}{\$B0';"(B}
255
+ %
256
+ % $B;~8u$N0';"$r=PNO$7$^$9!#(B
257
+ %
258
+ % \begin{macrocode}
259
+ \def\$B0';"(B{\noindent $BGR7<(B\hspace{1zw}\ifcase\month\or
260
+ $B874((B\or $B=U4((B\or $BAa=U(B\or $BM[=U(B\or $B?7NP(B\or $B8~=k(B\or
261
+ $BLT=k(B\or $B;D=k(B\or $B=i=)(B\or $BCg=)(B\or $BHU=)(B\or $B=iE_(B\fi
262
+ $B$N8u!$$^$9$^$9$4@61I$N$3$H$H$*4n$S?=$7>e$2$^$9!#(B}
263
+ % \end{macrocode}
264
+ % \end{macro}
265
+ %
266
+ % \begin{macro}{\mytt}
267
+ %
268
+ % |\texttt| $B$G$O(B \verb/|/ |!| |@| |*| |-| |+| |=| |[| |]| |:| |;|
269
+ % |"| |`| |'| |<| |>| |?| |,| |.| |/| $B$O$=$N$^$^=P$;$^$9$,!$(B
270
+ % |!| |?| |.| |:| $B$N8e$OM>J,$J6u$-$,F~$j$^$9!#(B
271
+ % $B$^$?!$(B|#| |$| |&| |_| |{| |}| $B$O(B \texttt{\bslash} $B$GF($2$l$P;H$($^$9$,!$(B
272
+ % $B$=$&$7$F$b(B |_| |{| |}| $B$O@5$7$$(B \texttt{cmtt} $B%U%)%s%H$K$J$j$^$;$s!#(B
273
+ % $B$5$i$K!$(B|~| |^| $B$O(B \texttt{\bslash} $B$rIU$1$F$b8eB3$NJ8;z$N%"%/%;%s%H(B
274
+ % $B$N$h$&$K$J$C$F$7$^$$$^$9!J(B|\~{}|$B!$(B|\^{}| $B$N$h$&$K$9$l$P2?$H$+(B
275
+ % $B$J$j$^$9$,!K!#$3$3$GDj5A$9$k(B |\mytt| $B%^%/%m$r;H$($P!$(B
276
+ % |{| |}| $B$O(B \texttt{\bslash} $B$GF($2$l$P@5$7$$(B \texttt{cmtt} $B%U%)%s%H(B
277
+ % $B$K$J$j!$(B
278
+ % |#| |&| |_| |~| |^| $B$O(B \texttt{\bslash} $B$GF($2$J$/$F$b$=$N$^$^(B
279
+ % $B$G=PNO$G$-$^$9!#(B
280
+ % |$| $B$b$=$N$^$^=PNO$G$-$k$h$&$K$7$F$$$?$N$G$9$,!$(B
281
+ % $B?t<0%b!<%I$O;H$($?J}$,JXMx$J$N$G!$30$7$^$7$?!#(B
282
+ % $B$^$?!$(B|\\| $B$G1_0u$,=P$^$9!#(B
283
+ % |/|$B!$(B|\\|$B!$(B|.|$B!$(B|@|$B!$(B|-| $B$N8e$m$G2~9T$G$-$k$h$&$K$7$F$"$j$^$9!#(B
284
+ % |{\mytt ...}| $B$N$h$&$K$7$F;H$$$^$9!J(B|\mytt{...}| $B$G$O$"$j$^$;$s!K!#(B
285
+ % $B%9%Z!<%9$O<c43?-=L$9$k$h$&$K$7$^$7$?!#(B
286
+ % |\mbox{\mytt ...}| $B$N$h$&$K$7$F;H$($P!$(B
287
+ % $BOBJ8!&2$J84V$N%0%k!<$N<+F0A^F~$O$7$^$;$s!#(B
288
+ %
289
+ % \begin{macrocode}
290
+ \def\myallowbreak{\@ifnextchar\egroup{}{\penalty\exhyphenpenalty}{}}
291
+ \begingroup
292
+ \catcode`\-=\active
293
+ \catcode`\.=\active
294
+ \catcode`\/=\active
295
+ \gdef\mytth@@k{%
296
+ \catcode`\-=\active \def-{\char`\-\myallowbreak}%
297
+ \catcode`\.=\active \def.{\char`\.\myallowbreak}%
298
+ \catcode`\/=\active \def/{\char`\/\myallowbreak}%
299
+ }
300
+ \endgroup
301
+ \def\mytt{\ttfamily
302
+ \catcode`\#=12
303
+ \catcode`\&=12
304
+ \catcode`\^=12
305
+ \catcode`\~=12
306
+ \catcode`\_=12
307
+ \chardef\{=`\{
308
+ \chardef\}=`\}
309
+ \chardef\_=`\_
310
+ % \def\\{Y\llap=\penalty\exhyphenpenalty{}}% $B!o5-9f(B
311
+ \def\\{\char"5C\penalty\exhyphenpenalty{}}% $B%P%C%/%9%i%C%7%e(B
312
+ % \spaceskip=.5em plus.25em minus.15em
313
+ \spaceskip=.32em plus.16em minus.09em
314
+ \frenchspacing
315
+ \noautoxspacing
316
+ \mytth@@k}
317
+ % \end{macrocode}
318
+ % \end{macro}
319
+ %
320
+ % $B$3$l0J30$N5-9f$O<!$N$h$&$K$7$F=PNO$G$-$^$9!#(B
321
+ %
322
+ % \begin{quote}
323
+ % |\texttt{\char"20}| \qquad \texttt{\char"20} $B8+$($k6uGr(B \\
324
+ % |\texttt{\char"5C}| \qquad \texttt{\char"5C} $B%P%C%/%9%Z!<%9(B \\
325
+ % |\texttt{\char"0B}| \qquad \texttt{\char"0B} $B>e8~$-Lp0u(B \\
326
+ % |\texttt{\char"0C}| \qquad \texttt{\char"0C} $B2<8~$-Lp0u(B \\
327
+ % |\texttt{\char"0D}| \qquad \texttt{\char"0D} $B:81&BP>N$J%7%s%0%k%/%)!<%H(B
328
+ % \end{quote}
329
+ %
330
+ % \begin{macro}{\yen}
331
+ % \begin{macro}{\BS}
332
+ %
333
+ % |\yen| $B$O1_0u!$(B|\BS| $B$O%P%C%/%9%i%C%7%e$G$9!#(B
334
+ %
335
+ % \begin{macrocode}
336
+ \DeclareRobustCommand{\yen}{{\ooalign{Y\crcr\hss=\hss}}}
337
+ \providecommand{\BS}{\texttt{\char"5C}}
338
+ % \end{macrocode}
339
+ % \end{macro}
340
+ % \end{macro}
341
+ %
342
+ % \begin{macro}{\bslash}
343
+ %
344
+ % $B%P%C%/%9%i%C%7%e$O(B |doc| $B%Q%C%1!<%8$J$I$G$NDj5A$K=>$C$F$*$-$^$9!#(B
345
+ %
346
+ % \begin{macrocode}
347
+ {\catcode`\|=\z@ \catcode`\\=12|gdef|bslash{\}}
348
+ % \end{macrocode}
349
+ % \end{macro}
350
+ %
351
+ % \begin{macro}{\asciibar}
352
+ %
353
+ % $B??$sCf$,>/$7ES@Z$l$?=DK@(B \asciibar\ $B$G$9!#(B
354
+ % \verb/|/ $B$KBP1~$9$k(BASCII$BJ8;z$G$9!#(B
355
+ %
356
+ % \begin{macrocode}
357
+ \newcommand{\asciibar}{%
358
+ \makebox[0.525em]{\rule[-0.2ex]{0.15ex}{0.7ex}\kern-0.15ex
359
+ \rule[0.8ex]{0.15ex}{0.7ex}}}
360
+ % \end{macrocode}
361
+ % \end{macro}
362
+ %
363
+ % \begin{macro}{\$B!]!](B}
364
+ % \begin{macro}{\$B!=!=(B}
365
+ %
366
+ % $BG\3Q$N%@!<%7$G$9!#@N$O(B |\rule[0.33zh]{2zw}{.03zh}| $B$H$7$F$$$^$7$?$,!$(B
367
+ % $B$A$g$C$HDc$9$.$k$h$&$G$9!#OBJ8%U%)%s%H$N%Y!<%9%i%$%s(B
368
+ % $B$O(B $88:12$ $B$N$H$3$m$K$"$k$b$N$,B?$$$N$G!$(B0.38\,zw$B$N$H$3$m$KCf?4@~$,(B
369
+ % $BMh$k$[$&$,$$$$$h$&$G$9!#B@$5$b$A$g$C$H$@$1B@$/$7$^$7$?!#(B
370
+ %
371
+ % \begin{macrocode}
372
+ % \def\$B!]!](B{\rule[0.36zw]{2zw}{0.04zw}}
373
+ % \end{macrocode}
374
+ %
375
+ % $B$5$i$K$h$/9M$($?$i(B |\scalebox{2}[1]{$B!=(B}| $B$N$[$&$,$h$5$=$&$J$N$G!$(B
376
+ % |graphics| $B$^$?$O(B |graphicx| $B%Q%C%1!<%8$rFI$_9~$s$@>l9g$O$3$A$i$r;H$&$h$&$K$7$^$7$?!#(B
377
+ %
378
+ % \begin{macrocode}
379
+ % \def\$B!]!](B{\@ifundefined{scalebox}{\rule[0.36zw]{2zw}{0.04zw}}{\scalebox{2}[1]{$B!=(B}}}
380
+ % \end{macrocode}
381
+ %
382
+ % $B$5$i$K$$$m$$$m$J$40U8+$r$$$?$@$-!$<!$N$h$&$KD>$7$^$7$?!#(B
383
+ %
384
+ % \begin{macrocode}
385
+ \def\$B!]!](B{$B!=(B\kern-.5zw$B!=(B\kern-.5zw$B!=(B}
386
+ % \end{macrocode}
387
+ %
388
+ % $B>e$N$b$N$OA43Q%^%$%J%9Fs$D$G$7$?$,!$A43Q%@!<%7Fs$D$G$b$$$$$h$&$K$7$^$7$?!#(B
389
+ %
390
+ % \begin{macrocode}
391
+ \def\$B!=!=(B{$B!=(B\kern-.5zw$B!=(B\kern-.5zw$B!=(B}
392
+ % \end{macrocode}
393
+ %
394
+ % [2016-12-04] \pLaTeX $B$GDL$k%3!<%I$,(B \upLaTeX $B$GDL$i$J$/$J$k$3$H$rKI$0$?$a$K!$(Bu\pLaTeX $B$N>l9g$K$O(BU+FF0D$B!$(BU+2014$B$GDj5A$7$?$b$N$bJLESMQ0U$7$^$7$?!#(B
395
+ %
396
+ % \begin{macrocode}
397
+ \ifx\ucs\@undefined\else
398
+ \begingroup
399
+ \kansujichar1="FF0D
400
+ \kansujichar2="2014
401
+ \expandafter\expandafter\expandafter\gdef
402
+ \expandafter\csname\expandafter\kansuji\expandafter1%
403
+ \expandafter\endcsname\kansuji1{$B!=(B\kern-.5zw$B!=(B\kern-.5zw$B!=(B}
404
+ \expandafter\expandafter\expandafter\gdef
405
+ \expandafter\csname\expandafter\kansuji\expandafter2%
406
+ \expandafter\endcsname\kansuji2{$B!=(B\kern-.5zw$B!=(B\kern-.5zw$B!=(B}
407
+ \endgroup
408
+ \fi
409
+ % \end{macrocode}
410
+ %
411
+ % \end{macro}
412
+ % \end{macro}
413
+ %
414
+ %
415
+ % \section{$B%-!<%H%C%W!$!{?t;z(B}
416
+ %
417
+ % \begin{macro}{\removept}
418
+ %
419
+ % |#1| $B$KM?$($?(Bdimen$B%l%8%9%?$N(B pt $B$r>C$7$??tCM$r(B |#2| $B$N%^%/%m$K(B
420
+ % $BDj5A$7$^$9!#(B
421
+ %
422
+ % \begin{macrocode}
423
+ \newcommand{\removept}[2]{%
424
+ \edef#2{\expandafter\@removePT\the#1}}
425
+ {\catcode`p=12 \catcode`t=12 \gdef\@removePT#1pt{#1}}
426
+ % $B$7$+$7(B latex.ltx $B$G<!$N$h$&$KDj5A$5$l$F$$$^$7$?!#(B
427
+ % $B$3$l$r$=$N$^$^;H$C$?$i$h$+$C$?!#(B
428
+ % \begingroup
429
+ % \catcode`P=12
430
+ % \catcode`T=12
431
+ % \lowercase{
432
+ % \def\x{\def\rem@pt##1.##2PT{##1\ifnum##2>\z@.##2\fi}}}
433
+ % \expandafter\endgroup\x
434
+ % \def\strip@pt{\expandafter\rem@pt\the}
435
+ % \end{macrocode}
436
+ % \end{macro}
437
+ %
438
+ % \begin{macro}{\keytop}
439
+ %
440
+ % $B$3$l$r;H$C$F%-!<%H%C%W5-9f$r:n$j$^$9!#(B
441
+ %
442
+ % [2016-07-30] |\keytop| $B$O(Bp\LaTeX $B$N(Bascmac$B%Q%C%1!<%8(B(tascmac.sty)$B$G$b(B
443
+ % $BDj5A$5$l$F$$$^$9$,!$(Bascmac$B$NDj5A$G$O<~0O$HF1$8%U%!%_%j$N$^$^$K$J$C$F$$$F!$(B
444
+ % okumacro$B$G$OCf$NJ8;z$r%5%s%;%j%UBN$KJQ99$7$F$$$^$9!#(B
445
+ % $BN>J}$N%Q%C%1!<%8$rFI$_9~$`>l9g$O!$8e$KFI$_9~$s$@$[$&$NDj5A$,>!$A$^$9!#(B
446
+ % okumacro$B$,>!$D>l9g$K$O>o$K%5%s%;%j%UBN$KJQ99$9$k%-!<%H%C%W5-9f$r=PNO$7$^$9$7!$(B
447
+ % ascmac$B$,>!$D>l9g$O<~0O$HF1$8%U%!%_%j$K$J$j$^$9!#(B
448
+ %
449
+ % $B$^$?!$?7$?$K(B |\okukeytop| $B$H$$$&L?Na$rDI2C$7$^$9!#$3$l$O(Bascmac$B$H43>D$;$:!$(B
450
+ % $B>o$K%5%s%;%j%UBN$KJQ99$9$k%-!<%H%C%W5-9f$r=PNO$G$-$^$9!#(B
451
+ %
452
+ % \begin{macrocode}
453
+ \newcommand{\okukeytop}[1]{{\leavevmode\kern1pt
454
+ \setbox1=\hbox{\normalfont\sffamily [}%
455
+ \dimen1=\ht1
456
+ \removept{\dimen1}{\tempC}%
457
+ \setbox0=\hbox{\normalfont\sffamily #1}%
458
+ \dp0=0pt
459
+ \dimen0=\wd0
460
+ \ifdim\dimen0<\ht1 \dimen0=\ht1 \fi
461
+ \advance \dimen0 by 5pt
462
+ \removept{\dimen0}{\tempA}%
463
+ \divide \dimen0 by 2
464
+ \removept{\dimen0}{\tempB}%
465
+ \unitlength=1pt
466
+ \advance \dimen1 by 2pt
467
+ \hbox{\vrule height\dimen1 depth2pt width0pt}%
468
+ \begin{picture}(\tempA,\tempC)
469
+ \put(0,0){\line(0,1){\tempC}}
470
+ \put(\tempA,0){\line(0,1){\tempC}}
471
+ \put(\tempB,0){\oval(\tempA,4)[b]}
472
+ \put(\tempB,\tempC){\oval(\tempA,4)[t]}
473
+ \put(\tempB,0){\makebox(0,0)[b]{\box0}}
474
+ \end{picture}\kern1pt}}
475
+ \expandafter\ifx\csname ver@tascmac.sty\endcsname\relax
476
+ \newcommand{\keytop}{\okukeytop}
477
+ \else
478
+ \renewcommand{\keytop}{\okukeytop}
479
+ \fi
480
+ % \end{macrocode}
481
+ % \end{macro}
482
+ %
483
+ % \begin{macro}{\return}
484
+ %
485
+ % $B%j%?!<%s%-!<$N5-9f$G$9!#(B
486
+ %
487
+ % [2016-07-30] |\return| $B$O(Bp\LaTeX $B$N(Bascmac$B%Q%C%1!<%8(B(tascmac.sty)$B$G$b(B
488
+ % $BDj5A$5$l$F$$$^$9$,!$(Bokumacro$B$,%j%?!<%s$N%-!<%H%C%W5-9f$r=PNO$9$k$N$KBP$7!$(B
489
+ % ascmac$B$G$O%j%?!<%s$NLp0uJ8;z(B{\font\ASCGRP=ascgrp \ASCGRP\char"20}$B$@$1(B
490
+ % $B$r=P$9L?Na$K$J$C$F$$$^$9!#(B
491
+ % $BN>J}$N%Q%C%1!<%8$rFI$_9~$`>l9g$O!$8e$KFI$_9~$s$@$[$&$NDj5A$,>!$A$^$9!#(B
492
+ % okumacro$B$,>!$D>l9g$K$O(B\okureturn $B$r=PNO$7$^$9$7!$(B
493
+ % ascmac$B$,>!$D>l9g$O(B{\font\ASCGRP=ascgrp \ASCGRP\char"20}$B$r=PNO$7$^$9!#(B
494
+ %
495
+ % $B$^$?!$?7$?$K(B |\okureturn| $B$H$$$&L?Na$rDI2C$7$^$9!#$3$l$O(Bascmac$B$H43>D$;$:!$(B
496
+ % $B>o$K%j%?!<%s$N%-!<%H%C%W5-9f(B\okureturn $B$r=PNO$G$-$^$9!#(B
497
+ %
498
+ % \begin{macrocode}
499
+ \def\RETMARK{{\unitlength=1pt
500
+ \setbox0=\hbox{\normalfont\ttfamily [}%
501
+ \dimen0=\ht0
502
+ \removept{\dimen0}{\tempA}%
503
+ \advance \dimen0 by -1pt
504
+ \removept{\dimen0}{\tempB}%
505
+ \begin{picture}(\tempA,\tempA)
506
+ \put(\tempA,1){\line(0,1){\tempB}}
507
+ \put(\tempA,1){\vector(-1,0){\tempA}}
508
+ \end{picture}}}
509
+ \newcommand{\okureturn}{\okukeytop{\RETMARK}}
510
+ \expandafter\ifx\csname ver@tascmac.sty\endcsname\relax
511
+ \newcommand{\return}{\okureturn}
512
+ \else
513
+ \renewcommand{\return}{\okureturn}
514
+ \fi
515
+ % \end{macrocode}
516
+ % \end{macro}
517
+ %
518
+ % \begin{macro}{\upkey}
519
+ % \begin{macro}{\downkey}
520
+ % \begin{macro}{\rightkey}
521
+ % \begin{macro}{\leftkey}
522
+ %
523
+ % $B>e2<1&:8$NLp0u%-!<$G$9!#(B
524
+ %
525
+ % \begin{macrocode}
526
+ \newcommand{\upkey}{\raisebox{-2pt}{%
527
+ \setlength{\unitlength}{1pt}%
528
+ \thinlines
529
+ \begin{picture}(14,9)
530
+ \put(7,2){\vector(0,1){8}}
531
+ \put(1,2){\line(0,1){7}}
532
+ \put(13,2){\line(0,1){7}}
533
+ \put(7,9){\oval(12,4)[t]}
534
+ \put(7,2){\oval(12,4)[b]}
535
+ \end{picture}%
536
+ }}
537
+ \newcommand{\downkey}{\raisebox{-2pt}{%
538
+ \setlength{\unitlength}{1pt}%
539
+ \thinlines
540
+ \begin{picture}(14,9)
541
+ \put(7,10){\vector(0,-1){8}}
542
+ \put(1,2){\line(0,1){7}}
543
+ \put(13,2){\line(0,1){7}}
544
+ \put(7,9){\oval(12,4)[t]}
545
+ \put(7,2){\oval(12,4)[b]}
546
+ \end{picture}%
547
+ }}
548
+ \newcommand{\rightkey}{\raisebox{-2pt}{%
549
+ \setlength{\unitlength}{1pt}%
550
+ \thinlines
551
+ \begin{picture}(14,9)
552
+ \put(3,6){\vector(1,0){8}}
553
+ \put(1,2){\line(0,1){7}}
554
+ \put(13,2){\line(0,1){7}}
555
+ \put(7,9){\oval(12,4)[t]}
556
+ \put(7,2){\oval(12,4)[b]}
557
+ \end{picture}%
558
+ }}
559
+ \newcommand{\leftkey}{\raisebox{-2pt}{%
560
+ \setlength{\unitlength}{1pt}%
561
+ \thinlines
562
+ \begin{picture}(14,9)
563
+ \put(11,6){\vector(-1,0){8}}
564
+ \put(1,2){\line(0,1){7}}
565
+ \put(13,2){\line(0,1){7}}
566
+ \put(7,9){\oval(12,4)[t]}
567
+ \put(7,2){\oval(12,4)[b]}
568
+ \end{picture}%
569
+ }}
570
+ % \end{macrocode}
571
+ % \end{macro}
572
+ % \end{macro}
573
+ % \end{macro}
574
+ % \end{macro}
575
+ %
576
+ % \begin{macro}{\MARU}
577
+ %
578
+ % $B4]$G0O$s$@J8;z$G$9!#(B
579
+ %
580
+ % [2003-01-24] |graphicx| $B$N$H$->/$78+1G$($,NI$/$J$k$h$&$K$7$^$7$?!#(B
581
+ %
582
+ % \begin{macrocode}
583
+ % \newcommand{\MARU}[1]{{%
584
+ % \ooalign{\hfil#1\/\hfil\crcr\raise.167ex\hbox{\mathhexbox20D}}}}
585
+ \newcommand{\MARU}[1]{{%
586
+ \ooalign{\hfil
587
+ \@ifundefined{scalebox}{%
588
+ #1\/\hfil\crcr\raise.167ex}{\raise.1zw\hbox{\scalebox{0.8}{#1\/}}\hfil\crcr\raise.1zw}%
589
+ \hbox{\fontencoding{OMS}\fontfamily{cmsy}\fontseries{m}\fontshape{n}\selectfont
590
+ \char"0D}}}}
591
+ % \end{macrocode}
592
+ % \end{macro}
593
+ %
594
+ % $B$=$NB>$N%m%4$G$9!#(B
595
+ %
596
+ % \begin{macrocode}
597
+ % \newcommand{\MuTeX}{M\kern-.15em\raise.2ex\hbox{u}\kern-.32em\TeX}
598
+ \newcommand{\PiC}{P\kern-.12em\lower.5ex\hbox{I}\kern-.075emC}
599
+ \newcommand{\PiCTeX}{\PiC\kern-.11em\TeX}
600
+ \newcommand{\JTeX}{\leavevmode\lower.5ex\hbox{J}\kern-.17em\TeX}
601
+ \newcommand{\JLaTeX}{\leavevmode\lower.5ex\hbox{\rm J}\kern-.17em\LaTeX}
602
+ \DeclareRobustCommand{\JBibTeX}{$\mbox{%
603
+ \lower.5ex\hbox{J}\ifx\f@family\cmr\kern-.15em\else\kern-.05em\fi
604
+ \BibTeX}$}
605
+ \newcommand{\pTeXsT}{p\kern-.21em\TeX\kern-.10em s\kern-.21em T}
606
+ % $B%$%s%W%l%9$N?7(B TeX $B$N2>>N(B
607
+ \newcommand{\iTeX}{\accent'27\i\TeX}
608
+ % $B:y0f$5$s$N?7(B TeX $B$N%m%4!J2>!K(B
609
+ \newcommand{\MlTeX}{M\kern-.1667em\lower.5ex\hbox{L}\kern-.25em\TeX}
610
+ % \end{macrocode}
611
+ %
612
+ % METAFONT$B$N%m%4$r=P$9J}K!$O$$$m$$$m$"$j$^$9!#$^$:8E$$J}K!$G!$(B
613
+ % |manfnt| $B$r;H$&$b$N$G$9!#(B
614
+ %
615
+ %\begin{verbatim}
616
+ % \font\manual=manfnt
617
+ % \font\manLarge=manfnt scaled \magstep 2
618
+ % \font\manHuge=manfnt scaled \magstep 5
619
+ % \newcommand{\MF}{%
620
+ % \ifx\@currsize\small
621
+ % {\manual hijk}\-{\manual lmnj}% 9pt
622
+ % \else
623
+ % \ifx\@currsize\footnotesize
624
+ % \ifdim \fontdimen\@ne\font>\z@
625
+ % {\manual \char92\char93\char94\char95efg\char94}% 8pt slanted
626
+ % \else
627
+ % {\manual opqr}\-{\manual stuq}% 8pt
628
+ % \fi
629
+ % \else
630
+ % \ifx\@currsize\Large
631
+ % {\manLarge META}\-{\manLarge FONT}% mag2 (14pt)
632
+ % \else
633
+ % \ifx\@currsize\Huge
634
+ % {\manHuge META}\-{\manHuge FONT}% mag5 (25pt)
635
+ % \else % \normalsize
636
+ % \ifdim \fontdimen\@ne\font>\z@
637
+ % {\manual 89:;<=>:}% 10pt slanted
638
+ % \else
639
+ % {\manual META}\-{\manual FONT}% 10pt
640
+ % \fi
641
+ % \fi
642
+ % \fi
643
+ % \fi
644
+ % \fi}
645
+ %\end{verbatim}
646
+ %
647
+ % $B<!$O(B |logo| $B$r;H$&J}K!$G$9!#(B
648
+ %
649
+ %\begin{verbatim}
650
+ %\font\logoTen=logo10
651
+ %\font\logoEight=logo8
652
+ %\font\logoLarge=logo10 scaled \magstep 2
653
+ %\font\logoHuge=logo10 scaled \magstep 5
654
+ %\newcommand{\MF}{%
655
+ % \ifx\@currsize\Large
656
+ % {\logoLarge META}\-{\logoLarge FONT}%
657
+ % \else
658
+ % \ifx\@currsize\Huge
659
+ % {\logoHuge META}\-{\logoHuge FONT}%
660
+ % \else
661
+ % \ifx\@currsize\footnotesize
662
+ % {\logoEight META}\-{\logoEight FONT}%
663
+ % \else
664
+ % {\logoTen META}\-{\logoTen FONT}%
665
+ % \fi
666
+ % \fi
667
+ % \fi}
668
+ %\end{verbatim}
669
+ %
670
+ % \LaTeXe $B$NJ}K!$H$7$F$O!$(B
671
+ % $B<!$N$h$&$J(B |ulogo.fd| $B$r:n$C$F$*$-$^$9!#(B
672
+ %
673
+ %\begin{verbatim}
674
+ %\DeclareFontFamily{U}{logo}{}
675
+ %\DeclareFontShape{U}{logo}{m}{n}{%
676
+ % <5><6><7><8>logo8%
677
+ % <9>logo9%
678
+ % <10><10.95><12><14.4><17.28><20.74><24.88>logo10}{}
679
+ %\DeclareFontShape{U}{logo}{m}{sl}{%
680
+ % <5><6><7><8><9>logosl9%
681
+ % <10><10.95><12><14.4><17.28><20.74><24.88>logosl10}{}
682
+ %\DeclareFontShape{U}{logo}{bx}{n}{%
683
+ % <5><6><7><8><9>%
684
+ % <10><10.95><12><14.4><17.28><20.74><24.88>logobf10}{}
685
+ %\DeclareFontShape{U}{logo}{m}{it}
686
+ % {<->ssub*logo/m/sl}{}
687
+ %\end{verbatim}
688
+ %
689
+ % $B$3$l$G<!$N$h$&$K$7$^$9!#(B
690
+ %
691
+ %\begin{verbatim}
692
+ % \DeclareRobustCommand{\MF}{{\fontfamily{logo}\selectfont META}\-%
693
+ % {\fontfamily{logo}\selectfont FONT}}
694
+ % \DeclareRobustCommand{\MP}{{\fontfamily{logo}\selectfont META}\-%
695
+ % {\fontfamily{logo}\selectfont POST}}
696
+ %\end{verbatim}
697
+ %
698
+ % $B$7$+$7$h$/D4$Y$F$_$?$iF1MM$J$b$N$,(B |mflogo.sty|$B!$(B|ulogo.fd|
699
+ % $B$H$7$FG[I[$5$l$F$$$^$7$?$N$G!$$=$A$i$r;H$&$3$H$K$7$^$9!#(B
700
+ %
701
+ % \section{$B$$$m$$$m$J4D6-(B}
702
+ %
703
+ % \begin{environment}{dangerous}
704
+ %
705
+ % $B;29M;v9`$r%a%bIw$KIU$1$k4D6-$G$9!#1tI.5-9f$r;H$&$h$&$K$7$^$7$?!#(B
706
+ %
707
+ % \begin{macrocode}
708
+ %\newcommand{\dangerouslabel}[1]{{%
709
+ % \setlength{\fboxsep}{1pt}%
710
+ % \fbox{\footnotesize\bfseries #1}}}
711
+ \newenvironment{dangerous}{%
712
+ \vspace{3pt}%
713
+ \begin{list}{\ding{"2E}}{%
714
+ % \let\makelabel=\dangerouslabel
715
+ \setlength{\leftmargin}{3zw}%
716
+ \setlength{\itemindent}{0pt}%
717
+ \setlength{\labelwidth}{2zw}%
718
+ \setlength{\labelsep}{6pt}%
719
+ \setlength{\rightmargin}{0pt}%
720
+ \setlength{\itemsep}{0.5\baselineskip}%
721
+ \setlength{\parsep}{0pt}%
722
+ \setlength{\topsep}{0.5\baselineskip}%
723
+ \setlength{\partopsep}{0pt}%
724
+ \setlength{\listparindent}{0zw}%
725
+ }\small}{\end{list}}
726
+ % \end{macrocode}
727
+ % \end{environment}
728
+ %
729
+ % \begin{environment}{namelist}
730
+ % |\begin{namelist}{xxxx} \item[...] ... \end{namelist}| $B$G(B
731
+ % $B8+=P$7$r(B |xxxx| $B$NI}$K$7$?%j%9%H$r:n$j$^$9!#(B
732
+ % \begin{macrocode}
733
+ % \newcommand{\namelistlabel}[1]{{#1}\ \dotfill\ }
734
+ \newcommand{\namelistlabel}[1]{\hspace{1zw}#1\hfil}
735
+ \newenvironment{namelist}[1]{%
736
+ \begin{list}{}{%
737
+ \let\makelabel=\namelistlabel
738
+ \settowidth{\labelwidth}{#1}%
739
+ \addtolength{\labelwidth}{2zw}%
740
+ \setlength{\leftmargin}{\labelwidth}%
741
+ \setlength{\labelsep}{0pt}%
742
+ }}{\end{list}}
743
+ % \end{macrocode}
744
+ % \end{environment}
745
+ %
746
+ % \begin{environment}{mybibliography}
747
+ %
748
+ % |thebibliography| $B$H$[$\F1$8;29MJ88%%j%9%H4D6-$G$9$,!$(B
749
+ % $B>O!J@a!K8+=P$7$r=PNO$;$:!$%+%&%s%?$r%j%;%C%H$7$^$;$s!#(B
750
+ % |thebibliography| $B$HF1$8(B |enumiv| $B$H$$$&%+%&%s%?$r;H$C$F$$$^$9$N$G!$(B
751
+ % $BI,MW$K1~$8$F(B
752
+ % \begin{quote}
753
+ % |\setcounter{enumiv}{0}|
754
+ % \end{quote}
755
+ % $B$H$7$F=i4|2=$7$F$/$@$5$$!#(B
756
+ %
757
+ % \begin{macrocode}
758
+ \newenvironment{mybibliography}[1]{%
759
+ \list{\@biblabel{\@arabic\c@enumiv}}%
760
+ {\settowidth\labelwidth{\@biblabel{#1}}%
761
+ \leftmargin\labelwidth
762
+ \advance\leftmargin\labelsep
763
+ \@openbib@code
764
+ \@nmbrlisttrue\def\@listctr{enumiv}%
765
+ \let\p@enumiv\@empty
766
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
767
+ \sloppy
768
+ \clubpenalty4000
769
+ \@clubpenalty\clubpenalty
770
+ \widowpenalty4000%
771
+ \sfcode`\.\@m}
772
+ {\def\@noitemerr
773
+ {\@latex@warning{Empty `mybibliography' environment}}%
774
+ \endlist}
775
+ % \end{macrocode}
776
+ % \end{environment}
777
+ %
778
+ % \begin{environment}{FRAME}
779
+ %
780
+ % $BOH$G$9!#(B
781
+ %
782
+ % \begin{macrocode}
783
+ \newenvironment{FRAME}{\begin{trivlist}\item[]
784
+ \hrule width\linewidth
785
+ \hbox to \linewidth\bgroup
786
+ \advance\linewidth by -30pt
787
+ \hsize=\linewidth
788
+ \vrule\hfill
789
+ \vbox\bgroup
790
+ \vskip15pt
791
+ \def\thempfootnote{\arabic{mpfootnote}}% $B5SCm$r;;MQ?t;z$K(B
792
+ \begin{minipage}{\linewidth}}{%
793
+ \end{minipage}\vskip15pt
794
+ \egroup\hfill\vrule
795
+ \egroup\hrule width\linewidth
796
+ \end{trivlist}}
797
+ \newcommand{\SHUTTEN}[1]{%
798
+ \par\nobreak\removelastskip\rightline{\small#1}\medbreak}
799
+ % \end{macrocode}
800
+ % \end{environment}
801
+ %
802
+ % \begin{environment}{screen}
803
+ %
804
+ % $B%9%/%j!<%sIw$N4D6-$G$9!#85$O(B |ascmac.sty| $B$K$"$C$?$N$@$H(B
805
+ % $B;W$$$^$9$,!$$+$J$j2~JQ$7$?$+$b$7$l$^$;$s!#(B
806
+ %
807
+ % |\begin{screen}[0.75]| $B$N$h$&$K%*%W%7%g%s$N?tCM$rM?$($k$H(B
808
+ % $B2#I}$r(B0.75$BG\$9$k$h$&$K$7$F$_$^$7$?!#(B
809
+ % $BG\N($,(B 1 $B0J30$N>l9g$O(B \texttt{graphicx} $B%Q%C%1!<%8$,I,MW$G$9!#(B
810
+ % $B2hLL=PNONc$,%3%i%`I}$rD6$($k>l9g$NBP=hK!$H$7$FM-8z$+$b$7$l$^$;$s!#(B
811
+ % $B$?$@!$(Bscreen$B4D6-$N:G=i$K(B |[| $B$,Mh$k>l9g$O8mF0:n$7$^$9$N$G!$(B|\relax|
812
+ % $B$+(B |{}| $B$rF~$l$F8mKb2=$7$F$/$@$5$$!#(B
813
+ %
814
+ % [2016-07-30] $B85$K$J$C$F$$$k(Bp\LaTeX $B$N(Bascmac$B%Q%C%1!<%8(B(tascmac.sty)$B$N(B
815
+ % screen$B4D6-$O!$%*%W%7%g%s0z?t$N?tCM$G3Q$N4]$_$NBg$-$5$r@0?tCM(B(0--8)$B$G;XDj$7(B
816
+ % $B$^$9$,!$(Bokumacro$B%Q%C%1!<%8$G$O2#$NG\N($r;XDj$9$k$H$$$&0c$$$,$"$j$^$9!#(B
817
+ % $BN>J}$N%Q%C%1!<%8$rFI$_9~$`>l9g$O!$8e$KFI$_9~$s$@$[$&$NDj5A$,>!$A$^$9!#(B
818
+ % screen$B4D6-$O!$(Bokumacro$B$,>!$D>l9g$K$O2#$NG\N($r;XDj$G$-$k(B
819
+ % $B%9%/%j!<%sIw$N4D6-$K$J$j$^$9$7!$(Bascmac$B$,>!$D>l9g$O3Q$N4]$_$r;XDj$G$-$k(B
820
+ % $B%9%/%j!<%sIw$N4D6-$K$J$j$^$9!#(B
821
+ %
822
+ % [2016-10-08] $B2hLL=PNONc$,%3%i%`I}$rD6$($k>l9g$NBP=hK!$H$7$F2#G\N(;XDj$N(B
823
+ % $B%*%W%7%g%s$rDI2C$7$^$7$?$,!$F1$8OHFb$K2~9T2DG=$JJ8>O$b4^$^$l$k>l9g$K(B
824
+ % $BOH$N1&C<$+$iN%$l$?IT<+A3$J0LCV!J2#G\N($r=L$a$J$$>l9g$KC<$K$"$?$C$F$$$?(B
825
+ % $B0LCV!K$G2~9T$7$F$$$^$7$?!#$3$l$r=$@5$7$^$7$?!#(B
826
+ %
827
+ % $B$^$?!$?7$?$K(Bokuscreen$B4D6-$rDI2C$7$^$9!#$3$l$O(Bascmac$B$H43>D$;$:!$>o$K2#$N(B
828
+ % $BG\N($r;XDj$G$-$k%9%/%j!<%sIw$N4D6-$K$J$j$^$9!#(B
829
+ %
830
+ % [2018-06-11] 2017/10/04$BHG$^$G$O!$OH$NCf?H$N?<$5$r9MN8$7$F$$$J$+$C$?$N$G!$(B
831
+ % $BI=(B(tabular)$B$d?<$5$N$"$k?t<0$r0O$`$HOH$+$i$O$_=P$7$F$$$^$7$?!#$3$NLdBj$r(B
832
+ % $B=$@5$7$^$7$?$,!$$J$k$Y$/4{B8J8=q$N%l%$%"%&%H$,JQ$o$i$J$$$h$&$K!$DL>o$N(B
833
+ % $B%F%-%9%H$N?<$5J,$@$10z$$$F$*$-$^$7$?!J(B|!| $B$H0u$r$D$1$?ItJ,!K!#(B
834
+ %
835
+ % \begin{macrocode}
836
+ \expandafter\ifx\csname ver@tascmac.sty\endcsname\relax
837
+ \newdimen\@scw
838
+ \newbox\scb@x
839
+ \fi
840
+ \newenvironment{okuscreen}[1][1]%
841
+ {\def\screensc@le{#1}\@scw=\linewidth \advance \@scw by -20pt
842
+ \dimen1=#1\p@\relax
843
+ \@tempcnta=\dimen1\relax
844
+ \@tempcntb=65536\relax
845
+ \divide\@scw by \@tempcnta
846
+ \multiply\@scw by \@tempcntb
847
+ \setbox\scb@x=\hbox\bgroup\begin{minipage}[b]{\@scw}}%
848
+ % $B$^$?$O(B \setbox\scb@x=\vbox\bgroup\advance \linewidth by -20pt \relax
849
+ {\end{minipage}\egroup
850
+ \dimen0=\linewidth \removept{\dimen0}{\hsPT}%
851
+ \divide \dimen0 by 2 \removept{\dimen0}{\hhsPT}%
852
+ \dimen0=\dp\scb@x \advance \dimen0 by 5pt
853
+ \advance \dimen0 by -.5\cdp %% !
854
+ \removept{\dimen0}{\hdxPT}%
855
+ \advance \dimen0 by \ht\scb@x \advance \dimen0 by 5pt
856
+ \advance \dimen0 by -.5\cdp %% !
857
+ \removept{\dimen0}{\htxPT}%
858
+ \begin{flushleft}
859
+ \vspace{6.5pt}%
860
+ \begin{picture}(\hsPT,\htxPT)
861
+ \put(\hhsPT,\htxPT){\oval(\hsPT,10)[t]}
862
+ \put(0,0){\line(0,1){\htxPT}}
863
+ \put(\hsPT,0){\line(0,1){\htxPT}}
864
+ \put(\hhsPT,0){\oval(\hsPT,10)[b]}
865
+ \put(10,\hdxPT){\ifdim\screensc@le pt=1pt \box\scb@x
866
+ \else\scalebox{\screensc@le}[1]{\box\scb@x}\fi}
867
+ \end{picture}%
868
+ \end{flushleft}}
869
+ \let\screen\okuscreen \let\endscreen\endokuscreen
870
+ % \end{macrocode}
871
+ % \end{environment}
872
+ %
873
+ % \begin{environment}{EXAMPLE}
874
+ %
875
+ % $B=PNONc$G$9!#$:$$$V$sA0$K:n$C$?$N$G!$:F8!F$$NMW$,$"$j$^$9!#(B
876
+ %
877
+ % \begin{macrocode}
878
+ \newdimen\EXAMPLEWIDTH
879
+ \newenvironment{EXAMPLE}{\begin{flushleft}\EXAMPLEWIDTH=\linewidth
880
+ }{\end{flushleft}}
881
+ \newenvironment{IN}{%
882
+ \makebox[35pt][l]{\small\fbox{$BF~NO(B}}%
883
+ \advance \linewidth by -35pt
884
+ \begin{minipage}[t]{\linewidth}}{%
885
+ \end{minipage}\\[6pt]}
886
+ \newenvironment{OUT}{%
887
+ \makebox[35pt][l]{\small\fbox{$B=PNO(B}}%
888
+ \advance \linewidth by -35pt
889
+ \begin{minipage}[t]{\linewidth}}{%
890
+ \end{minipage}}
891
+ \newcommand{\INEX}{\medbreak\noindent
892
+ \framebox[\columnwidth][l]{\small\hskip2zw $BF~NO(B}\nobreak
893
+ \begin{quote}\small}
894
+ \newcommand{\OUTEX}{\end{quote}
895
+ \framebox[\columnwidth][l]{\small\hskip2zw $B=PNO(B}\nobreak
896
+ \begin{quotation}\small}
897
+ \newcommand{\ENDEX}{\end{quotation}\bigbreak}
898
+ \newcommand{\ENDEXC}[1]{\end{quotation}\nobreak
899
+ \begin{flushright}\footnotesize#1\end{flushright}\bigbreak}
900
+ % \end{macrocode}
901
+ % \end{environment}
902
+ %
903
+ % \section{$B;((B}
904
+
905
+ % \begin{macro}{\whichpage}
906
+ %
907
+ % |\whichpage{$B;2>HL>(B}| $B$G!$$=$N%Z!<%8$,F1$8%Z!<%8$K$"$l$P2?$b=PNO$;$:!$(B
908
+ % $B$=$&$G$J$1$l$P!J<!%Z!<%8!K!JA0%Z!<%8!K!J(B123$B%Z!<%8!K$N$h$&$J7A<0$G(B
909
+ % $B>l=j$r=PNO$7$^$9!#(B
910
+ %
911
+ % \begin{macrocode}
912
+ \def\whichpage#1{%
913
+ \expandafter\ifx\csname r@#1\endcsname\relax
914
+ \else
915
+ \@tempcnta\pageref{#1}\relax
916
+ \advance\@tempcnta-\c@page
917
+ \ifnum\@tempcnta=0
918
+ \else
919
+ \ifnum\@tempcnta=1 $B!J<!%Z!<%8!K(B
920
+ \else
921
+ \ifnum\@tempcnta=-1 $B!JA0%Z!<%8!K(B
922
+ \else $B!J(B\pageref{#1}$B%Z!<%8!K(B
923
+ \fi
924
+ \fi
925
+ \fi
926
+ \fi}
927
+ % \end{macrocode}
928
+ % \end{macro}
929
+ %
930
+ % \begin{environment}{migiake}
931
+ %
932
+ % $B$4$/4JC1$J1&6u$1%3%^%s%I$G$9!#;H$C$F$$$^$;$s!#(B
933
+ %
934
+ % \begin{macrocode}
935
+ % \newenvironment{migiake}[1]{%
936
+ % \setlength{\rightskip}{#1}\samepage}{\par}
937
+ % \end{macrocode}
938
+ % \end{environment}
939
+ %
940
+ % \begin{macro}{\rightfig}
941
+ %
942
+ % $B$b$&>/$7$^$7$J1&6u$1$G$9!#(B
943
+ % |#1| $B$O6u$1I}(B, |#2| $B$O9T?t(B, |#3| $B$O?^$dI=$G$9!#(B
944
+ %
945
+ % \begin{macrocode}
946
+ % \def\rightfig#1#2#3{\noindent
947
+ % \dimen0=\baselineskip \multiply \dimen0 by #2
948
+ % \advance\dimen0 by -\baselineskip \advance\dimen0 by 2ex
949
+ % \hangindent=-#1 \hangafter=-#2
950
+ % \raise 2ex \hbox to 0pt{\smash{\vtop to \dimen0{\vfil
951
+ % \vbox{\hfill \hbox to #1{ \ \hfill #3}}\vfil
952
+ % }}\hss}\hskip\parindent\ignorespaces}
953
+ % \end{macrocode}
954
+ % \end{macro}
955
+ %
956
+ % $B4A;z$NI}$r(Btt$B%U%)%s%H(B2$BJ8;zJ,$K$7$^$9!#;H$C$F$$$^$;$s!#(B
957
+ %
958
+ % \begin{macrocode}
959
+ % \newcommand{\kanjitt}[1]{\texttt{\kanjiskip0.083595em\relax#1}}
960
+ % \end{macrocode}
961
+ %
962
+ % \begin{environment}{shadebox}
963
+ %
964
+ % $B1FIU$-$NH"$G$9!#(B|ascmac.sty| $B$+$i<h$j$^$7$?!#(B
965
+ %
966
+ % [2016-07-30] $B85$K$J$C$F$$$k(Bp\LaTeX $B$N(Bascmac$B%Q%C%1!<%8(B(tascmac.sty)$B$H(B
967
+ % $B>WFM$7$J$$$h$&$K!$?7$7$$;EMM$G$O!$(Bascmac$B$H(Bokumacro$B$NN>J}$rFI$_9~$`>l9g$K$O(B
968
+ % $B!V8e$KFI$_9~$s$@$[$&!W$,>!$A$^$9!#(B
969
+ %
970
+ % $B$^$?!$?7$?$K(Bokushadebox$B4D6-$rDI2C$7$^$9!#$3$l$O(Bascmac$B$H43>D$;$:!$>o$K(B
971
+ % okumacro$BN.$NDj5A$K$J$j$^$9!#(B
972
+ %
973
+ % \begin{macrocode}
974
+ \expandafter\ifx\csname ver@tascmac.sty\endcsname\relax
975
+ \newdimen\shaderule \shaderule 5\p@
976
+ \fi
977
+ \def\okushadebox{\dimen0\linewidth \advance\dimen0-20\p@
978
+ \advance\dimen0-2\fboxrule \advance\dimen0-\shaderule
979
+ \setbox\@tempboxa=\hbox\bgroup\minipage{\dimen0}}
980
+ \def\endokushadebox{\endminipage\egroup\dimen0=10\p@ \advance\dimen0-\fboxrule
981
+ \setbox\@tempboxa=\hbox{\kern\dimen0\unhbox\@tempboxa\kern\dimen0}%
982
+ \setbox0=\vbox{\hrule\@height \fboxrule
983
+ \hbox{\vrule\@width \fboxrule \hskip-\fboxrule
984
+ \vbox{\vskip\fboxsep \box\@tempboxa\vskip\fboxsep}%
985
+ \hskip-\fboxrule\vrule \@width \fboxrule}\hrule \@height \fboxrule}%
986
+ \dimen0=\ht0 \advance\dimen0-\shaderule
987
+ \hbox{\hbox to \shaderule{\copy0\hss}\kern \z@
988
+ \vrule\@width\wd0\@height\z@\@depth\shaderule\hskip-\shaderule
989
+ \vrule\@width\shaderule\@height\dimen0}}
990
+ \let\shadebox\okushadebox \let\endshadebox\endokushadebox
991
+ % \end{macrocode}
992
+ % \end{environment}
993
+ %
994
+ % \begin{environment}{sankou}
995
+ %
996
+ % $B;29M!J(Bdangerous bend $BIw!K$N4D6-$G$9!#(B
997
+ %
998
+ % \begin{macrocode}
999
+ \def\sankoumark{{\small $B!z(B}}
1000
+ \newenvironment{sankou}{\vspace{3pt}%
1001
+ \begin{list}{}{%
1002
+ \setlength{\leftmargin}{3zw}%
1003
+ \setlength{\itemindent}{0pt}%
1004
+ \setlength{\labelwidth}{2zw}%
1005
+ \setlength{\labelsep}{6pt}%
1006
+ \setlength{\rightmargin}{0pt}%
1007
+ \setlength{\itemsep}{0pt}%
1008
+ \setlength{\parsep}{0pt}%
1009
+ \setlength{\topsep}{0.5\baselineskip}%
1010
+ \setlength{\partopsep}{0pt}%
1011
+ \setlength{\listparindent}{0zw}%
1012
+ }\item[\sankoumark]\small}{\end{list}}
1013
+ % \end{macrocode}
1014
+ % \end{environment}
1015
+ %
1016
+ % \begin{environment}{toi}
1017
+ %
1018
+ % $BLd$$$N4D6-$G$9!#(B
1019
+ %
1020
+ % \begin{macrocode}
1021
+ \def\toimark{{\small\bf $B!ZLd![(B}}
1022
+ \newenvironment{toi}{\vspace{3pt}%
1023
+ \begin{list}{}{%
1024
+ \setlength{\leftmargin}{3zw}%
1025
+ \setlength{\itemindent}{0pt}%
1026
+ \setlength{\labelwidth}{2zw}%
1027
+ \setlength{\labelsep}{6pt}%
1028
+ \setlength{\rightmargin}{0pt}%
1029
+ \setlength{\itemsep}{0pt}%
1030
+ \setlength{\parsep}{3pt plus 1pt minus 1pt}%
1031
+ \setlength{\topsep}{3pt plus 1pt minus 1pt}%
1032
+ \setlength{\partopsep}{3pt plus 6pt minus 1pt}%
1033
+ \setlength{\listparindent}{0zw}%
1034
+ }\item[\toimark]\small}{\end{list}}
1035
+ % \end{macrocode}
1036
+ % \end{environment}
1037
+ %
1038
+ % $B1Q8lMQ$N9TAw$j$K@Z$jBX$($k%3%^%s%I$G$9$,!$;H$C$F$$$^$;$s!#(B
1039
+ %
1040
+ % \begin{macrocode}
1041
+ % \def\english{%
1042
+ % \ifx\@currsize\normalsize \fontsize{10}{12pt}\selectfont\else
1043
+ % \ifx\@currsize\small \fontsize{9}{11pt}\selectfont\else
1044
+ % \ifx\@currsize\footnotesize \fontsize{8}{9.5pt}\selectfont\fi\fi\fi}
1045
+ % \end{macrocode}
1046
+ %
1047
+ % \begin{macrocode}
1048
+ % \newcommand{\shima}{dvi\-out\slash dvi\-prt\index{dviout/dviprt}}
1049
+ \providecommand{\eps}{\varepsilon}
1050
+ % \newcommand{\zip}{$B")(B\kern0pt\relax}
1051
+ % \def\mathpalette#1#2{\mathchoice{#1\displaystyle{#2}}%
1052
+ % {#1\textstyle{#2}}{#1\scriptstyle{#2}}{#1\scriptscriptstyle{#2}}}
1053
+ % $B!e(B, $B!f!$!a$N>e2<$KE@(B
1054
+ \def\LEQQ{\mathrel{\mathpalette\gl@align<}}
1055
+ \def\GEQQ{\mathrel{\mathpalette\gl@align>}}
1056
+ \def\gl@align#1#2{\lower.6ex\vbox{\baselineskip\z@skip\lineskip\z@
1057
+ \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr}}}
1058
+ \def\APPROX{\mathrel{\mathpalette\ap@align{\smash.}}}
1059
+ \def\ap@align#1#2{\lower.2ex\vbox{\baselineskip\z@skip\lineskip\z@
1060
+ \def\finsm@sh{\ht\z@.2ex \dp\z@.2ex \box\z@}%
1061
+ \ialign{$\m@th#1\hfil##\hfil$\crcr#2\crcr=\crcr#2\crcr}}}
1062
+ %%% Fractions like 1/2 by DEK (TUGboat, 6(1):36, TeXbook (Excercise 11.6))
1063
+ \def\FRAC#1#2{\leavevmode\kern.1em
1064
+ \raise.5ex\hbox{\the\scriptfont0 #1}\kern-.1em
1065
+ /\kern-.15em\lower.25ex\hbox{\the\scriptfont0 #2}}
1066
+ \newcommand{\hk}{\hspace{\kanjiskip}}
1067
+ \newcommand{\hx}{\hspace{\xkanjiskip}}
1068
+ \newcommand{\3}{\penalty300 }
1069
+ \newcommand{\5}{\penalty50 } % \penalty\exhyphenpenalty
1070
+ % \end{macrocode}
1071
+ %
1072
+ % \begin{macro}{\>}
1073
+ % $BA43Q%3%s%^$ND>8e$KH>3QJ8;z$,Mh$?>l9g!$A43Q%3%s%^$N8e$KA^F~$7$F!$(B
1074
+ % $BH>3Q6uGr$HF1$8$@$1$N?-=L$r;}$?$;$k$?$a$N%0%k!<A^F~%3%^%s%I$G$9!#(B
1075
+ % $B;H$C$F$$$^$;$s!#(B
1076
+ % \begin{macrocode}
1077
+ % \newcommand{\>}{\relax
1078
+ % \ifmmode\mskip\medmuskip\else\hskip0em plus0.167em minus0.111em\fi}
1079
+ % \end{macrocode}
1080
+ % \end{macro}
1081
+ %
1082
+ % \begin{macro}{\ANGLE}
1083
+ % Angle brackets $B$G$9!#(B
1084
+ % \begin{macrocode}
1085
+ \newcommand{\ANGLE}[1]{%
1086
+ $\langle$\kern0pt\nobreak{#1}\kern0pt\nobreak$\rangle$}
1087
+ % \end{macrocode}
1088
+ % \end{macro}
1089
+ %
1090
+ % $BJ,?t4X78$G$9!#(B\texttt{amstex} $B%Q%C%1!<%8$G$b$[$\F1$8$b$N$,(B
1091
+ % $BDj5A$5$l$F$$$^$9$,!$(B\texttt{amstex} $B%Q%C%1!<%8$N(B |\cfrac| $B$G(B
1092
+ % $B$O(B |\mathstrut| $B$G$O$J$/(B |\strut| $B$,;H$o$l$F$$$k$?$a!$(B
1093
+ % $BOBJ8%9%?%$%k$G9TAw$j$,Bg$-$$>l9g$K$O!$$A$g$C$H4V1d$S$7$F$7$^$$$^$9!#(B
1094
+ % \begin{macrocode}
1095
+ % \providecommand{\tfrac}[2]{{\textstyle\frac{#1}{#2}}}
1096
+ % \providecommand{\dfrac}[2]{{\displaystyle\frac{#1}{#2}}}
1097
+ % \providecommand{\cfrac}[2]{\dfrac{\mathstrut #1}{#2}}
1098
+ % \end{macrocode}
1099
+ %
1100
+ % \begin{macro}{\dalembert}
1101
+ % D'Alembertian$B!J(B|\Box| $B$h$j>/!9Bg$-$$;M3Q!K$G$9!#(B
1102
+ % \begin{macrocode}
1103
+ % \newcommand{\dalembert}{{%
1104
+ % \setlength{\unitlength}{0.1em}%
1105
+ % \begin{picture}(8,8)
1106
+ % \thinlines
1107
+ % \put(1,0){\framebox(6,6){}}
1108
+ % \end{picture}}}
1109
+ % \end{macrocode}
1110
+ % \end{macro}
1111
+ %
1112
+ % \begin{macro}{\kanjibox}
1113
+ % $B4A;z$NBg$-$5$NH"$G$9!#;H$C$F$$$^$;$s!#(B
1114
+ % \begin{macrocode}
1115
+ % \newcommand{\kanjibox}{{\setlength{\unitlength}{0.1091175zw}%
1116
+ % \begin{picture}(9.62216,7.77588)\thinlines
1117
+ % \put(0,-1.38855){\framebox(9.16443,9.16443){}}\end{picture}}}
1118
+ % \end{macrocode}
1119
+ % \end{macro}
1120
+ %
1121
+ % Poor person's blackboard bold$B$G$9(B
1122
+ % \footnote{Robert Messer, ``Blackboard Bold.''
1123
+ % \textit{TUGboat} 9(1):19--20, 1988.}$B!#(B
1124
+ %
1125
+ % \begin{macro}{\R}
1126
+ % \begin{macro}{\C}
1127
+ % \begin{macrocode}
1128
+ % \def\R{{\rm I\kern-.17em R}} % (-.25em in the above literature)
1129
+ % \def\C{{\rm\kern.24em\vrule width.02em height1.4ex depth-.05ex\kern-.26em C}}
1130
+ % \end{macrocode}
1131
+ % \end{macro}
1132
+ % \end{macro}
1133
+ %
1134
+ % \begin{macro}{\$B3t(B}
1135
+ % \begin{macrocode}
1136
+ \newcommand{\$B3t(B}{\hspace{\kanjiskip}\<$B!J3t!K(B\<\hspace{\kanjiskip}}
1137
+ % \end{macrocode}
1138
+ % \end{macro}
1139
+ %
1140
+ % \begin{macro}{\CVS}
1141
+ %
1142
+ % CVS$BMQ!#(B
1143
+ %
1144
+ % \begin{macrocode}
1145
+ % \def\CVS$#1: #2 ${\expandafter\def\csname CVS#1\endcsname{#2}}
1146
+ % \end{macrocode}
1147
+ % \end{macro}
1148
+ %
1149
+ %\begin{verbatim}
1150
+ % \CVS$Revision: 1.7 $
1151
+ % \CVS$Date: 2000/06/09 05:55:02 $
1152
+ % $B$3$NJ8=q$N%P!<%8%g%s$O(B\CVSRevision $BHG$G$"$k!#(B
1153
+ %\end{verbatim}
1154
+ % $B$N$h$&$K;H$$$^$9!#(B
1155
+ %
1156
+ % [2003-02-16..17] |js*| $B%/%i%9$G?t<0$NA08e$N%9%Z!<%9$,<c43JQ$o$C$F$7$^$$$^$9!#(B
1157
+ % $B$H$j$"$($:(B |amsmath| $B$N(B |equation(*)|$B!$(B|align(*)| $B4D6-$NN`$@$1$3$3$GD>$7$F$*$-$^$9!#(B
1158
+ % $B$3$N$"$?$j$O$^$?8+D>$7$^$9!#(B
1159
+ %
1160
+ % \begin{macrocode}
1161
+ \@ifundefined{widebaselines}{}{%
1162
+ \let\endmathdisplaysave=\endmathdisplay
1163
+ \def\endmathdisplay{\widebaselines\endmathdisplaysave}}
1164
+ \let\start@alignsave=\start@align
1165
+ \def\start@align{\vspace{4pt}\start@alignsave}
1166
+ % \end{macrocode}
1167
+ %
1168
+ % $B0J>e$G=*$o$j$G$9!#(B
1169
+ %
1170
+ % \begin{macrocode}
1171
+ %</okumacro>
1172
+ \endinput
1173
+ % \end{macrocode}
1174
+ %
1175
+ % ^^A \endinput $B$N8e$K(B \CharacterTable $B$r=q$$$F$*$1$P!$;R%U%!%$%k$K$O(B
1176
+ % ^^A $B=PNO$5$l$^$;$s!#%A%'%C%/$O(B *.dtx $B$r=hM}$7$?$H$-$K$7$F$/$l$^$9!#(B
1177
+ % ^^A [2016-09-03] $B"*:o=|$7$^$7$?!#(B
1178
+ %
1179
+ % \Finale