10
|
1 % compsoft.sty 2009-06-27 by Hideya IWASAKI
|
|
2 % compsoft.sty last updated 2007-08-17 by Kazunori UEDA
|
|
3 % compsoft.sty ASCII-version modified 25-March-92 by N. YAMANOUCHI
|
|
4 % compsoft.sty 22-April-92 by Yasuki SAITO
|
|
5 % compsoft.sty 18-July-90 by Hideki ISOZAKI
|
|
6 % j-article.sty 10-Feb-89 from report.sty 16-Mar-88
|
|
7
|
|
8 \newif\ifASCII \ASCIIfalse
|
|
9 \ifx\jintercharskip\undefined\ASCIItrue\fi
|
|
10 \newif\if@LaTeX@e \@LaTeX@efalse % 1.06(1)
|
|
11 \newif\if@LaTeX@eN \@LaTeX@eNfalse % 2.00(1)
|
|
12 \def\@tempa{LaTeX2e} % 1.06(1)
|
|
13 \ifx\fmtname\@tempa \@LaTeX@etrue % 1.06(1)
|
|
14 \ifx\xpt\undefined \@LaTeX@eNtrue \fi\fi % 2.00(1)
|
|
15
|
|
16 \newif\if@hissha \@hisshafalse
|
|
17
|
|
18 \expandafter\ifx\csname ver@jssst.cls\endcsname\relax
|
|
19 \typeout{Document Style `compsoft' ascii version <23 Mar 92>.}
|
|
20 \fi
|
|
21
|
|
22 \if@LaTeX@e
|
|
23 \newdimen\@maxsep
|
|
24 \newdimen\@dblmaxsep
|
|
25 \fi
|
|
26
|
|
27 \def\ds@twoside{\@twosidetrue \@mparswitchtrue}
|
|
28 \def\ds@draft{\overfullrule5pt}
|
|
29
|
|
30 %\@options
|
|
31 % you must do this at the end, at least after def's of \ds@... for
|
|
32 % various \@maketitle
|
|
33
|
|
34 \ds@twoside
|
|
35
|
|
36 \if@LaTeX@e % 2.00(8)>>
|
|
37 \if@LaTeX@eN
|
|
38 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
|
|
39 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
|
|
40 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
|
|
41 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
|
|
42 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
|
|
43 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
|
|
44 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
|
|
45 \DeclareRobustCommand*{\cal}{\@fontswitch{\relax}{\mathcal}}
|
|
46 \DeclareRobustCommand*{\mit}{\@fontswitch{\relax}{\mathnormal}}
|
|
47 \ifASCII
|
|
48 \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
|
|
49 \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
|
|
50 \fi\fi
|
|
51 \ifASCII
|
|
52 \def\dm{\mc}
|
|
53 \def\dg{\gt}
|
|
54 \fi\fi % 2.00(8)<<
|
|
55
|
|
56 \ifASCII
|
|
57 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
58 % ascii-jtex.sty modified on 2/6/92 by N. Yamanouchi
|
|
59 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
60 % ascii-jtex.sty prepared by N. Yamanouchi (IBM/TRL) 12/04/91
|
|
61 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
62 %
|
|
63 % This style file is intended to absorb the difference between NTT
|
|
64 % JTex and ASCII JTeX for JSSST journal style files ``compsoft.sty''
|
|
65 % and ``compsoft9.sty''. The original information comes from the
|
|
66 % work of S. Tomura in ETL (marked as ST).
|
|
67 %
|
|
68
|
|
69 %
|
|
70 %dskfonts.sty begins %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
71 % dskfonts.sty modified on 6 Feb 92 by N. Yamanouchi
|
|
72 % dskfonts.sty prepared by N. Yamanouchi
|
|
73 %
|
|
74 %% dskfonts.sty is based on skfonts.sty.
|
|
75 %% skfonts.sty is for adjusting NTT-version of JSSST style file to
|
|
76 %% ASCII JTeX environment. skfonts.sty defines all CTS fonts, while
|
|
77 %% dskfonts.sty substitutes the fonts by regular fonts like min10/goth10.
|
|
78
|
|
79 %% Q数系のためのふたつのユニット
|
|
80 \newdimen \JQ \JQ .259817mm %%% \JQ/\Q = 10pt/9.62216pt
|
|
81 \newdimen \Q \Q .25mm %%% Quarter of 1mm
|
|
82
|
|
83 %% ベースラインスキップの値.
|
|
84 %% デフォルト値は21.5Q,Eronbun, Etokushuronbunでは17.5Q
|
|
85 %% に切り替える.
|
|
86 \newdimen\@Baseline
|
|
87 \@Baseline=21.5\Q
|
|
88
|
|
89
|
|
90 % フォントの再定義
|
|
91 % まず和文:
|
|
92 %\font\sevmin skhmnlaa at 8.5\JQ % 8.5Q 本蘭明朝 LHM
|
|
93 \font\sevmin min10 at 8.5\JQ % 8.5Q min10で仮想的に出力
|
|
94 %\font\sevgt skgotoaa at 8.5\JQ % 8.5Q 中太ゴシック DG-KL
|
|
95 \font\sevgt goth10 at 8.5\JQ % 8.5Q goth10で仮想的に出力
|
|
96 % \font\egtmin skhmnlaa at 10\JQ % 10Q 本蘭明朝 LHM
|
|
97 \font\egtmin min10 at 10\JQ % 10Q min10で仮想的に出力
|
|
98 % \font\egtgt skgotoaa at 10\JQ % 10Q 中太ゴシック DG-KL
|
|
99 \font\egtgt goth10 at 10\JQ % 10Q goth10で仮想的に出力
|
|
100 %\font\ninmin skhmnlaa at 11.5\JQ % 11.5Q 本蘭明朝 LHM
|
|
101 \font\ninmin min10 at 11.5\JQ % 11.5Q min10で仮想的に出力
|
|
102 %\font\ningt skgotoaa at 11.5\JQ % 11.5Q 中太ゴシック DG-KL
|
|
103 \font\ningt goth10 at 11.5\JQ % 11.5Q goth10で仮想的に出力
|
|
104 %\font\tenmin skhmnlaa at 13\JQ % 13Q 本蘭明朝 LHM
|
|
105 \font\tenmin min10 at 13\JQ % 13Q min10で仮想的に出力
|
|
106 %\font\tengt skgotoaa at 13\JQ % 13Q 中太ゴシック DG-KL
|
|
107 \font\tengt goth10 at 13\JQ % 13Q goth10で仮想的に出力
|
|
108
|
|
109 %\font\twlvgona sknagoaa at 16\JQ % 16Q ゴナD for 「チュートリアル」
|
|
110 \font\twlvgona goth10 at 16\JQ % 20Q min10で仮想的に出力 for「チュートリアル」
|
|
111
|
|
112 % \font\svtnmin skminsaa at 20\JQ % 20Q 太明朝 for author
|
|
113 \font\svtnmin min10 at 20\JQ % 20Q min10で仮想的に出力 for author
|
|
114
|
|
115 % \font\twtygt skgotsaa at 28\JQ % 28Q 太ゴシック for title
|
|
116 \font\twtygt goth10 at 28\JQ % 28Q goth10で仮想的に出力 for title
|
|
117
|
|
118 % 続いて欧文:
|
|
119 % プレロードされてるローマンフォントは数式の \textfont0 としても
|
|
120 % 使われるため、別名称でロードしてサイズ環境を操作するのが無難か?
|
|
121 %%\font\egtrm secntmm at 10\Q
|
|
122 %%\font\ninrm secntmm at 11.5\Q
|
|
123 %%\font\tenrm secntmm at 13\Q
|
|
124
|
|
125 %%\font\egtit secntmmi at 10\Q
|
|
126 %%\font\ninit secntmmi at 11.5\Q
|
|
127 %%\font\tenit secntmmi at 13\Q
|
|
128
|
|
129 %%\font\egtbf secntqm at 10\Q
|
|
130 %%\font\ninbf secntqm at 11.5\Q
|
|
131 %%\font\tenbf secntqm at 13\Q
|
|
132
|
|
133 %%\font\titleb sebdnqm at 28\Q % タイトル用ボドニボールド
|
|
134 \font\titleb min10 at 28\Q % タイトル用ボドニボールド
|
|
135
|
|
136 % 版面天地とパラメータの設定
|
|
137 %
|
|
138 % \textheight
|
|
139 % = \topskip + \baselineskip * 39 lines
|
|
140 % = 12Q + 21.5Q * 39 lines
|
|
141 % = 850.5Q
|
|
142
|
|
143 \headsep 15\Q % 正確な値ではない
|
|
144 \topskip 12\Q % 12Q より高い行はベースラインがずれる
|
|
145 \baselineskip \@Baseline % 11.5Q 行間 10Q
|
|
146 \lineskip 0pt
|
|
147 \lineskiplimit 0pt
|
|
148
|
|
149 \textheight 850.89\Q % 850.5Q (21.5Q * 39line + \topskip) の
|
|
150 % はずだが 40 行入らないため、すこしずつ
|
|
151 % 増やしてこの値になった
|
|
152
|
|
153 \maxdepth 5\Q %
|
|
154
|
|
155 %TI%% We don't need foot* because we don't use footer
|
|
156 %TI%\footskip 0pt
|
|
157 %TI%\footheight 0pt
|
|
158
|
|
159 \parindent1zw
|
|
160
|
|
161 %\parskip 0pt plus.001\Q % すべてのパラメータが決定できたら
|
|
162 % パラグラフ間にわずかの自由度を置きたい。
|
|
163 % テスト中は自由度はないほうがいい。
|
|
164
|
|
165 \kanjiskip 0pt plus .1zw minus 0.05zw
|
|
166 % 和文文字間は比較的自由度が大きい
|
|
167
|
|
168 %\overfullrule 10pt % 悪い部分は目立たせて直す
|
|
169
|
|
170 %
|
|
171 % 一部のマクロの再定義
|
|
172 %
|
|
173
|
|
174 % \def\@maketitle{\newpage \null
|
|
175 % \vbox to 235.2\Q{ %% 計算では 236.5Q のはずだが、、、
|
|
176 % \begin{flushleft}
|
|
177 % \rule{\textwidth}{1mm}%
|
|
178 % \vskip.7cm
|
|
179 % {\titleb\hskip 6.5mm
|
|
180 % \twtygt\@title\kanjiskip -3mm plus0mm minus0mm % 詰めたいのに詰らない、、、
|
|
181 % }
|
|
182 % \vskip.7cm
|
|
183 % \huge\hskip 6.5mm
|
|
184 % \begin{tabular}[t]{@{}l}\@author\end{tabular}
|
|
185 % \end{flushleft}
|
|
186 % \par
|
|
187 % \vss
|
|
188 % \hrule % height0pt %% 体裁が決まったら 0pt にする
|
|
189 % }}
|
|
190
|
|
191 % \long\def\@makecaption#1#2{ %% \vskip 10pt
|
|
192 % \setbox\@tempboxa\hbox{\small\bf\egtbf\egtgt~~#1~~#2~~}
|
|
193 % \ifdim \wd\@tempboxa >\hsize
|
|
194 % {\small\bf\egtbf\egtgt\setlength{\baselineskip}{12pt}
|
|
195 % \newbox\@tempboxb \setbox\@tempboxb\hbox{#1~~}
|
|
196 % \leftskip=15pt \hangindent=\wd\@tempboxb #1~~#2\par}
|
|
197 % \else \hbox to\hsize{\hfil\box\@tempboxa\hfil}
|
|
198 % \fi}
|
|
199
|
|
200 % \def\section{\@startsection{section}{1}{0\jspaceskip}
|
|
201 % {8\Q plus.1\Q minus.1\Q} % 上部グルー (経験値)
|
|
202 % {1.6\Q plus.1\Q minus.1\Q} % 下部グルー
|
|
203 % {\vrule width .4pt %% 体裁が決まったら 0pt にする。
|
|
204 % height 30\Q %% ページ頭で \topskip に届くように。
|
|
205 % depth 14\Q %% 本文の 1 行目に接するように。
|
|
206 % \font@s}}
|
|
207 %
|
|
208 % \def\subsection{\@startsection{subsection}{2}{\jspaceskip}
|
|
209 % {1\baselineskip plus.1\Q minus.1\Q}
|
|
210 % {0.1\Q plus.1\Q minus.1\Q}
|
|
211 % {\font@ss}}
|
|
212
|
|
213 %TI%\pagestyle{headings}
|
|
214 \flushbottom % ページ下端をそろえる
|
|
215 %dskfonts.sty ends %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
216 %---------------------------
|
|
217 % ``dskfonts.sty' uses CM and min** fonts for preminary printing.
|
|
218 % For production-run, use ``skfonts.sty'' instead of ``dskfonts.sty''.
|
|
219 %---------------------------
|
|
220
|
|
221 \let\sevendm=\sevmin %ST
|
|
222 \let\sevendg=\sevgt %ST
|
|
223 \let\eightdm=\egtmin %ST
|
|
224 \let\eightdg=\egtgt %ST
|
|
225 \let\ninedm=\ninmin %ST
|
|
226 \let\ninedg=\ningt %ST
|
|
227 \let\gona=\twlvgona % N. Yamanouchi for 「チュートリアル」
|
|
228
|
|
229 \if@LaTeX@e\else
|
|
230 \def\dm{\mc}\def\pdm{\pmc} %ST
|
|
231 \def\dg{\gt}\def\pdg{\pgt} %ST
|
|
232 \fi
|
|
233
|
|
234 \let\setjglues=\relax
|
|
235 \let\jintercharskip=\kanjiskip
|
|
236 \let\jasciikanjiskip=\xkanjiskip
|
|
237
|
|
238 \if@LaTeX@e\else
|
|
239 \def\dm{\mc}\def\pdm{\pmc} %ST
|
|
240 \def\dg{\gt}\def\pdg{\pgt} %ST
|
|
241 \fi
|
|
242
|
|
243 \def\defjintercharskip#1#2#3#4{
|
|
244 \fontdimen2#1=#2 %ST
|
|
245 \fontdimen3#1=#3 %ST
|
|
246 \fontdimen4#1=#4} %ST
|
|
247 \def\defjasciikanjiskip#1#2#3#4{% %ST
|
|
248 \fontdimen7#1=#2 %ST
|
|
249 \fontdimen7#1=#3 %ST
|
|
250 \fontdimen7#1=#4} %ST
|
|
251 \def\defmathkanjiskip#1#2#3#4{} %ST
|
|
252 \def\defjspaceskip#1#2#3#4{% %ST
|
|
253 \fontdimen6#1=#1} %ST
|
|
254 \let\setjglues=\relax %ST
|
|
255 \let\jintercharskip=\kanjiskip %ST
|
|
256 \let\jasciikanjiskip=\xkanjiskip %ST
|
|
257 \newdimen\jspaceskip %ST
|
|
258 \jspaceskip=2.875mm %yamanouchi% %ST
|
|
259 %%\jspaceskip=1zw %ST
|
|
260
|
|
261 \newdimen\jmathkanjiskip %yamanouchi 3/25/92%
|
|
262 \jmathkanjiskip=\kanjiskip %yamanouchi 3/25/92%
|
|
263 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
264 \fi
|
|
265
|
|
266 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
267 % compsoft9.sty ASCII version modified 25 March 1992 by N. YAMANOUCHI
|
|
268 % compsoft9.sty 23 March 1992 By Yasuki SAITO
|
|
269 % compsoft9.sty Apr. 24 '91 By Hideki ISOZAKI
|
|
270 % j-art10.sty 10-Feb-89 from art10.sty 22-Dec-87
|
|
271
|
|
272 % 1mm = 2.8452755905pt, 1pt = .3514598035mm, 1Q = 0.25mm = .7113188976pt
|
|
273 %
|
|
274 % For footnotesize
|
|
275 % depth_of_8pt_kanji = 1.4454pt
|
|
276 % height_of_8pt_kanji = 5.781592pt
|
|
277 % line = height_plus_depth_of_8pt_kanji = 7.226992pt = 2.53999mm ~= 10Q
|
|
278 % baselineskip = line + gap = 15Q = 3.75mm = 10.6697834645pt
|
|
279 % gap = baselineskip - line = 10.66978 - 7.226992 = 3.4427914645pt
|
|
280
|
|
281 % For references
|
|
282 % baselineskip = line + gap = 14.5Q = 3.625mm = 10.314124pt
|
|
283 % gap = baselineskip - line = 10.314124pt - 7.226992pt = 3.087132pt
|
|
284 % ~= 4.5Q = 1.125mm = 3.2009350393pt
|
|
285 % gap + depth = 3.087132 + 1.4454 = 4.532532pt
|
|
286
|
|
287 % For normalsize
|
|
288 % depth_of_9pt_kanji = 1.44539pt
|
|
289 % line = height_plus_depth_of_9pt_kanji = 8.1906pt
|
|
290 % ~= 11.5Q = 8.1801673228pt
|
|
291 % 212.5mm = 212.5mm * 72.27pt / 25.4mm = 604.62106299212598425196pt
|
|
292 % baselineskip = line + gap = 11.5Q + 10Q = 21.5Q = 15.2933562992pt
|
|
293 % gap = 21.5Q - line(8.1906pt) = 7.1027562992pt ~= 10Q = 7.1131889763pt
|
|
294 % gap + depth = 8.54815pt
|
|
295
|
|
296 \ifASCII\else
|
|
297 \newlength{\Q} \setlength{\Q}{0.25mm} % commented out for ASCII version
|
|
298 % by N. Yamanouchi
|
|
299 \let\kanjiskip=\jintercharskip
|
|
300 \let\xkanjiskip\jasciikanjiskip
|
|
301 \fi
|
|
302
|
|
303 \lineskip\z@ \normallineskip\z@ \jot\z@ \lineskiplimit\z@
|
|
304 \def\baselinestretch{1}
|
|
305
|
|
306 \if@LaTeX@e
|
|
307 \def\normalsize{\@setsize\normalsize{\@Baseline}\ixpt\@ixpt
|
|
308 %\renewcommand{\normalsize}{%
|
|
309 %\@setfontsize\normalsize{12\JQ}{21.5\Q}
|
|
310 \abovedisplayskip \z@\belowdisplayskip \abovedisplayskip
|
|
311 \abovedisplayshortskip \z@\belowdisplayshortskip\z@
|
|
312 \let\@listi\@listI}
|
|
313 \else
|
|
314 \def\@normalsize{\@setsize\normalsize{\@Baseline}\ixpt\@ixpt
|
|
315 \abovedisplayskip \z@\belowdisplayskip \abovedisplayskip
|
|
316 \abovedisplayshortskip \z@\belowdisplayshortskip\z@
|
|
317 \let\@listi\@listI}
|
|
318 \fi
|
|
319
|
|
320 \def\small{\@setsize\small{15\Q}\viiipt\@viiipt
|
|
321 %\newcommand{\small}{%
|
|
322 %\@setfontsize\normalsize{11\JQ}{15\Q}
|
|
323 \abovedisplayskip \z@\belowdisplayskip \abovedisplayskip
|
|
324 \abovedisplayshortskip \z@\belowdisplayshortskip\z@
|
|
325 \let\@listi\@listI}
|
|
326
|
|
327 \def\footnotesize{\@setsize\footnotesize{15\Q}\viiipt\@viiipt
|
|
328 %\newcommand{\footnotesize}{%
|
|
329 %\@setfontsize\normalsize{11\JQ}{15\Q}
|
|
330 \abovedisplayskip\z@\belowdisplayskip \abovedisplayskip
|
|
331 \abovedisplayshortskip \z@\belowdisplayshortskip\z@
|
|
332 \let\@listi\@listI}
|
|
333
|
|
334 \def\scriptsize{\@setsize\scriptsize{11pt}\vipt\@vipt}
|
|
335 \def\tiny{\@setsize\tiny{6pt}\vpt\@vpt}
|
|
336 \def\large{\@setsize\large{21.5\Q}\xpt\@xpt}% baselineskip=>normalsize
|
|
337 \def\Large{\@setsize\Large{20pt}\xiipt\@xiipt}
|
|
338 \def\LARGE{\@setsize\LARGE{25pt}\xivpt\@xivpt}
|
|
339 \def\huge{\@setsize\huge{30pt}\xviipt\@xviipt}
|
|
340 \def\Huge{\@setsize\Huge{35pt}\xxpt\@xxpt}
|
|
341
|
|
342 \@ifundefined{normalsize}{\let\normalsize\@Normalsize}
|
|
343
|
|
344 \normalsize
|
|
345 \oddsidemargin 0pt \evensidemargin 0pt
|
|
346 \advance\oddsidemargin-.5in
|
|
347 \advance\evensidemargin-.5in
|
|
348 \topmargin -25pt
|
|
349
|
|
350 \headheight 12.5\Q
|
|
351 \addtolength{\headheight}{0.1087pt}
|
|
352 % headheight was increased a little bit to avoid annoying overful vbox
|
|
353 % in sample.tex, but this also shifts entire headline upward a little bit.
|
|
354 % So, \headsep is decreased a little to compensate this.
|
|
355
|
|
356 \headsep 17\Q
|
|
357 \addtolength{\headsep}{-0.1087pt}
|
|
358
|
|
359 %\footskip 2\baselineskip % This isn't necessary, no foot in this style
|
|
360
|
|
361 \newdimen\@mojihaba
|
|
362 \settowidth{\@mojihaba}{あ}
|
|
363
|
|
364 \textheight = 212.5mm % for simple twocolumn setup
|
|
365
|
|
366 % topskip = line - depth_of_9pt_kanji
|
|
367 \topskip = 6.74521pt
|
|
368
|
|
369 % columnsep = 2\@mojihaba = 2*11.5Q = 23Q = 5.75mm = 16.3603346456pt
|
|
370 % ~= 8.1906pt * 2 = 16.3812pt
|
|
371 \columnsep 16.3812pt
|
|
372
|
|
373 \textwidth 50\jspaceskip
|
|
374 \advance\textwidth by \columnsep
|
|
375 \columnseprule 0pt
|
|
376
|
|
377 %% 15 Jul 2009 Iwasaki & Matsuzaki
|
|
378 \def\adjustAfour{%
|
|
379 \oddsidemargin210mm
|
|
380 \advance\oddsidemargin-\textwidth
|
|
381 \oddsidemargin.5\oddsidemargin
|
|
382 \advance\oddsidemargin-1in
|
|
383 \evensidemargin\oddsidemargin
|
|
384 \topmargin297mm
|
|
385 \advance\topmargin-\headheight
|
|
386 \advance\topmargin-\headsep
|
|
387 \advance\topmargin-\textheight
|
|
388 \topmargin.5\topmargin
|
|
389 \advance\topmargin-1in
|
|
390 }
|
|
391
|
|
392
|
|
393
|
|
394 %\footnotesep must be \baselineskip-\depth = 10.6697835pt-1.4454pt
|
|
395 % = 9.2243835pt, but this is too wide
|
|
396 %\footnotesep 9.2243835pt
|
|
397 %\footnotesep 7.226992pt % = line height
|
|
398 \footnotesep 8.672392pt % = line height + depth = 7.226992pt + 1.4454pt
|
|
399 % you want to make a gap between footnoterule and first footnote 2Q, but...
|
|
400 %\footnotesep 2\Q % This does not work! you must do something in \@makecol
|
|
401
|
|
402 %\skip\footins 10\Q plus 21.5\Q
|
|
403 \skip\footins 10\Q plus 11.5\Q minus 1\Q
|
|
404
|
|
405 \floatsep \baselineskip \textfloatsep \baselineskip
|
|
406 \intextsep \baselineskip \@maxsep \baselineskip
|
|
407 \dblfloatsep \baselineskip \dbltextfloatsep \baselineskip
|
|
408 \@dblmaxsep \baselineskip
|
|
409 \@fptop 0pt plus 1fil \@fpsep 0pt plus 2fil \@fpbot 0pt plus 1fil
|
|
410 \@dblfptop 0pt plus 1fil \@dblfpsep 0pt plus 2fil \@dblfpbot 0pt plus 1fil
|
|
411
|
|
412 \parskip\z@ \parindent \@mojihaba \partopsep\z@
|
|
413 \@lowpenalty 51 \@medpenalty 151 \@highpenalty 301
|
|
414 \@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
|
|
415 -\@lowpenalty
|
|
416
|
|
417
|
|
418
|
|
419 \def\section{\@startsection {section}{1}{\jspaceskip}{17.5\Q}{4\Q}{\font@s}}
|
|
420 \def\subsection
|
|
421 {\@startsection{subsection}{2}{\jspaceskip}{\baselineskip}{0.001pt}{\font@ss}}
|
|
422 \def\subsubsection
|
|
423 {\@startsection{subsubsection}{3}{\jspaceskip}{0.001pt}{0.001pt}{\font@sss}}
|
|
424 \def\paragraph{\@startsection
|
|
425 {paragraph}{4}{\jspaceskip}{0.001pt}{0.001pt}{\normalsize\bf}}
|
|
426 \def\subparagraph{\@startsection
|
|
427 {subparagraph}{5}{\jspaceskip}{\baselineskip}{0.001pt}{\normalsize\bf}}
|
|
428
|
|
429 \setcounter{secnumdepth}{5}
|
|
430
|
|
431 \def\appendix{\par
|
|
432 \setcounter{section}{0}
|
|
433 \setcounter{subsection}{0}
|
|
434 \def\thesection{\Alph{section}}}
|
|
435
|
|
436 \def\sectionfont#1#2#3{\gdef\font@s{#1}\gdef\font@ss{#2}\gdef\font@sss{#3}}
|
|
437 \sectionfont{\large\bf}{\normalsize\bf}{\normalsize\bf}
|
|
438
|
|
439
|
|
440
|
|
441 \leftmargini2\@mojihaba
|
|
442 \leftmarginii2\@mojihaba
|
|
443 \leftmarginiii2\@mojihaba
|
|
444 \leftmarginiv2\@mojihaba
|
|
445 \leftmarginv2\@mojihaba
|
|
446 \leftmarginvi2\@mojihaba
|
|
447 \leftmargin\leftmargini
|
|
448
|
|
449 \def\@listI{\leftmargin\leftmargini\parsep\z@\topsep\z@\itemsep\z@
|
|
450 \labelsep 0.75\@mojihaba % 3/4*\@mojihaba
|
|
451 \labelwidth=0.25\@mojihaba
|
|
452 %\itemindent=\@mojihaba
|
|
453 }
|
|
454 \let\@listi\@listI
|
|
455 %\@listi
|
|
456
|
|
457 \def\@listii{\leftmargin\leftmarginii
|
|
458 \labelsep 0.75\@mojihaba % 3/4*\@mojihaba
|
|
459 \labelwidth=0.25\@mojihaba
|
|
460 %\itemindent=\@mojihaba
|
|
461 \topsep\z@ \parsep\z@ \itemsep\parsep}
|
|
462
|
|
463 \def\@listiii{\leftmargin\leftmarginiii
|
|
464 \labelsep 0.75\@mojihaba % 3/4*\@mojihaba
|
|
465 \labelwidth=0.25\@mojihaba
|
|
466 %\itemindent=\@mojihaba
|
|
467 \topsep\z@ \parsep\z@ \itemsep\topsep}
|
|
468
|
|
469 \def\@listiv{\leftmargin\leftmarginiv
|
|
470 \labelsep 0.75\@mojihaba % 3/4*\@mojihaba
|
|
471 \labelwidth=0.25\@mojihaba
|
|
472 %\itemindent=\@mojihaba
|
|
473 }
|
|
474
|
|
475 \def\@listv{\leftmargin\leftmarginv
|
|
476 \labelsep 0.75\@mojihaba % 3/4*\@mojihaba
|
|
477 \labelwidth=0pt%
|
|
478 %\itemindent=\@mojihaba
|
|
479 }
|
|
480
|
|
481 \def\@listvi{\leftmargin\leftmarginvi
|
|
482 \labelsep 0.75\@mojihaba % 3/4*\@mojihaba
|
|
483 \labelwidth=0pt%
|
|
484 %\itemindent=\@mojihaba
|
|
485 }
|
|
486
|
|
487 % 2009/12/03 Iwasaki
|
|
488 % It seems that the \labelsep parameter has to be set as a moderate
|
|
489 % positive dimension value to make environments defined by \newtheorem
|
|
490 % correctly work.
|
|
491 % Without the following line, \labelsep's value is 0.0pt, which causes
|
|
492 % no space between a theorem number and the first word of the theorem.
|
|
493 \labelsep 5.0pt
|
|
494
|
|
495
|
|
496
|
|
497 %% JTeX glues
|
|
498
|
|
499 \ifASCII
|
|
500 \defjintercharskip{\ninedm}{0pt}{1.8pt}{0.18pt}
|
|
501 \defjintercharskip{\ninedg}{0pt}{1.8pt}{0.18pt}
|
|
502 \defjintercharskip{\eightdm}{0pt}{1.5pt}{0.15pt}
|
|
503 \defjintercharskip{\eightdg}{0pt}{1.5pt}{0.15pt}
|
|
504 \defjintercharskip{\sevendm}{0pt}{1.4pt}{0.14pt}
|
|
505 \defjintercharskip{\sevendg}{0pt}{1.4pt}{0.14pt}
|
|
506
|
|
507 \setjglues
|
|
508 \fi
|
|
509 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
510
|
|
511
|
|
512
|
|
513 \def\labelenumi{\theenumi.}
|
|
514 \def\theenumi{\arabic{enumi}}
|
|
515 \def\labelenumii{(\theenumii)}
|
|
516 \def\theenumii{\alph{enumii}}
|
|
517 \def\p@enumii{\theenumi}
|
|
518 \def\labelenumiii{\theenumiii.}
|
|
519 \def\theenumiii{\roman{enumiii}}
|
|
520 \def\p@enumiii{\theenumi(\theenumii)}
|
|
521 \def\labelenumiv{\theenumiv.}
|
|
522 \def\theenumiv{\Alph{enumiv}}
|
|
523 \def\p@enumiv{\p@enumiii\theenumiii}
|
|
524
|
|
525 \def\labelitemi{$\bullet$}
|
|
526 \def\labelitemii{\bf --}
|
|
527 \def\labelitemiii{$\ast$}
|
|
528 \def\labelitemiv{$\cdot$}
|
|
529
|
|
530 \def\verse{\let\\=\@centercr
|
|
531 \list{}{\itemsep\z@ \itemindent -1.5em\listparindent \itemindent
|
|
532 \rightmargin\leftmargin\advance\leftmargin 1.5em}\item[]}
|
|
533 \let\endverse\endlist
|
|
534 \def\quotation{\list{}{\listparindent 1.5em
|
|
535 \itemindent\listparindent
|
|
536 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
|
|
537 \let\endquotation=\endlist
|
|
538 \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
|
|
539 \let\endquote=\endlist
|
|
540 \def\abstquotation{\list{}{\listparindent 1.5em
|
|
541 \itemindent\listparindent
|
|
542 \leftmargin 5mm
|
|
543 \rightmargin\leftmargin \parsep 0pt plus 1pt}\item[]}
|
|
544 \let\endabstquotation=\endlist
|
|
545 \def\quote{\list{}{\rightmargin\leftmargin}\item[]}
|
|
546 \let\endquote=\endlist
|
|
547
|
|
548
|
|
549 %\def\descriptionlabel#1{\hspace\labelsep \bf #1}
|
|
550 \def\descriptionlabel#1{\bf #1}
|
|
551 \def\description{\list{}{\labelwidth\z@ %\itemindent-\leftmargin
|
|
552 %\itemindent=\@mojihaba
|
|
553 \labelsep=0.75\@mojihaba %
|
|
554 \let\makelabel\descriptionlabel}}
|
|
555 \let\enddescription\endlist
|
|
556
|
|
557 \def\enumerate{\ifnum \@enumdepth >3 \@toodeep\else
|
|
558 \advance\@enumdepth \@ne
|
|
559 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\list
|
|
560 {\csname label\@enumctr\endcsname}{\usecounter
|
|
561 {\@enumctr}\def\makelabel##1{##1\hss}}\fi}
|
|
562
|
|
563 \let\endenumerate =\endlist
|
|
564
|
|
565 \def\itemize{\ifnum \@itemdepth >3 \@toodeep\else \advance\@itemdepth \@ne
|
|
566 \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
|
|
567 \list{\csname\@itemitem\endcsname}{\def\makelabel##1{##1\hss}}\fi}
|
|
568
|
|
569 \let\enditemize =\endlist
|
|
570
|
|
571
|
|
572
|
|
573
|
|
574
|
|
575 \def\theequation{\arabic{equation}}
|
|
576
|
|
577 \arraycolsep 5pt \tabcolsep 6pt \arrayrulewidth .4pt \doublerulesep 2pt
|
|
578 \tabbingsep \labelsep
|
|
579
|
|
580 \skip\@mpfootins = \skip\footins
|
|
581 \fboxsep = 3pt \fboxrule = .4pt
|
|
582
|
|
583
|
|
584
|
|
585 \newcounter{part}
|
|
586 \newcounter{section}
|
|
587 \newcounter{subsection}[section]
|
|
588 \newcounter{subsubsection}[subsection]
|
|
589 \newcounter{paragraph}[subsubsection]
|
|
590 \newcounter{subparagraph}[paragraph]
|
|
591
|
|
592 \def\thepart{\Roman{part}} \def\thesection {\arabic{section}}
|
|
593 \def\thesubsection {\thesection.\,\arabic{subsection}}
|
|
594 \def\thesubsubsection {\thesubsection.\,\arabic{subsubsection}}
|
|
595 \def\theparagraph {\thesubsubsection.\,\arabic{paragraph}}
|
|
596 \def\thesubparagraph {\theparagraph.\,\arabic{subparagraph}}
|
|
597
|
|
598
|
|
599
|
|
600 % Do not delete BEFORESKIP even if \section is on top of page
|
|
601 % Is this functioning?
|
|
602 % \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
|
|
603 \def\@startsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi
|
|
604 \par \@tempskipa #4\relax
|
|
605 \@afterindenttrue
|
|
606 \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi
|
|
607 \@minipagefalse % this line is added by Hiroshi Nakashima
|
|
608 \if@nobreak \everypar{}\else
|
|
609 \addpenalty{\@secpenalty}%
|
|
610 \ifnum#2=\@ne%\message{topskip=\the\topskip,beforeskip=\the\@tempskipa}
|
|
611 %\message{prevdepth=\the\prevdepth}%
|
|
612 \ifdim\prevdepth=0pt\vspace*{-21.5\Q}\else\vskip-\prevdepth\fi
|
|
613 %\vspace{-\prevdepth} % seems to be the same as above, but does not work!!
|
|
614 % \advance\@tempskipa-17.5\Q \addvspace{17.5\Q}
|
|
615 % 13.89347pt = 17.5Q + depth(1.44539pt)
|
|
616 \advance\@tempskipa-13.89347pt \addvspace{13.89347pt}
|
|
617 \vspace*{\@tempskipa}%
|
|
618 \else\addvspace{\@tempskipa}\fi\fi \@ifstar
|
|
619 {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
|
|
620
|
|
621 % to include section/subsection title modification
|
|
622 \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
|
|
623 \def\@svsec{}\else
|
|
624 % \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 1em }\fi
|
|
625 \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip\@mojihaba}\fi
|
|
626 \@tempskipa #5\relax
|
|
627 \ifdim \@tempskipa>\z@
|
|
628 \begingroup #6\relax
|
|
629 \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M\@mojidori{#8}\par}%
|
|
630 \endgroup
|
|
631 \csname #1mark\endcsname{#7}\addcontentsline
|
|
632 {toc}{#1}{\ifnum #2>\c@secnumdepth \else
|
|
633 \protect\numberline{\csname the#1\endcsname}\fi
|
|
634 #7}\else
|
|
635 \def\@svsechd{#6\hskip #3\@svsec #8\csname #1mark\endcsname
|
|
636 {#7}\addcontentsline
|
|
637 {toc}{#1}{\ifnum #2>\c@secnumdepth \else
|
|
638 \protect\numberline{\csname the#1\endcsname}\fi
|
|
639 #7}}\fi
|
|
640 \@xsect{#5}}
|
|
641
|
|
642 \def\@ssect#1#2#3#4#5{\@tempskipa #3\relax
|
|
643 \ifdim \@tempskipa>\z@
|
|
644 \begingroup #4\@hangfrom{\hskip #1}{\interlinepenalty \@M\@mojidori{#5}\par}\endgroup
|
|
645 \else \def\@svsechd{#4\hskip #1\relax #5}\fi
|
|
646 \@xsect{#3}}
|
|
647
|
|
648 \newlength\@currentmojihaba
|
|
649
|
|
650 \def\@mojidori#1{\setbox0\hbox{#1}\settowidth{\@currentmojihaba}{あ}%
|
|
651 \ifdim\wd0>5\@currentmojihaba #1\else%
|
|
652 \ifdim\wd0=2\@currentmojihaba {\jasciikanjiskip=2\@currentmojihaba%
|
|
653 \jmathkanjiskip=2\@currentmojihaba%
|
|
654 \jintercharskip=2\@currentmojihaba #1}\else%
|
|
655 {\jasciikanjiskip=0.2\@currentmojihaba%
|
|
656 \jmathkanjiskip=0.2\@currentmojihaba%
|
|
657 \jintercharskip=0.2\@currentmojihaba #1}\fi\fi}
|
|
658
|
|
659
|
|
660 \newlength\twodigits
|
|
661
|
|
662 \newbox\bibbox
|
|
663 \setbox\bibbox=\hbox{{999}}{\relax}
|
|
664 \def\@biblabel#1{\hbox to\wd\bibbox{{[\hss#1\hss]}}}
|
|
665
|
|
666 \def\thebibliography#1{\subsection*{\refname\@mkboth{\refname}{\refname}}%
|
|
667 \vskip7\Q % = 21.5\Q - 14.5\Q (the difference in two baselineskips)
|
|
668 \settowidth\twodigits{#1}\list
|
|
669 {~~[\hbox to \twodigits{\hss\arabic{enumi}\hss}]}
|
|
670 {\setlength\labelwidth{10\Q}\leftmargin\labelwidth\labelsep\labelwidth
|
|
671 \advance\leftmargin\labelsep
|
|
672 \itemindent=0pt
|
|
673 \usecounter{enumi}\footnotesize\baselineskip=14.5\Q}
|
|
674 \def\newblock{\hskip .11em plus .33em minus .07em}
|
|
675 \sloppy\clubpenalty4000\widowpenalty4000
|
|
676 \sfcode`\.=1000\relax}
|
|
677 \let\endthebibliography=\endlist
|
|
678
|
|
679 \def\refname{参 考 文 献} % will be changed in English articles
|
|
680
|
|
681
|
|
682
|
|
683 \newif\if@restonecol
|
|
684 \def\theindex{\@restonecoltrue\if@twocolumn\@restonecolfalse\fi
|
|
685 \columnseprule \z@
|
|
686 \columnsep 35pt\twocolumn[\section*{\indexname}]
|
|
687 \@mkboth{\indexname}{\indexname}\thispagestyle{plain}\parindent\z@
|
|
688 \parskip\z@ plus .3pt\relax\let\item\@idxitem}
|
|
689 \def\@idxitem{\par\hangindent 40pt}
|
|
690 \def\subitem{\par\hangindent 40pt \hspace*{20pt}}
|
|
691 \def\subsubitem{\par\hangindent 40pt \hspace*{30pt}}
|
|
692 \def\endtheindex{\if@restonecol\onecolumn\else\clearpage\fi}
|
|
693 \def\indexspace{\par \vskip 10pt plus 5pt minus 3pt\relax}
|
|
694
|
|
695
|
|
696
|
|
697 % You may need to change following parameters
|
|
698 \setcounter{topnumber}{4} \def\topfraction{.9}
|
|
699 \setcounter{bottomnumber}{4} \def\bottomfraction{.9}
|
|
700 \setcounter{totalnumber}{8}
|
|
701 \def\textfraction{.1}
|
|
702 \def\floatpagefraction{.9}
|
|
703 \setcounter{dbltopnumber}{4} \def\dbltopfraction{.9}
|
|
704 \def\dblfloatpagefraction{.9}
|
|
705
|
|
706 % You cannot handle double column bottom figures yet!!!
|
|
707
|
|
708 \newskip\@beforecaptionskip
|
|
709 \newskip\@aftercaptionskip
|
|
710 % initial default values for under caption
|
|
711 \@beforecaptionskip=10\Q \@aftercaptionskip=0pt
|
|
712
|
|
713 % addcontentsline is omitted to allow `\\' containing argument
|
|
714 \long\def\@caption#1[#2]#3{\par\begingroup
|
|
715 \@parboxrestore
|
|
716 % \normalsize
|
|
717 \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
|
|
718 \endgroup}
|
|
719
|
|
720 \newbox\@tempboxb
|
|
721 % following makecaption is for under caption.
|
|
722 % you may need to define another makecaption for over caption!!
|
|
723 \long\def\@makecaption#1#2{\vskip\@beforecaptionskip
|
|
724 \setbox\@tempboxa\hbox{\footnotesize\bf #1\hskip\jspaceskip #2}
|
|
725 \ifdim \wd\@tempboxa >\hsize
|
|
726 \begin{center}
|
|
727 % \setbox\@tempboxb\hbox{\footnotesize\bf #1\hskip\jspaceskip}
|
|
728 % \hangindent=\wd\@tempboxb \hangafter=1
|
|
729 {\footnotesize\bf #1\hskip\jspaceskip #2}\par
|
|
730 \end{center}
|
|
731 \else
|
|
732 \hbox to\hsize{\hfil\box\@tempboxa\hfil}
|
|
733 % \center{\footnotesize\bf #1\hskip\jspaceskip #2}
|
|
734 \fi\vskip\@aftercaptionskip}
|
|
735
|
|
736 \newcounter{figure}
|
|
737 \def\thefigure{\@arabic\c@figure}
|
|
738 \def\fps@figure{tbp}
|
|
739 \def\ftype@figure{1}
|
|
740 \def\ext@figure{lof}
|
|
741 \def\fnum@figure{\figurename \thefigure}
|
|
742 \def\figure{\bgroup\@beforecaptionskip=10\Q\@aftercaptionskip=0pt\@float{figure}}
|
|
743 \def\endfigure{\end@float\egroup}
|
|
744 \@namedef{figure*}{\bgroup\@beforecaptionskip=10\Q\@aftercaptionskip=0pt\@dblfloat{figure}}
|
|
745 \@namedef{endfigure*}{\end@dblfloat\egroup}
|
|
746
|
|
747 \newcounter{table}
|
|
748 \def\thetable{\@arabic\c@table}
|
|
749 \def\fps@table{tbp}
|
|
750 \def\ftype@table{2}
|
|
751 \def\ext@table{lot}
|
|
752 \def\fnum@table{\tablename \thetable}
|
|
753 \def\table{\bgroup\@beforecaptionskip=0pt\@aftercaptionskip=7\Q\@float{table}}
|
|
754 \def\endtable{\end@float\egroup}
|
|
755 \@namedef{table*}{\bgroup\@beforecaptionskip=0pt\@aftercaptionskip=7\Q\@dblfloat{table}}
|
|
756 \@namedef{endtable*}{\end@dblfloat\egroup}
|
|
757
|
|
758 % height adjustment code insertion into float ending routines
|
|
759 \newdimen\@floatheight
|
|
760 \newcount\@floatlinecount
|
|
761
|
|
762 \def\end@float{\par\vskip\z@\egroup %% \par\vskip\z@ added 15 Dec 87
|
|
763 \color@endbox
|
|
764 \@floatheight=\ht\@currbox
|
|
765 \advance\@floatheight \dp\@currbox
|
|
766 \divide\@floatheight\baselineskip \@floatlinecount=\@floatheight
|
|
767 \advance\@floatlinecount\@ne
|
|
768 \@floatheight=\@floatlinecount\baselineskip
|
|
769 %\fboxrule=0.01pt\fboxsep=0pt% for debugging
|
|
770 %\global\setbox\@currbox=\hbox{\fbox{\vbox to\@floatheight{\vfil\copy\@currbox\vfil}}}%
|
|
771 \global\setbox\@currbox=\vbox to\@floatheight{\vfil\copy\@currbox\vfil}%
|
|
772 \ifnum\@floatpenalty <\z@
|
|
773 \@cons\@currlist\@currbox
|
|
774 \ifdim \ht\@currbox >\textheight
|
|
775 \ht\@currbox\textheight \fi
|
|
776 \ifnum\@floatpenalty < -\@Mii
|
|
777 \penalty -\@Miv
|
|
778 \@tempdima\prevdepth %% saving and restoring \prevdepth added
|
|
779 \vbox{} %% 26 May 87 to prevent extra vertical
|
|
780 \prevdepth \@tempdima %% space when used in vertical mode
|
|
781 \penalty\@floatpenalty
|
|
782 \else \vadjust{\penalty -\@Miv \vbox{}\penalty\@floatpenalty}\@esphack
|
|
783 \fi\fi}
|
|
784
|
|
785 \def\end@dblfloat{\if@twocolumn
|
|
786 \par\vskip\z@\egroup %% \par\vskip\z@ added 15 Dec 87\egroup
|
|
787 \color@endbox
|
|
788 \@floatheight=\ht\@currbox
|
|
789 \advance\@floatheight \dp\@currbox
|
|
790 \divide\@floatheight\baselineskip \@floatlinecount=\@floatheight
|
|
791 \advance\@floatlinecount\@ne
|
|
792 \@floatheight=\@floatlinecount\baselineskip
|
|
793 %\fboxrule=0.01pt\fboxsep=0pt% for debugging
|
|
794 %\global\setbox\@currbox=\hbox{\fbox{\vbox to\@floatheight{\vfil\copy\@currbox\vfil}}}%
|
|
795 \global\setbox\@currbox=\vbox to\@floatheight{\vfil\copy\@currbox\vfil}%
|
|
796 \ifnum\@floatpenalty <\z@ \@cons\@dbldeferlist\@currbox\fi
|
|
797 \ifnum \@floatpenalty =-\@Mii \@esphack\fi\else\end@float\fi}
|
|
798
|
|
799
|
|
800
|
|
801 \def\maketitle{\par
|
|
802 \begingroup
|
|
803 \def\thefootnote{}%
|
|
804 \def\@makefnmark{}%
|
|
805 \if@twocolumn
|
|
806 \twocolumn[\@maketitle]
|
|
807 \else \newpage
|
|
808 \global\@topnum\z@ \@maketitle \fi\thispagestyle{plain}\@thanks
|
|
809 \endgroup
|
|
810 \setcounter{footnote}{0}
|
|
811
|
|
812 \thispagestyle{myheadings} % to avoid running head on title page
|
|
813 \if@hissha
|
|
814 \thispagestyle{hisshatop}
|
|
815 \fi
|
|
816 \let\maketitle\relax
|
|
817 \let\@maketitle\relax
|
|
818 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
|
|
819
|
|
820 \newbox\@temptitlebox
|
|
821
|
|
822 % abstract
|
|
823
|
|
824 \long\def\Jabstract#1{\global\long\def\Jabstcontent{\noindent\ignorespaces #1}}
|
|
825 \long\def\Eabstract#1{\global\long\def\Eabstcontent{\noindent\ignorespaces #1}}
|
|
826 \def\Jabstcontent{\relax}
|
|
827 \def\Eabstcontent{\relax}
|
|
828 \def\JEabstInsert{%
|
|
829 \begin{adjustvboxheight}\vfill
|
|
830 \begin{small}
|
|
831 \begin{abstquotation}
|
|
832 \Jabstcontent
|
|
833 \par\hbox{ }\par
|
|
834 \Eabstcontent
|
|
835 \end{abstquotation}
|
|
836 \end{small}\vskip8mm
|
|
837 \end{adjustvboxheight}}
|
|
838 \def\EabstInsert{%
|
|
839 \begin{adjustvboxheight}\vfill
|
|
840 \begin{small}
|
|
841 \begin{abstquotation}
|
|
842 \Eabstcontent
|
|
843 \end{abstquotation}
|
|
844 \end{small}\vskip8mm
|
|
845 \end{adjustvboxheight}}
|
|
846
|
|
847 \def\Jarticle{%
|
|
848 \global\def\@maketitle{\newpage \null
|
|
849 \hbox{\vbox to193.5\Q{\baselineskip=10mm % 193.5\Q = 9*\baselineskip
|
|
850 \begin{flushleft}
|
|
851 \JarticleHeader
|
|
852 % following extra vskip together with baselineskip(10mm) will produce
|
|
853 % appropriate 10mm/6mm gap between the rule and title
|
|
854 % This assumes that title is typeset with 28Q(7mm) font, and baseline
|
|
855 % is set 1mm above the bottom of the font.
|
|
856 \setbox\@temptitlebox\hbox{JarticleTitle}\ifdim\wd\@temptitlebox>\textwidth\vskip2mm\else\vskip6mm\fi
|
|
857 \leftskip=5mm
|
|
858 \JarticleTitle
|
|
859 \vskip6mm % to leave 10mm gap between title and author
|
|
860 \JarticleAuthor
|
|
861 \end{flushleft}\vfil}}
|
|
862 \JEabstInsert
|
|
863 }}
|
|
864
|
|
865 \def\Earticle{%
|
|
866 \def\refname{References}%
|
|
867 \def\tablename{Table~}
|
|
868 \def\figurename{Fig.~}
|
|
869 \global\def\@maketitle{\newpage \null
|
|
870 \hbox{\vbox to193\Q{\baselineskip=8mm % 193.5\Q = 9*\baselineskip
|
|
871 \begin{flushleft}
|
|
872 \EarticleHeader
|
|
873 % following extra vskip together with baselineskip(8mm) will produce
|
|
874 % appropriate 10mm/6mm gap between the rule and title
|
|
875 % This assumes that title is typeset with 28Q(7mm) font, and baseline
|
|
876 % is set 1mm above the bottom of the font.
|
|
877 \setbox\@temptitlebox\hbox{EarticleTitle}\ifdim\wd\@temptitlebox>\textwidth\vskip4mm\else\vskip8mm\fi
|
|
878 \leftskip=5mm
|
|
879 \EarticleTitle
|
|
880 \vskip6mm % to leave 10mm gap between title and author
|
|
881 \EarticleAuthor
|
|
882 \end{flushleft}\vfil}}
|
|
883 \EabstInsert
|
|
884 }
|
|
885 \@Baseline=17.5\Q}
|
|
886
|
|
887 \def\JarticleWithoutAbst{%
|
|
888 \global\def\@maketitle{\newpage \null
|
|
889 \hbox{\vbox to193.5\Q{\baselineskip=10mm % 193.5\Q = 9*\baselineskip
|
|
890 \begin{flushleft}
|
|
891 \JarticleHeader
|
|
892 \setbox\@temptitlebox\hbox{JarticleTitle}\ifdim\wd\@temptitlebox>\textwidth\vskip2mm\else\vskip6mm\fi
|
|
893 \leftskip=5mm
|
|
894 \JarticleTitle
|
|
895 \vskip6mm % to leave 10mm gap between title and author
|
|
896 \JarticleAuthor
|
|
897 \end{flushleft}\vfil}}}}
|
|
898
|
|
899 \def\leaderfill{\leaders\hbox{\rule{1mm}{1mm}}\hfill}
|
|
900 \def\leaderfillB{\leaders\hbox to1mm{%
|
|
901 \vbox{\rule{1mm}{0.1mm}\vskip0.4mm
|
|
902 \rule{1mm}{0.1mm}\vskip0.4mm
|
|
903 \rule{1mm}{0.1mm}\vskip0.4mm
|
|
904 \rule{1mm}{0.1mm}}}\hfill}
|
|
905
|
|
906 \newdimen\strokeinterval \newdimen\strokewidth
|
|
907 \newdimen\rightstrokewidth
|
|
908 \strokeinterval=\textwidth \advance\strokeinterval by-0.1mm
|
|
909 \divide\strokeinterval by150
|
|
910 \strokewidth=\strokeinterval
|
|
911 \multiply\strokewidth by150 \advance\strokewidth by0.1mm
|
|
912 \rightstrokewidth=\strokeinterval
|
|
913 \multiply\rightstrokewidth by9
|
|
914 \def\leaderfillstrokeL{\leaders\hbox to\strokeinterval{%
|
|
915 \rule{0.1mm}{1.6mm}\hfil}\hfill}
|
|
916
|
|
917 \newdimen\boxinterval \newdimen\boxwidth
|
|
918 \newdimen\leftboxwidth
|
|
919 \boxinterval=\textwidth \advance\boxinterval by-1mm
|
|
920 \divide\boxinterval by99
|
|
921 \boxwidth=\boxinterval
|
|
922 \multiply\boxwidth by99 \advance\boxwidth by1mm
|
|
923 \leftboxwidth=\boxinterval
|
|
924 \multiply\leftboxwidth by6
|
|
925 \def\leaderfillboxL{\leaders\hbox to\boxinterval{%
|
|
926 \rule{0.9mm}{1mm}\hfil}\hfill}
|
|
927
|
|
928 \ifASCII\else
|
|
929 \jfont\gona=dg12 % in ASCII, moved to (d)skfonts.
|
|
930 \fi
|
|
931
|
|
932 % default title header
|
|
933 % you must devise various headers for topics, tokushu, shohyo etc.
|
|
934 %
|
|
935 % 2009/04/22 H.Iwasaki
|
|
936 % ==========================================================
|
|
937 % スタイルファイルの変更,その目的は以下の二つ
|
|
938 % ・2009年6月より論文投稿規定が改訂されるのに合わせる
|
|
939 % ・2009年度の大会論文フォーマットも共用するようにする
|
|
940 %
|
|
941
|
|
942 %%%
|
|
943 % 論文種別
|
|
944 % コンピュータソフトウェア誌に掲載される論文は
|
|
945 % 研究論文/ソフトウェア論文/解説論文
|
|
946 % の3通りであるが,大会予稿もこのスタイルファイルを使うことにしたので,
|
|
947 % 便宜的に,大会予稿も論文種別の一種とする.
|
|
948 %
|
|
949 % 結局論文種別は,
|
|
950 % 研究論文/ソフトウェア論文/解説論文/大会予稿
|
|
951 % の4通りのいずれか.そのそれぞれについて和文と英文があり得るが,
|
|
952 % 英文解説論文はあまり想定していない.
|
|
953 % また,チュートリアルは解説論文の一種だが,1ページ目の頭書きが
|
|
954 % 異なるので,普通の解説論文とば別の種別文字を用意した.
|
|
955 %
|
|
956 % \documentclass[..]{compsoft} の [...] の中に論文種別,査読種別,言語
|
|
957 % を指定する.
|
|
958 %
|
|
959 % 論文種別
|
|
960 % P 研究論文 (デフォルト)
|
|
961 % S ソフトウェア論文
|
|
962 % K 普通の解説論文
|
|
963 % U チュートリアル
|
|
964 % T 大会論文 (大会論文は便宜的に論文種別の一種として扱う)
|
|
965 %
|
|
966 % 査読種別 (大会論文の時には指定しない)
|
|
967 % R 通常論文 (デフォルト)
|
|
968 % L レター論文
|
|
969 %
|
|
970 % 言語
|
|
971 % J 和文 (デフォルト)
|
|
972 % E 英文
|
|
973 %
|
|
974 % \ronbunShubetsu は,論文種別を表す一文字 (P, S, K, U, T のいずれか)
|
|
975 % \sadokuShubets は,査読種別を表す一文字 (R,L のいずれか)
|
|
976 % \ronbunLang は,言語を表す一文字 (J, E のいずれか)
|
|
977
|
|
978 \let\ronbunShubetsu=P % 論文種別のデフォルト値は研究論文
|
|
979 \let\sadokuShubetsu=R % 査読種別のデフォルト値は通常論文
|
|
980 \let\ronbunLang=J % デフォルトは和文論文
|
|
981 \def\JarticleHeader{\rule{\textwidth}{1mm}}
|
|
982 \def\JarticleTitle{{\huge\bf\@title}}
|
|
983 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}
|
|
984
|
|
985 %
|
|
986 % 論文種別
|
|
987 %
|
|
988
|
|
989 \def\ifRonbun#1{\ifx\ronbunShubetsu P{#1}\else\relax\fi}
|
|
990 \def\ifSoftRonbun#1{\ifx\ronbunShubetsu S{#1}\else\relax\fi}
|
|
991 \def\ifKaisetsu#1{\ifx\ronbunShubetsu K{#1}\else\relax\fi}
|
|
992 \def\ifTutorial#1{\ifx\ronbunShubetsu U{#1}\else\relax\fi}
|
|
993 \def\ifTaikai#1{\ifx\ronbunShubetsu T{#1}\else\relax\fi}
|
|
994 \def\ifNotTaikai#1{\ifx\ronbunShubetsu T\relax\else{#1}\fi}
|
|
995
|
|
996 % ◆P (研究論文)
|
|
997 \def\ds@P{
|
|
998 \let\ronbunShubetsu=P%
|
|
999 \def\JarticleHeader{\rule{\textwidth}{1mm}}%
|
|
1000 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1001 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1002 \Jarticle}
|
|
1003
|
|
1004 % ◆S (ソフトウェア論文)
|
|
1005 \def\ds@S{
|
|
1006 \let\ronbunShubetsu=S%
|
|
1007 \def\JarticleHeader{%
|
|
1008 \hbox to \strokewidth{\leaderfillboxL\rule{0.9mm}{1mm}}}%
|
|
1009 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1010 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1011 \Jarticle}
|
|
1012
|
|
1013 % ◆K (普通の解説論文)
|
|
1014 \def\ds@K{
|
|
1015 \let\ronbunShubetsu=K%
|
|
1016 \def\JarticleHeader{{\offinterlineskip
|
|
1017 \rule{\textwidth}{0.1mm}\vskip0.4mm
|
|
1018 \rule{\textwidth}{0.1mm}\vskip0.4mm
|
|
1019 \rule{\textwidth}{0.1mm}\vskip0.4mm
|
|
1020 \rule{\textwidth}{0.1mm}
|
|
1021 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 解 説}\hfil}\vfil}
|
|
1022 \rule{\textwidth}{0.1mm}
|
|
1023 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1024 }%
|
|
1025 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1026 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1027 \Jarticle}
|
|
1028
|
|
1029 % ◆U (チュートリアル --- 解説論文の一種)
|
|
1030 \def\ds@U{
|
|
1031 \let\ronbunShubetsu=U%
|
|
1032 \def\JarticleHeader{{\offinterlineskip
|
|
1033 \hbox to \strokewidth{\leaderfillstrokeL\rule{0.1mm}{1.6mm}}
|
|
1034 \hbox to\strokewidth{\hbox to0.1mm{{\vbox to8mm{\vss\rule{0.1mm}{9.5mm}}}}%
|
|
1035 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona チュートリアル}}\vfil}\hfil%
|
|
1036 \hbox to0.1mm{\vbox to8mm{\vss\rule{0.1mm}{9mm}}}}
|
|
1037 \rule{\strokewidth}{0.1mm}
|
|
1038 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1039 }%
|
|
1040 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1041 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1042 \Jarticle}
|
|
1043
|
|
1044 % ◆T (大会論文)
|
|
1045 \def\ds@T{
|
|
1046 \let\ronbunShubetsu=T%
|
|
1047 \def\JarticleHeader{\rule{\textwidth}{1mm}}%
|
|
1048 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1049 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1050 \Jarticle\adjustAfour}
|
|
1051
|
|
1052 %
|
|
1053 % 査読種別 --- 通常論文/レター論文 の2通り
|
|
1054 %
|
|
1055
|
|
1056 \def\ifRegular#1{\ifx\sadokuShubetsu R{#1}\else\relax\fi}
|
|
1057 \def\ifLetter#1{\ifx\sadokuShubetsu L{#1}\else\relax\fi}
|
|
1058
|
|
1059 % ◆R (通常論文)
|
|
1060 \def\ds@R{
|
|
1061 \let\sadokuShubetsu=R
|
|
1062 }
|
|
1063
|
|
1064 % ◆L (レター論文)
|
|
1065 \def\ds@L{
|
|
1066 \let\sadokuShubetsu=L
|
|
1067 }
|
|
1068
|
|
1069 %
|
|
1070 % 言語
|
|
1071 %
|
|
1072
|
|
1073 % ◆J (和文)
|
|
1074 \def\ds@J{
|
|
1075 \let\ronbunLang=J%
|
|
1076 \Jarticle}
|
|
1077
|
|
1078 % ◆E (英文)
|
|
1079 \def\ds@E{
|
|
1080 \let\ronbunLang=E%
|
|
1081 \def\EarticleHeader{\JarticleHeader}
|
|
1082 \def\EarticleTitle{\JarticleTitle}
|
|
1083 \def\EarticleAuthor{\JarticleAuthor}
|
|
1084 \Earticle}
|
|
1085
|
|
1086 %%%
|
|
1087 % 特集の場合
|
|
1088 % \tokushu{特集のタイトル}
|
|
1089 % とする.このタイトルは,1ページ目の上の方に出力される.
|
|
1090
|
|
1091 \def\tokushu#1{%
|
|
1092 \def\tokushutitle{#1}%
|
|
1093 \ifRonbun{%
|
|
1094 \gdef\articleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{1mm}%
|
|
1095 \hbox{\small\bf\hskip1mm 特集●\tokushutitle}\leaderfill}}}%
|
|
1096 \ifSoftRonbun{%
|
|
1097 \gdef\articleHeader{\hbox to\textwidth{%
|
|
1098 \hbox to \leftboxwidth{\leaderfillboxL}%
|
|
1099 \hbox{\small\bf\hskip1mm 特集●\tokushutitle}\leaderfillboxL
|
|
1100 \rule{0.9mm}{1mm}}}}%
|
|
1101 \ifKaisetsu{%
|
|
1102 \gdef\articleHeader{{\offinterlineskip
|
|
1103 \hbox to \textwidth{\leaderfillB\hbox{\small\bf\hskip1mm 特集●\tokushutitle
|
|
1104 \hskip1mm}%
|
|
1105 \hbox to3\@mojihaba{%
|
|
1106 \vbox{\rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1107 \rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1108 \rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1109 \rule{3\@mojihaba}{0.1mm}}}}%
|
|
1110 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 解 説}\hfil}\vfil}
|
|
1111 \rule{\textwidth}{0.1mm}
|
|
1112 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1113 }}%
|
|
1114 \ifTutorial{%
|
|
1115 \gdef\articleHeader{{\offinterlineskip
|
|
1116 \hbox to \strokewidth{\leaderfillstrokeL
|
|
1117 \hbox{\small\bf\hskip1mm 特集●\tokushutitle\hskip2mm}%
|
|
1118 \hbox to\rightstrokewidth{\leaderfillstrokeL}\rule{0.1mm}{1.6mm}}%
|
|
1119 \hbox to\strokewidth{\hbox to0.1mm{{\vbox to8mm{\vss\rule{0.1mm}{9mm}}}}%
|
|
1120 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona チュートリアル}}\vfil}\hfil%
|
|
1121 \hbox to0.1mm{\vbox to8mm{\vss\rule{0.1mm}{9mm}}}}
|
|
1122 \rule{\strokewidth}{0.1mm}
|
|
1123 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1124 }}%
|
|
1125 \gdef\JarticleHeader{\articleHeader}%
|
|
1126 \gdef\EarticleHeader{\articleHeader}}
|
|
1127
|
|
1128 %%%
|
|
1129 % 推薦の場合
|
|
1130 % \suisen{タイトル}
|
|
1131 % とする.このタイトルは,1ページ目の上の方に出力される.
|
|
1132
|
|
1133 \def\suisen#1{%
|
|
1134 \def\suisentitle{#1}%
|
|
1135 \ifRonbun{%
|
|
1136 \gdef\articleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{1mm}%
|
|
1137 \hbox{\small\bf\hskip1mm 推薦論文●\suisentitle}\leaderfill}}}%
|
|
1138 \ifSoftRonbun{%
|
|
1139 \gdef\articleHeader{\hbox to\textwidth{%
|
|
1140 \hbox to \leftboxwidth{\leaderfillboxL}%
|
|
1141 \hbox{\small\bf\hskip1mm 推薦論文●\suisentitle}\leaderfillboxL
|
|
1142 \rule{0.9mm}{1mm}}}}%
|
|
1143 \ifKaisetsu{%
|
|
1144 \gdef\articleHeader{{\offinterlineskip
|
|
1145 \hbox to \textwidth{\leaderfillB\hbox{\small\bf\hskip1mm 推薦論文●\suisentitle
|
|
1146 \hskip1mm}%
|
|
1147 \hbox to3\@mojihaba{%
|
|
1148 \vbox{\rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1149 \rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1150 \rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1151 \rule{3\@mojihaba}{0.1mm}}}}%
|
|
1152 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 解 説}\hfil}\vfil}
|
|
1153 \rule{\textwidth}{0.1mm}
|
|
1154 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1155 }}%
|
|
1156 \gdef\JarticleHeader{\articleHeader}%
|
|
1157 \gdef\EarticleHeader{\articleHeader}}
|
|
1158
|
|
1159 %%%
|
|
1160 % 大会予稿の場合
|
|
1161 % \taikai{年度}
|
|
1162 % を入れなければならない.回数は年度から自動的に計算される.
|
|
1163 % 回数 = 年度 - 1983
|
|
1164 % このタイトルは,1ページ目の上の方に出力される.
|
|
1165
|
|
1166 \def\leaderfilll{\leaders\hbox{\rule{0.2mm}{0.2mm}}\hfill}
|
|
1167
|
|
1168 \def\taikai#1{%
|
|
1169 \ifTaikai{%
|
|
1170 \newcount\currentYear%
|
|
1171 \newcount\currentKai%
|
|
1172 \currentYear=#1%
|
|
1173 \currentKai=\currentYear\advance\currentKai by-1983%
|
|
1174 \global\xdef\taikaititle{日本ソフトウェア科学会第\number\currentKai 回大会%
|
|
1175 (\number\currentYear 年度)講演論文集}%
|
|
1176 \gdef\articleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{0.2mm}%
|
|
1177 \hbox{\small\bf\hskip1mm \taikaititle\hskip1mm}\leaderfilll}}%
|
|
1178 \gdef\JarticleHeader{\articleHeader}%
|
|
1179 \gdef\EarticleHeader{\articleHeader}%
|
|
1180 \gdef\@oddheadcontents{\taikaititle}%
|
|
1181 \gdef\@evenheadcontents{\taikaititle}}}
|
|
1182
|
|
1183 %%%
|
|
1184 % 1ページ目の左下に出力されるもの
|
|
1185 \def\ejtitle#1{\thanks{#1}}
|
|
1186
|
|
1187 \def\shozoku#1#2#3{\thanks{#1, #2, #3.}}
|
|
1188
|
|
1189 \def\shutten{%
|
|
1190 \ifNotTaikai{%
|
|
1191 \thanks{\kanjiskip 0pt minus 0.15zw %
|
|
1192 コンピュータソフトウェア, \kern-0.75pt Vol.\arabic{巻数}, %
|
|
1193 \kern-0.75pt No.\arabic{号数} \kern-1.25pt(\arabic{年数}), %
|
|
1194 \kern-0.75pt pp.\arabic{firstpage}--\arabic{lastpage}.}}}
|
|
1195
|
|
1196 \def\ronbunKind{%
|
|
1197 \ifRonbun{研究}\ifSoftRonbun{ソフトウェア}%
|
|
1198 \ifKaisetsu{解説}\ifTutorial{解説}論文%
|
|
1199 \ifRegular{\relax}\ifLetter{(レター)}}
|
|
1200
|
|
1201 \def\uketsuke#1#2#3{\ifNotTaikai{\thanks{[\ronbunKind] #1年#2月#3日受付.}}}
|
|
1202
|
|
1203 \def\note#1{\thanks{#1}}
|
|
1204
|
|
1205 % ここから先は互換性のために,手を入れていない
|
|
1206 %
|
|
1207 % ==========================================================
|
|
1208 % ◆ronbun (論文)
|
|
1209 \def\ds@ronbun{
|
|
1210 \def\JarticleHeader{\rule{\textwidth}{1mm}}%
|
|
1211 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1212 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1213 \Jarticle}
|
|
1214
|
|
1215 % ◆Eronbun (英文論文)
|
|
1216 \def\ds@Eronbun{
|
|
1217 \def\EarticleHeader{\rule{\textwidth}{1mm}}%
|
|
1218 \def\EarticleTitle{{\huge\bf\@title}}%
|
|
1219 \def\EarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1220 \Earticle}
|
|
1221
|
|
1222 % ==========================================================
|
|
1223 % ◆ronbungaiyou (論文概要)
|
|
1224 \def\ds@ronbungaiyou{
|
|
1225 \def\pages##1{\long\def\pp{##1}}
|
|
1226 \let\Jabstcontent\relax
|
|
1227 \let\Eabstcontent\relax
|
|
1228 \def\maketitle{\par
|
|
1229 \@lastpagebalancingfalse
|
|
1230 \begingroup
|
|
1231 \def\thefootnote{}%
|
|
1232 \def\@makefnmark{}%
|
|
1233 \@maketitle
|
|
1234 \thispagestyle{plain}\@thanks
|
|
1235 \endgroup
|
|
1236 \setcounter{footnote}{0}
|
|
1237 \thispagestyle{myheadings} % to avoid running head on title page
|
|
1238 \gdef\@thanks{}\gdef\@author{}\gdef\@title{}
|
|
1239 \let\Jabstcontent\relax
|
|
1240 \let\Eabstcontent\relax
|
|
1241 % \let\thanks\relax
|
|
1242 }%
|
|
1243 %
|
|
1244 \def\JarticleHeader{\hbox to25\jspaceskip{\rule{2\@mojihaba}{1mm}\hbox{\small\bf\hskip1mm サイバーページ論文概要\hskip1mm}\leaderfill}}%
|
|
1245 \def\JarticleTitle{{\Large\bf\@title}}%
|
|
1246 \def\JarticleAuthor{\large\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1247 \global\def\@maketitle{\newpage \null
|
|
1248 \hbox{\vbox to193.5\Q{\baselineskip=6mm % 193.5\Q = 9*\baselineskip
|
|
1249 \begin{flushleft}
|
|
1250 \JarticleHeader
|
|
1251 \vskip5mm
|
|
1252 \leftskip=0mm
|
|
1253 \JarticleTitle
|
|
1254 \vskip3mm % to leave 7mm gap between title and author
|
|
1255 \JarticleAuthor
|
|
1256 \end{flushleft}\vfil}}
|
|
1257 % \begin{small}
|
|
1258 \begingroup
|
|
1259 \ifx\Jabstcontent\relax
|
|
1260 \baselineskip=19.5Q
|
|
1261 \Eabstcontent\par
|
|
1262 \else
|
|
1263 \baselineskip=19.5Q
|
|
1264 \Jabstcontent\par
|
|
1265 \fi
|
|
1266 \leavevmode\null\hfill
|
|
1267 [\kern1pt pp.~\pp\kern1pt]\par
|
|
1268 \endgroup
|
|
1269 % \end{small}
|
|
1270 }}
|
|
1271
|
|
1272 % ==========================================================
|
|
1273 % ◆softwareronbun (ソフトウェア論文)
|
|
1274 \def\ds@softwareronbun{
|
|
1275 \def\JarticleHeader{%
|
|
1276 \hbox to \strokewidth{\leaderfillboxL\rule{0.9mm}{1mm}}}%
|
|
1277 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1278 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1279 \Jarticle}
|
|
1280
|
|
1281 % ==========================================================
|
|
1282 % ◆tutorial (チュートリアル)
|
|
1283 \def\ds@tutorial{
|
|
1284 \def\JarticleHeader{{\offinterlineskip
|
|
1285 \hbox to \strokewidth{\leaderfillstrokeL\rule{0.1mm}{1.6mm}}
|
|
1286 \hbox to\strokewidth{\hbox to0.1mm{{\vbox to8mm{\vss\rule{0.1mm}{9.5mm}}}}%
|
|
1287 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona チュートリアル}}\vfil}\hfil%
|
|
1288 \hbox to0.1mm{\vbox to8mm{\vss\rule{0.1mm}{9mm}}}}
|
|
1289 \rule{\strokewidth}{0.1mm}
|
|
1290 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1291 }%
|
|
1292 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1293 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1294 \Jarticle}
|
|
1295
|
|
1296 % ==========================================================
|
|
1297 % ◆kaisetsu (解説)
|
|
1298 \def\ds@kaisetsu{
|
|
1299 \def\JarticleHeader{{\offinterlineskip
|
|
1300 \rule{\textwidth}{0.1mm}\vskip0.4mm
|
|
1301 \rule{\textwidth}{0.1mm}\vskip0.4mm
|
|
1302 \rule{\textwidth}{0.1mm}\vskip0.4mm
|
|
1303 \rule{\textwidth}{0.1mm}
|
|
1304 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 解 説}\hfil}\vfil}
|
|
1305 \rule{\textwidth}{0.1mm}
|
|
1306 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1307 }%
|
|
1308 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1309 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1310 \Jarticle}
|
|
1311
|
|
1312 % ==========================================================
|
|
1313 % ◆topics (トピックス)
|
|
1314 \def\ds@topics{
|
|
1315 \def\JarticleHeader{{\offinterlineskip
|
|
1316 \rule{\textwidth}{0.1mm}
|
|
1317 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona トピックス}\hfil}\vfil}
|
|
1318 \rule{\textwidth}{0.1mm}
|
|
1319 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1320 }%
|
|
1321 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1322 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1323 \JarticleWithoutAbst}
|
|
1324
|
|
1325 % ◆software (ソフトウェア紹介)
|
|
1326 \def\ds@softwareshokai{
|
|
1327 \def\JarticleHeader{{\offinterlineskip
|
|
1328 \rule{\textwidth}{0.1mm}
|
|
1329 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona ソフトウェア紹介}\hfil}\vfil}
|
|
1330 \rule{\textwidth}{0.1mm}
|
|
1331 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1332 }%
|
|
1333 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1334 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1335 \JarticleWithoutAbst}
|
|
1336
|
|
1337 % ◆forum (フォーラム)
|
|
1338 \def\ds@forum{
|
|
1339 \def\JarticleHeader{{\offinterlineskip
|
|
1340 \rule{\textwidth}{0.1mm}
|
|
1341 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona フォーラム}\hfil}\vfil}
|
|
1342 \rule{\textwidth}{0.1mm}
|
|
1343 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1344 }%
|
|
1345 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1346 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1347 \JarticleWithoutAbst}
|
|
1348
|
|
1349 % ◆zadankai (座談会)
|
|
1350 \def\ds@zadankai{
|
|
1351 \def\JarticleHeader{{\offinterlineskip
|
|
1352 \rule{\textwidth}{0.1mm}
|
|
1353 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 座談会}\hfil}\vfil}
|
|
1354 \rule{\textwidth}{0.1mm}
|
|
1355 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1356 }%
|
|
1357 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1358 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1359 \JarticleWithoutAbst}
|
|
1360
|
|
1361 % ◆column (コラム)
|
|
1362 \def\ds@column{
|
|
1363 \global\advance\textheight by-3mm
|
|
1364 \global\advance\leftskip by3mm
|
|
1365 \global\advance\rightskip by3mm
|
|
1366 \global\def\@maketitle{\newpage \null
|
|
1367 \hbox{\vbox to165\Q{% 172\Q = 7*\baselineskip
|
|
1368 \begin{flushleft}
|
|
1369 \null\vskip11.2mm
|
|
1370 \leftskip=8mm \baselineskip10mm
|
|
1371 {\huge\bf\@title}
|
|
1372 \vskip1.5mm % to leave hmode and start a new paragraph
|
|
1373 \LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}%
|
|
1374 \end{flushleft}\vfil}}}%
|
|
1375 \columnsep 0pt % ueda
|
|
1376 }
|
|
1377
|
|
1378 % ◆review (書評)
|
|
1379 \def\ds@bookreview{
|
|
1380 \def\JarticleHeader{{\offinterlineskip
|
|
1381 \rule{\textwidth}{0.1mm}
|
|
1382 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 書 評}\hfil}\vfil}
|
|
1383 \rule{\textwidth}{0.1mm}
|
|
1384 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1385 }%
|
|
1386 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1387 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1388 \JarticleWithoutAbst}
|
|
1389
|
|
1390 % ◆pioneer (パイオニア)
|
|
1391 \def\ds@pioneer{
|
|
1392 \def\JarticleHeader{{\offinterlineskip
|
|
1393 \rule{\textwidth}{0.1mm}
|
|
1394 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona パイオニア}\hfil}\vfil}
|
|
1395 \rule{\textwidth}{0.1mm}
|
|
1396 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1397 }%
|
|
1398 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1399 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1400 \JarticleWithoutAbst}
|
|
1401
|
|
1402 % ◆memoriam (追悼記事)
|
|
1403 \def\ds@memoriam{
|
|
1404 \def\JarticleHeader{{\offinterlineskip
|
|
1405 \rule{\textwidth}{0.1mm}
|
|
1406 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona }\hfil}\vfil}
|
|
1407 \rule{\textwidth}{0.1mm}
|
|
1408 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1409 }%
|
|
1410 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1411 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1412 \JarticleWithoutAbst}
|
|
1413
|
|
1414 % ==========================================================
|
|
1415 % 特集や推薦の名前を入れるためのマクロ。ユーザに定義してもらう。
|
|
1416 \def\tokushutitle{}
|
|
1417 \def\suisentitle{}
|
|
1418
|
|
1419 % ◆tokushuronbun (特集論文)
|
|
1420 \def\ds@tokushuronbun{
|
|
1421 \def\JarticleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{1mm}\hbox{\small\bf\hskip1mm 特集●\tokushutitle}\leaderfill}}%
|
|
1422 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1423 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1424 \Jarticle}
|
|
1425
|
|
1426 % ◆Etokushuronbun (英文特集論文)
|
|
1427 \def\ds@Etokushuronbun{
|
|
1428 \def\EarticleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{1mm}\hbox{\small\bf\hskip1mm 特集●\tokushutitle}\leaderfill}}%
|
|
1429 \def\EarticleTitle{{\huge\bf\@title}}%
|
|
1430 \def\EarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1431 \Earticle}
|
|
1432
|
|
1433 % ◆tokushusoftwareronbun (特集ソフトウェア論文)
|
|
1434 \def\ds@tokushusoftwareronbun{
|
|
1435 \def\JarticleHeader{\hbox to\textwidth{%
|
|
1436 \hbox to \leftboxwidth{\leaderfillboxL}%
|
|
1437 \hbox{\small\bf\hskip1mm 特集●\tokushutitle}\leaderfillboxL
|
|
1438 \rule{0.9mm}{1mm}}}%
|
|
1439 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1440 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1441 \Jarticle}
|
|
1442
|
|
1443 % ◆tokushututorial (特集チュートリアル)
|
|
1444 \def\ds@tokushututorial{
|
|
1445 \def\JarticleHeader{{\offinterlineskip
|
|
1446 \hbox to \strokewidth{\leaderfillstrokeL
|
|
1447 \hbox{\small\bf\hskip1mm 特集●\tokushutitle\hskip2mm}%
|
|
1448 \hbox to\rightstrokewidth{\leaderfillstrokeL}\rule{0.1mm}{1.6mm}}%
|
|
1449 \hbox to\strokewidth{\hbox to0.1mm{{\vbox to8mm{\vss\rule{0.1mm}{9mm}}}}%
|
|
1450 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona チュートリアル}}\vfil}\hfil%
|
|
1451 \hbox to0.1mm{\vbox to8mm{\vss\rule{0.1mm}{9mm}}}}
|
|
1452 \rule{\strokewidth}{0.1mm}
|
|
1453 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1454 }%
|
|
1455 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1456 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1457 \Jarticle}
|
|
1458
|
|
1459 % ◆tokushukaisetsu (特集解説)
|
|
1460 \def\ds@tokushukaisetsu{
|
|
1461 \def\JarticleHeader{{\offinterlineskip
|
|
1462 \hbox to \textwidth{\leaderfillB\hbox{\small\bf\hskip1mm 特集●\tokushutitle
|
|
1463 \hskip1mm}%
|
|
1464 \hbox to3\@mojihaba{%
|
|
1465 \vbox{\rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1466 \rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1467 \rule{3\@mojihaba}{0.1mm}\vskip0.4mm
|
|
1468 \rule{3\@mojihaba}{0.1mm}}}}%
|
|
1469 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona 解 説}\hfil}\vfil}
|
|
1470 \rule{\textwidth}{0.1mm}
|
|
1471 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1472 }%
|
|
1473 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1474 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1475 \Jarticle}
|
|
1476
|
|
1477 % ◆topics (特集トピックス)
|
|
1478 \def\ds@tokushutopics{
|
|
1479 \def\JarticleHeader{{\offinterlineskip
|
|
1480 %
|
|
1481 \hbox to\textwidth{%
|
|
1482 \setbox0=\hbox{\small\bf\hskip1mm 特集●\tokushutitle\hskip1mm}%
|
|
1483 \leaders\hbox{\rule{1mm}{0.1mm}}\hfill
|
|
1484 \vbox to0pt{\hsize\wd0\vss\box0\vss}\hbox{\rule{3\@mojihaba}{0.1mm}}}
|
|
1485 % \hbox{\rule{3\@mojihaba}{0.1mm}}}
|
|
1486 %
|
|
1487 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona トピックス}\hfil}\vfil}
|
|
1488 \rule{\textwidth}{0.1mm}
|
|
1489 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1490 }%
|
|
1491 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1492 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1493 \JarticleWithoutAbst}
|
|
1494
|
|
1495 % ◆topics (特集ソフトウェア紹介)
|
|
1496 \def\ds@tokushusoftwareshokai{
|
|
1497 \def\JarticleHeader{{\offinterlineskip
|
|
1498 %
|
|
1499 \hbox to\textwidth{%
|
|
1500 \setbox0=\hbox{\small\bf\hskip1mm 小特集●\tokushutitle\hskip1mm}%
|
|
1501 \leaders\hbox{\rule{1mm}{0.1mm}}\hfill
|
|
1502 \vbox to0pt{\hsize\wd0\vss\box0\vss}\hbox{\rule{3\@mojihaba}{0.1mm}}}
|
|
1503 % \hbox{\rule{3\@mojihaba}{0.1mm}}}
|
|
1504 %
|
|
1505 \vbox to8mm{\vfil\hbox{\hskip5mm{\gona ソフトウェア紹介}\hfil}\vfil}
|
|
1506 \rule{\textwidth}{0.1mm}
|
|
1507 \vskip0pt}% to end the paragraph and use new baselineskip
|
|
1508 }%
|
|
1509 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1510 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1511 \JarticleWithoutAbst}
|
|
1512
|
|
1513 % ◆suisenronbun (推薦論文)
|
|
1514 \def\ds@suisenronbun{
|
|
1515 \def\JarticleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{1mm}\hbox{\small\bf\hskip1mm 推薦論文●\suisentitle}\leaderfill}}%
|
|
1516 \def\JarticleTitle{{\huge\bf\@title}}%
|
|
1517 \def\JarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1518 \Jarticle}
|
|
1519
|
|
1520 % ◆Esuisenronbun (英文推薦論文)
|
|
1521 \def\ds@Esuisenronbun{
|
|
1522 \def\EarticleHeader{\hbox to\textwidth{\rule{3\@mojihaba}{1mm}\hbox{\small\bf\hskip1mm 推薦論文●\suisentitle}\leaderfill}}%
|
|
1523 \def\EarticleTitle{{\huge\bf\@title}}%
|
|
1524 \def\EarticleAuthor{\LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}}%
|
|
1525 \Earticle}
|
|
1526 % ==========================================================
|
|
1527
|
|
1528 % ==========================================================
|
|
1529 % ◆kantogen (巻頭言)
|
|
1530 \def\ds@kantogen{
|
|
1531 \global\def\@maketitle{\newpage \null
|
|
1532 \hbox{\vbox{
|
|
1533 \begin{flushleft}
|
|
1534 \offinterlineskip
|
|
1535 \vspace*{-\topskip}
|
|
1536 \rule{\textwidth}{0.1mm}
|
|
1537 \vskip6mm{\gona 巻頭言}\hskip15mm{\huge\@title}\vskip5mm\hskip27mm%
|
|
1538 \Large\begin{tabular}[t]{@{}l}\@author\end{tabular}%
|
|
1539 \vskip10mm plus10mm minus10mm% you must adjust this size
|
|
1540 \vskip22.5\Q
|
|
1541 \end{flushleft}
|
|
1542 \vfil}}}
|
|
1543 \leftskip=27mm
|
|
1544 \@totalleftmargin=27mm
|
|
1545 \@rightskip=27mm
|
|
1546 \onecolumn
|
|
1547 \baselineskip=22.5\Q
|
|
1548 \global\tendm\global\rm % This does not work, I don't know why!
|
|
1549 }
|
|
1550 % ==========================================================
|
|
1551
|
|
1552 % ==========================================================
|
|
1553 % ◆tokushutobira (特集の編集にあたって)
|
|
1554 \def\ds@tokushutobira{
|
|
1555 \global\def\@maketitle{\newpage \null
|
|
1556 \vspace*{-\baselineskip}
|
|
1557 \begin{flushleft}
|
|
1558 \hbox to\textwidth
|
|
1559 {\rule{3\@mojihaba}{1mm}\hbox{\small\bf\hskip1mm 特集●\tokushutitle}\leaderfill}%
|
|
1560 \vskip12mm\hskip5mm{\huge\bf\@title}\vskip1mm\hskip5mm%
|
|
1561 \LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}%
|
|
1562 \vskip10mm%
|
|
1563 \end{flushleft}%\vfil
|
|
1564 }
|
|
1565 % tokushutobira must be flush left on even page, and flush right on
|
|
1566 % odd page.
|
|
1567 \ifodd\c@page
|
|
1568 \leftskip=7\@mojihaba \rightskip=0pt
|
|
1569 \@totalleftmargin=7\@mojihaba % for list environment such as itemize
|
|
1570 \@rightskip=7\@mojihaba % for list environment such as itemize
|
|
1571 \else
|
|
1572 \leftskip=0pt \rightskip=7\@mojihaba
|
|
1573 \@totalleftmargin=0pt
|
|
1574 \@rightskip=7\@mojihaba
|
|
1575 \fi
|
|
1576 \onecolumn
|
|
1577 }
|
|
1578 % ==========================================================
|
|
1579
|
|
1580 % ==========================================================
|
|
1581 % ◆tobira (巻頭)
|
|
1582 \def\ds@tobira{
|
|
1583 \global\def\@maketitle{\newpage \null
|
|
1584 \vspace*{-\baselineskip}
|
|
1585 \begin{flushleft}
|
|
1586 \rule{\textwidth}{1mm}
|
|
1587 \vskip12mm\hskip5mm{\huge\bf\@title}\vskip1mm\hskip5mm%
|
|
1588 \LARGE\begin{tabular}[t]{@{}l}\@author\end{tabular}%
|
|
1589 \vskip10mm%
|
|
1590 \end{flushleft}%\vfil
|
|
1591 }
|
|
1592 % tokushutobira must be flush left on even page, and flush right on
|
|
1593 % odd page.
|
|
1594 \ifodd\c@page
|
|
1595 \leftskip=7\@mojihaba \rightskip=0pt
|
|
1596 \@totalleftmargin=7\@mojihaba % for list environment such as itemize
|
|
1597 \@rightskip=7\@mojihaba % for list environment such as itemize
|
|
1598 \else
|
|
1599 \leftskip=0pt \rightskip=7\@mojihaba
|
|
1600 \@totalleftmargin=0pt
|
|
1601 \@rightskip=7\@mojihaba
|
|
1602 \fi
|
|
1603 \onecolumn
|
|
1604 }
|
|
1605 % ==========================================================
|
|
1606
|
|
1607 % ==========================================================
|
|
1608 % ◆gakkaikiji (学会記事)
|
|
1609 % Gakkai-Kiji header added by yaski
|
|
1610 \def\ds@gakkaikiji{
|
|
1611 \global\def\@maketitle{\newpage \null
|
|
1612 \hbox{\vbox to64.5\Q{% 43\Q=3*21.5\Q
|
|
1613 \begin{flushleft}
|
|
1614 {\offinterlineskip
|
|
1615 \noindent
|
|
1616 \hbox to \hsize{{\LARGE 日本ソフトウェア科学会} \leaders\hrule height 2mm\hfill}
|
|
1617 \vspace{2mm}
|
|
1618 \hbox to \hsize{\footnotesize\bf
|
|
1619 Japan Society for Software Science and Technology \hfil}}
|
|
1620 \end{flushleft}\vfil}}}
|
|
1621 }
|
|
1622 % ==========================================================
|
|
1623
|
|
1624 % ==========================================================
|
|
1625 % ◆ henshu header added by yaski (編集だより)
|
|
1626 \def\ds@henshu{
|
|
1627 \global\def\@maketitle{\newpage \null
|
|
1628 \hbox{\vbox to64.5\Q{% 43\Q=3*21.5\Q
|
|
1629 \begin{flushleft}
|
|
1630 {\offinterlineskip
|
|
1631 \noindent
|
|
1632 \hbox to \hsize{{\LARGE 日本ソフトウェア科学会} \leaders\hrule height 2mm\hfill}
|
|
1633 \vspace{2mm}
|
|
1634 \hbox to \hsize{\footnotesize\bf
|
|
1635 Japan Society for Software Science and Technology \hfil}}
|
|
1636 \end{flushleft}\vfil}}}
|
|
1637 }
|
|
1638 % ==========================================================
|
|
1639
|
|
1640 % ==========================================================
|
|
1641 % <13> hissha header added by ohno (筆者紹介)
|
|
1642 \def\ds@hissha{
|
|
1643 \setlength\headsep{47.5mm}
|
|
1644 \setlength\textheight{160mm}
|
|
1645 \pagestyle{hissha}
|
|
1646 \@hisshatrue
|
|
1647 % ----------------
|
|
1648 \raggedbottom
|
|
1649 \global\def\@maketitle{\newpage \null
|
|
1650 %\thispagestyle{hisshatop}
|
|
1651 %\vskip-45mm % added by iwamoto 92.10.15
|
|
1652 %\vskip-55mm % added by iwamoto 92.10.15
|
|
1653 \vskip-53mm
|
|
1654 %\hbox to \textwidth{\hrulefillx}
|
|
1655 \vskip 10mm
|
|
1656 \hbox{\vbox to40mm{%
|
|
1657 \noindent
|
|
1658 \vskip8mm
|
|
1659 \begin{tabular}{l}
|
|
1660 {\LARGE\bf 筆\hspace{2mm}者\hspace{2mm}紹\hspace{2mm}介}
|
|
1661 \end{tabular}
|
|
1662 \vfil}}}
|
|
1663 }
|
|
1664 \def\ds@newsletr{
|
|
1665 \input{newsletr.sty}
|
|
1666 }
|
|
1667
|
|
1668 % ==========================================================
|
|
1669 % 総目次
|
|
1670 \def\ds@somokuji{
|
|
1671 \setlength\headsep{30mm}
|
|
1672 \setlength\textheight{190mm}
|
|
1673 \pagestyle{hissha}
|
|
1674 \@hisshatrue
|
|
1675 % ----------------
|
|
1676 \raggedbottom
|
|
1677 \global\def\@maketitle{\newpage \null
|
|
1678 %\thispagestyle{hisshatop}
|
|
1679 %\vskip-45mm % added by iwamoto 92.10.15
|
|
1680 %\vskip-55mm % added by iwamoto 92.10.15
|
|
1681 %\vskip-30mm
|
|
1682 %\hbox to \textwidth{\hrulefillx}
|
|
1683 \vskip -20mm
|
|
1684 \hbox{\vbox to21mm{%
|
|
1685 \noindent
|
|
1686 \vskip1mm
|
|
1687 \begin{tabular}{l}
|
|
1688 {\LARGE\bf \@title}
|
|
1689 \end{tabular}
|
|
1690 \vfil}}}
|
|
1691 }
|
|
1692
|
|
1693 % You must define 書評用 header here!
|
|
1694
|
|
1695
|
|
1696 \mark{{}{}}
|
|
1697
|
|
1698 % volpage(ボリューム通しページ)has been abolished as of Vol.22 (2005),
|
|
1699 % but the counter volpageoffset is kept alive for backward compatibility
|
|
1700 % because many papers still say \setcounter{volpageoffset}{...} .
|
|
1701 %
|
|
1702 % \newcounter{volpage}
|
|
1703 \newcounter{volpageoffset} % You must set this to appropriate value
|
|
1704 % \setcounter{volpageoffset}{0} % for each issue!
|
|
1705
|
|
1706 % \def\thevolpage{\setcounter{volpage}{\value{page}}%
|
|
1707 % \addtocounter{volpage}{\value{volpageoffset}}%
|
|
1708 % \hbox to21pt{(\hfil\arabic{volpage}\hfil)}}
|
|
1709 \let\thevolpage=\null
|
|
1710
|
|
1711 \newcounter{巻数} \newcounter{号数}
|
|
1712 \newcounter{年数}
|
|
1713 \newcounter{firstpage}
|
|
1714 \newcounter{lastpage}
|
|
1715
|
|
1716 \def\volNoPp#1#2#3#4{%
|
|
1717 \ifNotTaikai{%
|
|
1718 \setcounter{巻数}{#1}\setcounter{号数}{#2}%
|
|
1719 \setcounter{年数}{1983}\addtocounter{年数}{\value{巻数}}%
|
|
1720 \setcounter{firstpage}{#3}\setcounter{lastpage}{#4}\setcounter{page}{#3}}}
|
|
1721
|
|
1722 \def\@oddheadcontents
|
|
1723 {Vol.~\arabic{巻数}\hskip\@mojihaba No.~\arabic{号数}\hskip\@mojihaba
|
|
1724 \ifcase\value{号数}\or Jan.\or Apr.\or July\or Oct.\else\fi
|
|
1725 \hskip.5\@mojihaba \setcounter{年数}{1983}\addtocounter{年数}{\value{巻数}}
|
|
1726 \arabic{年数}}
|
|
1727
|
|
1728 \def\@evenheadcontents{コンピュータソフトウェア}
|
|
1729
|
|
1730 \def\ps@headings{\let\@mkboth\markboth
|
|
1731 \def\@oddfoot{}
|
|
1732 \def\@evenfoot{}
|
|
1733 \def\@evenhead{\normalsize
|
|
1734 \thepage\phantom{\thevolpage}\hfil\@evenheadcontents
|
|
1735 \hfil\phantom{\thepage}\thevolpage}
|
|
1736 \def\@oddhead{\normalsize
|
|
1737 \thevolpage\phantom{\thepage}\hfil\@oddheadcontents
|
|
1738 \hfil\phantom{\thevolpage}\thepage}
|
|
1739 \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\z@
|
|
1740 \thesection\hskip 1em\relax \fi ##1}}{}}
|
|
1741 \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
|
|
1742 \thesubsection\hskip 1em\relax \fi ##1}}}
|
|
1743
|
|
1744 \def\ps@hissha{\let\@mkboth\markboth
|
|
1745 \def\@oddfoot{}
|
|
1746 \def\@evenfoot{}
|
|
1747 \def\@evenhead{\vbox to221.5mm{\hbox to\textwidth{\normalsize
|
|
1748 \thepage\phantom{\thevolpage}\hfil{コンピュータソフトウェア}
|
|
1749 \hfil\phantom{\thepage}\thevolpage}\vskip3.5mm\rule{\textwidth}{0.1mm}\vfill\rule{\textwidth}{0.1mm}}}
|
|
1750 \def\@oddhead{\vbox to221.5mm{\hbox to\textwidth{\normalsize
|
|
1751 \thevolpage\phantom{\thepage}\hfil\@oddheadcontents
|
|
1752 \hfil\phantom{\thevolpage}\thepage}\vskip3.5mm\rule{\textwidth}{0.1mm}\vfill\rule{\textwidth}{0.1mm}}}
|
|
1753 \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\z@
|
|
1754 \thesection\hskip 1em\relax \fi ##1}}{}}
|
|
1755 \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
|
|
1756 \thesubsection\hskip 1em\relax \fi ##1}}}
|
|
1757
|
|
1758 \def\ps@hisshatop{\let\@mkboth\markboth
|
|
1759 \def\@oddfoot{}
|
|
1760 \def\@evenfoot{}
|
|
1761 \def\@evenhead{\vbox to221.5mm{\vskip.7mm\hbox to\textwidth{\normalsize
|
|
1762 \thepage\phantom{\thevolpage}\hfil\phantom{コンピュータソフトウェア}
|
|
1763 \hfil\phantom{\thepage}\thevolpage}\vskip3.5mm\rule{\textwidth}{0.1mm}\vfill\rule{\textwidth}{0.1mm}}}
|
|
1764 \def\@oddhead{\vbox to221.5mm{\vskip.7mm\hbox to\textwidth{\normalsize
|
|
1765 \thevolpage\phantom{\thepage}\hfil\phantom{\@oddheadcontents}
|
|
1766 \hfil\phantom{\thevolpage}\thepage}\vskip3.5mm\rule{\textwidth}{0.1mm}\vfill\rule{\textwidth}{0.1mm}}}
|
|
1767 \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\z@
|
|
1768 \thesection\hskip 1em\relax \fi ##1}}{}}
|
|
1769 \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
|
|
1770 \thesubsection\hskip 1em\relax \fi ##1}}}
|
|
1771
|
|
1772 \def\ps@newsheadings{\let\@mkboth\markboth
|
|
1773 %\newfont{\cmssi}{cmssi10 scaled \magstep1}
|
|
1774 %\def\cmssi{\usefont{OT1}{cmss}{m}{it}}
|
|
1775 \font\cmssi=cmssi10 scaled \magstep1
|
|
1776 \def\@oddfoot{}
|
|
1777 \def\@evenfoot{}
|
|
1778 \def\@evenhead{\vbox to20mm{\vskip.7mm\hbox to\textwidth{\normalsize
|
|
1779 \thepage\phantom{\thevolpage}\hfil{ }
|
|
1780 \hfil\phantom{\thepage}\thevolpage}\vskip2mm\hbox to\textwidth{%\hskip2mm
|
|
1781 \rule{29mm}{0.1mm}\hss\raisebox{-.5mm}{\cmssi NewsLetter}\hss\rule{97mm}{0.1mm}%\hskip2mm
|
|
1782 }\vfill}}
|
|
1783 \def\@oddhead{\vbox to20mm{\vskip.7mm\hbox to\textwidth{\normalsize
|
|
1784 \thevolpage\phantom{\thepage}\hfil{ }
|
|
1785 \hfil\phantom{\thevolpage}\thepage}\vskip2mm\hbox to\textwidth{%\hskip2mm
|
|
1786 \rule{29mm}{0.1mm}\hss\raisebox{-.5mm}{\cmssi NewsLetter}\hss\rule{97mm}{0.1mm}%\hskip2mm
|
|
1787 }\vfill}}
|
|
1788 \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\z@
|
|
1789 \thesection\hskip 1em\relax \fi ##1}}{}}
|
|
1790 \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
|
|
1791 \thesubsection\hskip 1em\relax \fi ##1}}}
|
|
1792
|
|
1793 \def\ps@myindexheadings{\let\@mkboth\markboth
|
|
1794 %\newfont{\cmssi}{cmssi10 scaled \magstep1}
|
|
1795 %\def\cmssi{\usefont{OT1}{cmss}{m}{it}}
|
|
1796 \font\cmssi=cmssi10 scaled \magstep1
|
|
1797 \def\@oddfoot{}
|
|
1798 \def\@evenfoot{}
|
|
1799 \def\@evenhead{\vbox to20mm{\vskip.7mm\hbox to\textwidth{\normalsize
|
|
1800 \thepage\phantom{\thevolpage}\hfil{ }
|
|
1801 \hfil\phantom{\thepage}\thevolpage}\vskip2mm\hbox to\textwidth{\hskip2mm\rule{27mm}{0.1mm}\hss\raisebox{-.5mm}{\cmssi NewsLetter}\hss\rule{95mm}{0.1mm}\hskip2mm}\vfill}}
|
|
1802 \def\@oddhead{\vbox to20mm{\vskip.7mm\hbox to\textwidth{\normalsize
|
|
1803 \thevolpage\phantom{\thepage}\hfil{ }
|
|
1804 \hfil\phantom{\thevolpage}\thepage}\vskip2mm\hbox to\textwidth{\hskip2mm\rule{27mm}{0.1mm}\hss\raisebox{-.5mm}{\cmssi NewsLetter}\hss\rule{95mm}{0.1mm}\hskip2mm}\vfill}}
|
|
1805 \def\sectionmark##1{\markboth {\uppercase{\ifnum \c@secnumdepth>\z@
|
|
1806 \thesection\hskip 1em\relax \fi ##1}}{}}
|
|
1807 \def\subsectionmark##1{\markright{\ifnum \c@secnumdepth >\@ne
|
|
1808 \thesubsection\hskip 1em\relax \fi ##1}}}
|
|
1809
|
|
1810 \def\ps@myheadings{\let\@mkboth\@gobbletwo
|
|
1811 \def\@oddhead{\normalsize \thevolpage\hfil\thepage}
|
|
1812 \def\@oddfoot{}
|
|
1813 \def\@evenfoot{}
|
|
1814 \def\@evenhead{\normalsize \thepage\hfil\thevolpage}
|
|
1815 \def\sectionmark##1{}\def\subsectionmark##1{}}
|
|
1816
|
|
1817 \pagestyle{headings}
|
|
1818 \pagenumbering{arabic}
|
|
1819
|
|
1820 \def\tablename{表}
|
|
1821 \def\figurename{図}
|
|
1822
|
|
1823 \if@LaTeX@e
|
|
1824 \ifASCII
|
|
1825 \def\bf{\normalfont\gtfamily\bfseries}
|
|
1826 \fi
|
|
1827 \else
|
|
1828 \def\bf{\protect\pdg\protect\pbf}
|
|
1829 \fi
|
|
1830
|
|
1831 \def\today{\the\year 年 \the\month 月 \the\day 日}
|
|
1832
|
|
1833 \def\sloppy{\tolerance 9000 \hfuzz .5\p@ \vfuzz .5\p@}
|
|
1834
|
|
1835 \flushbottom
|
|
1836
|
|
1837
|
|
1838
|
|
1839 % To balance the final page,
|
|
1840 % following code is borrowed from nicetwocolumn style
|
|
1841 \newdimen\dimen@@
|
|
1842
|
|
1843 \def\balancecolumns{\setbox0\vbox{\unvbox\@outputbox} \dimen@@=\ht0
|
|
1844 \advance\dimen@@ by\topskip \advance\dimen@@ by-\baselineskip
|
|
1845 \divide\dimen@@ by2 \splittopskip=\topskip
|
|
1846 {\vbadness=10000 \loop \global\setbox3=\copy0
|
|
1847 \global\setbox1=\vsplit3 to\dimen@@
|
|
1848 \ifdim\ht3>\dimen@@ \global\advance\dimen@@ by1pt\repeat}
|
|
1849 \ifdim\dimen@@>\textheight \dimen@@=\textheight\fi
|
|
1850 \setbox0=\vbox to \dimen@@{\unvbox1} \setbox2=\vbox to \dimen@@{\unvbox3}
|
|
1851 \if\ht0>\ht2 \setbox2=\vbox to\ht0{\unvbox2}\dimen@@=\ht0\else
|
|
1852 \if\ht2>\ht0 \setbox0=\vbox to\ht2{\unvbox0}\dimen@@=\ht2\fi\fi
|
|
1853 \wd0=\hsize \wd2=\hsize
|
|
1854 %\message{in balancecolumns dimen@@=\the\dimen@@, dp0=\the\dp0, dp2=\the\dp2}
|
|
1855 \ifdim\dp0>\dp2\advance\dimen@@ by\dp0\else\advance\dimen@@ by\dp2\fi
|
|
1856 \setbox\@outputbox\vbox to\dimen@@{\hbox to\textwidth{\box0\hfil\box2}\vfill}}
|
|
1857
|
|
1858
|
|
1859 % you can refrain from balancing by falsifying following switch!
|
|
1860 \newif\if@lastpagebalancing \@lastpagebalancingtrue % default is to balance
|
|
1861
|
|
1862 % incorporate balanced output to \enddocument
|
|
1863 \def\enddocument{\if@lastpagebalancing \global\let\@outputdblcol=\balancing@outputdblcol\fi%
|
|
1864 \@checkend{document}\clearpage
|
|
1865 \begingroup
|
|
1866 \if@filesw \immediate\closeout\@mainaux
|
|
1867 \def\global\@namedef##1##2{}\def\newlabel{\@testdef r}%
|
|
1868 \def\bibcite{\@testdef b}\@tempswafalse \makeatletter\input \jobname.aux
|
|
1869 \if@tempswa \@warning{Label(s) may have changed. Rerun to get
|
|
1870 cross-references right}\fi\fi\endgroup
|
|
1871 \deadcycles\z@\@@end}
|
|
1872
|
|
1873 \newlength{\@interlinegap}
|
|
1874
|
|
1875 % to change \interlinegap appropriately at appropriate time
|
|
1876 \def\@outputdblcol{\if@firstcolumn \global\@firstcolumnfalse
|
|
1877 \global\setbox\@leftcolumn\box\@outputbox
|
|
1878 % Following interlinegap value may be wrong!!
|
|
1879 % It is set to gap+depth for normalsize, and depth(2.031999Q) for footnotesize.
|
|
1880 % This setting is inconsistent, but seems to work properly now.
|
|
1881 %\ifx \@currsize\normalsize \global\@interlinegap 8.54815pt\else% setup
|
|
1882 % reset to 10Q after final page footnote hack!
|
|
1883 \ifx \@currsize\normalsize \global\@interlinegap 10\Q\else% setup
|
|
1884 \ifx \@currsize\footnotesize \global\@interlinegap 2.03199\Q\else% appropriate
|
|
1885 \ifx \@currsize\small \global\@interlinegap 3.08713pt\fi\fi\fi% gap here!
|
|
1886 \else \global\@firstcolumntrue
|
|
1887 \if@leftfootnoteexist\setbox\@leftcolumn\vbox to\@colht{\boxmaxdepth\maxdepth
|
|
1888 \@texttop\dimen128=\dp\@leftcolumn
|
|
1889 \unvbox\@leftcolumn\vskip\skip\footins\footnoterule%
|
|
1890 %\message{in outputdblcol leftcolumnfootnote=ht:\the\ht\@leftcolumnfootnote, dp:\the\dp\@leftcolumnfootnote, wd:\the\wd\@leftcolumnfootnote}
|
|
1891 \unvbox\@leftcolumnfootnote
|
|
1892 \vskip-\dimen128\@textbottom}
|
|
1893 \global\maxdepth\@maxdepth\else
|
|
1894 \setbox\@leftcolumn\vbox to\@colht{\boxmaxdepth\maxdepth
|
|
1895 \@texttop\dimen128=\dp\@leftcolumn
|
|
1896 \unvbox\@leftcolumn\vfill%
|
|
1897 \vskip-\dimen128\@textbottom}
|
|
1898 \global\maxdepth\@maxdepth\fi
|
|
1899 \if@rightfootnoteexist\setbox\@outputbox\vbox to\@colht{\boxmaxdepth\maxdepth
|
|
1900 \@texttop\dimen128=\dp\@outputbox
|
|
1901 \unvbox\@outputbox\vskip\skip\footins\footnoterule%
|
|
1902 %\message{in outputdblcol rightcolumnfootnote=ht:\the\ht\@rightcolumnfootnote, dp:\the\dp\@rightcolumnfootnote, wd:\the\wd\@rightcolumnfootnote}
|
|
1903 \unvbox\@rightcolumnfootnote
|
|
1904 \vskip-\dimen128\@textbottom}
|
|
1905 \global\maxdepth\@maxdepth\else
|
|
1906 \setbox\@outputbox\vbox to\@colht{\boxmaxdepth\maxdepth
|
|
1907 \@texttop\dimen128=\dp\@outputbox
|
|
1908 \unvbox\@outputbox\vfill%
|
|
1909 \vskip-\dimen128\@textbottom}
|
|
1910 \global\maxdepth\@maxdepth\fi
|
|
1911 \setbox\@outputbox\vbox{\hbox to\textwidth{\hbox to\columnwidth
|
|
1912 {\box\@leftcolumn \hss}\hfil \vrule width\columnseprule\hfil
|
|
1913 \hbox to\columnwidth{\box\@outputbox \hss}}}\@combinedblfloats
|
|
1914 \@outputpage \begingroup \@dblfloatplacement \@startdblcolumn
|
|
1915 \@whilesw\if@fcolmade \fi{\@outputpage\@startdblcolumn}\endgroup
|
|
1916 \fi}
|
|
1917
|
|
1918 \def\balancing@outputdblcol{\if@firstcolumn %\global\@firstcolumnfalse
|
|
1919 \else \global\@firstcolumntrue
|
|
1920 \setbox\@outputbox\vbox{\unvbox\@leftcolumn\vskip\@interlinegap%
|
|
1921 \penalty\interlinepenalty\unvbox\@outputbox}
|
|
1922 \fi
|
|
1923 \balancecolumns \@combinedblfloats
|
|
1924 \if@leftfootnoteexist\setbox\@outputbox\vbox to\@colht{\boxmaxdepth\maxdepth
|
|
1925 \@texttop\dimen128=\dp\@outputbox
|
|
1926 \unvbox\@outputbox\vfill\vskip\skip\footins\footnoterule%
|
|
1927 %\message{in balancing@outputdblcol leftcolumnfootnote=ht:\the\ht\@leftcolumnfootnote, dp:\the\dp\@leftcolumnfootnote, wd:\the\wd\@leftcolumnfootnote}
|
|
1928 \unvbox\@leftcolumnfootnote
|
|
1929 \if@rightfootnoteexist
|
|
1930 %\message{in balancing@outputdblcol rightcolumnfootnote=ht:\the\ht\@rightcolumnfootnote, dp:\the\dp\@rightcolumnfootnote, wd:\the\wd\@rightcolumnfootnote}
|
|
1931 \unvbox\@rightcolumnfootnote\fi
|
|
1932 \vskip-\dimen128
|
|
1933 \@textbottom}
|
|
1934 \global\maxdepth\@maxdepth\fi
|
|
1935 \@outputpage \begingroup \@dblfloatplacement \@startdblcolumn
|
|
1936 \@whilesw\if@fcolmade \fi{\@outputpage\@startdblcolumn}\endgroup}
|
|
1937
|
|
1938 \newbox\@leftcolumnfootnote \newbox\@rightcolumnfootnote
|
|
1939 \newif\if@leftfootnoteexist \newif\if@rightfootnoteexist
|
|
1940
|
|
1941 % Extra \@texttop somehow found its way into \@makecol. Deleted
|
|
1942 % 1 Dec 86. (Found by Mike Harrison)
|
|
1943
|
|
1944 \def\@makecol{\if@twocolumn
|
|
1945 \if@firstcolumn
|
|
1946 \ifvoid\footins \setbox\@outputbox\box\@cclv
|
|
1947 %\message{in makecol @outputbox=(\the\ht\@outputbox, \the\dp\@outputbox, \the\wd\@outputbox)}
|
|
1948 \global\@leftfootnoteexistfalse
|
|
1949 \else\global\@leftfootnoteexisttrue
|
|
1950 \setbox\@outputbox\box\@cclv
|
|
1951 %\message{in makecol with foot @outputbox=(\the\ht\@outputbox, \the\dp\@outputbox, \the\wd\@outputbox)}
|
|
1952 \global\setbox\@leftcolumnfootnote\box\footins
|
|
1953 %\message{in makecol leftcolumnfootnote=ht:\the\ht\@leftcolumnfootnote, dp:\the\dp\@leftcolumnfootnote, wd:\the\wd\@leftcolumnfootnote}
|
|
1954 \fi
|
|
1955 \xdef\@freelist{\@freelist\@midlist}\gdef\@midlist{}\@combinefloats
|
|
1956 \else %if@firstcolumn
|
|
1957 \ifvoid\footins \setbox\@outputbox\box\@cclv
|
|
1958 %\message{in makecol right @outputbox=(\the\ht\@outputbox, \the\dp\@outputbox, \the\wd\@outputbox)}
|
|
1959 \global\@rightfootnoteexistfalse
|
|
1960 \else\global\@rightfootnoteexisttrue
|
|
1961 \setbox\@outputbox\box\@cclv
|
|
1962 %\message{in makecol right with foot @outputbox=(\the\ht\@outputbox, \the\dp\@outputbox, \the\wd\@outputbox)}
|
|
1963 \global\setbox\@rightcolumnfootnote\box\footins
|
|
1964 %\message{in makecol rightcolumnfootnote=ht:\the\ht\@rightcolumnfootnote, dp:\the\dp\@rightcolumnfootnote, wd:\the\wd\@rightcolumnfootnote}
|
|
1965 \fi
|
|
1966 \xdef\@freelist{\@freelist\@midlist}\gdef\@midlist{}\@combinefloats
|
|
1967 \fi %if@firstcolumn
|
|
1968 \else % if@twocolumn
|
|
1969 \ifvoid\footins \setbox\@outputbox\box\@cclv
|
|
1970 \else\setbox\@outputbox
|
|
1971 \vbox{\boxmaxdepth \maxdepth
|
|
1972 \unvbox\@cclv\vskip\skip\footins\footnoterule\unvbox\footins}\fi
|
|
1973 \xdef\@freelist{\@freelist\@midlist}\gdef\@midlist{}\@combinefloats
|
|
1974 \setbox\@outputbox\vbox to\@colht{\boxmaxdepth\maxdepth
|
|
1975 \@texttop\dimen128=\dp\@outputbox\unvbox\@outputbox
|
|
1976 \vskip-\dimen128\@textbottom}%
|
|
1977 \global\maxdepth\@maxdepth
|
|
1978 \fi}
|
|
1979
|
|
1980
|
|
1981
|
|
1982 \if@LaTeX@e
|
|
1983 \long\def\@footnotetext#1{\insert\footins{%
|
|
1984 \reset@font\footnotesize
|
|
1985 \interlinepenalty\interfootnotelinepenalty
|
|
1986 \splittopskip\footnotesep
|
|
1987 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
|
|
1988 \hsize\columnwidth \@parboxrestore\leftskip10\Q
|
|
1989 \ifnum\value{footnote}>9\hangindent=20\Q\advance\hangindent by 5.2pt
|
|
1990 \else\hangindent=20\Q\fi \hangafter=1
|
|
1991 \protected@edef\@currentlabel{%
|
|
1992 \csname p@footnote\endcsname\@thefnmark
|
|
1993 }%
|
|
1994 \color@begingroup
|
|
1995 \@makefntext{%
|
|
1996 \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
|
|
1997 \color@endgroup}}%
|
|
1998 \else
|
|
1999 \long\def\@footnotetext#1{\insert\footins{\footnotesize
|
|
2000 \interlinepenalty\interfootnotelinepenalty
|
|
2001 \splittopskip\footnotesep
|
|
2002 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
|
|
2003 \hsize\columnwidth \@parboxrestore\leftskip10\Q
|
|
2004 % extra indent of 5.2pt is decided empirically, roughly the width of a digit
|
|
2005 \ifnum\value{footnote}>9\hangindent=20\Q\advance\hangindent by 5.2pt
|
|
2006 \else\hangindent=20\Q\fi \hangafter=1
|
|
2007 % \hangindent=20\Q \hangafter=1
|
|
2008 \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
|
|
2009 {\rule{\z@}{\footnotesep}\ignorespaces#1\strut}}}
|
|
2010 \fi
|
|
2011
|
|
2012 \long\def\@makefntext#1{\noindent$\@thefnmark$\hskip10\Q #1}
|
|
2013
|
|
2014 \def\@makefnmark{\smash{\hbox{$^{\@thefnmark}$}}} % smashed to make it
|
|
2015 % zero height
|
|
2016
|
|
2017 \def\thefootnote{\mbox{\dag}\arabic{footnote}}
|
|
2018
|
|
2019 % Following \footnoterule is changed to make a gap between footnoterule
|
|
2020 % and first footnote text about 2Q.
|
|
2021 %\def\footnoterule{\kern-3\p@ \hrule width 35mm \kern 2.6\p@}
|
|
2022 \def\footnoterule{\kern0\p@ \hrule width 35mm \kern-0.4\p@}
|
|
2023
|
|
2024
|
|
2025 \def\thanks#1{\footnotemark\begingroup
|
|
2026 \def\protect{\noexpand\protect\noexpand}\xdef\@thanks{\@thanks
|
|
2027 \protect\specialfootnotetext[\the\c@footnote]{\noindent #1}}\endgroup}
|
|
2028
|
|
2029 \def\specialfootnotetext{\@ifnextchar
|
|
2030 [{\@specialxfootnotenext}{\xdef\@thefnmark{\thempfn}\@specialfootnotetext}}
|
|
2031
|
|
2032 \def\@specialxfootnotenext[#1]{\begingroup \csname c@\@mpfn\endcsname #1\relax
|
|
2033 \xdef\@thefnmark{\thempfn}\endgroup \@specialfootnotetext}
|
|
2034
|
|
2035 \def\@mpfn{footnote}
|
|
2036 \def\thempfn{\thefootnote}
|
|
2037
|
|
2038 \long\def\@specialfootnotetext#1{\insert\footins{\footnotesize
|
|
2039 \interlinepenalty\interfootnotelinepenalty
|
|
2040 \splittopskip\footnotesep
|
|
2041 \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
|
|
2042 \hsize\columnwidth \@parboxrestore\leftskip10\Q
|
|
2043 \hangindent=10\Q \hangafter=1
|
|
2044 \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@specialmakefntext
|
|
2045 {\rule{\z@}{\footnotesep}\ignorespaces#1\strut}}}
|
|
2046
|
|
2047 \long\def\@specialmakefntext#1{\noindent\llap{$\@thefnmark$ }#1}
|
|
2048
|
|
2049
|
|
2050
|
|
2051 % to add extra space before citation by yamanouchi
|
|
2052 \def\cite{{\hskip 1pt}\@ifnextchar [{\@tempswatrue\@citex}{\@tempswafalse\@citex[]}}
|
|
2053
|
|
2054 \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
|
2055 \def\@citea{}%
|
|
2056 {\footnotesize\@for\@citeb:=#2\do
|
|
2057 % {\@citea\def\@citea{\penalty\@m\ }%
|
|
2058 {\@citea\def\@citea{\penalty\@m{\hskip 1pt}}%
|
|
2059 \@ifundefined{b@\@citeb}%
|
|
2060 {{\bf ?}\@warning{Citation
|
|
2061 `\@citeb' on page \thepage \space undefined}}%
|
|
2062 \hbox{[\csname b@\@citeb\endcsname]}}}}
|
|
2063
|
|
2064 % to make citations within sentences 11.5Q (same as other characters)
|
|
2065 % new command \Cite similar to \cite is defined as follows.
|
|
2066 % (normally citation numbers are typeset using \footnotesize)
|
|
2067 \def\Cite{{\hskip 1pt}\@ifnextchar [{\@tempswatrue\@Citex}{\@tempswafalse\@Citex[]}}
|
|
2068
|
|
2069 \def\@Citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
|
2070 \def\@citea{}%
|
|
2071 {\@for\@citeb:=#2\do
|
|
2072 % {\@citea\def\@citea{\penalty\@m\ }%
|
|
2073 {\@citea\def\@citea{\penalty\@m{\hskip 1pt}}%
|
|
2074 \@ifundefined{b@\@citeb}%
|
|
2075 {{\bf ?}\@warning{Citation
|
|
2076 `\@citeb' on page \thepage \space undefined}}%
|
|
2077 \hbox{[\csname b@\@citeb\endcsname]}}}}
|
|
2078
|
|
2079 % you must place 1-moji space just right of eqation number
|
|
2080 \def\@eqnnum{{\rm (\theequation)\hskip\@mojihaba}}
|
|
2081
|
|
2082
|
|
2083
|
|
2084 % height adjusting environment
|
|
2085 % you must use this as separate paragraph
|
|
2086
|
|
2087 \newbox\adjustbox
|
|
2088 \newdimen\adjustheight
|
|
2089 \newcount\adjustlinecount
|
|
2090
|
|
2091 \newenvironment{adjustvboxheight}{%\message{prevdepth=\the\prevdepth}
|
|
2092 \vskip-\prevdepth\vskip1.4454pt % to cancel out various depth and set
|
|
2093 % it to normal 1.445pt. For this to
|
|
2094 % work properly, it is necessary to use
|
|
2095 % this environment as a separate paragraph!!
|
|
2096 \global\setbox\adjustbox=\vbox\bgroup%
|
|
2097 \hsize\columnwidth }{\egroup%
|
|
2098 \adjustheight=\ht\adjustbox%
|
|
2099 \advance\adjustheight \dp\adjustbox%
|
|
2100 \divide\adjustheight\baselineskip \adjustlinecount=\adjustheight%
|
|
2101 \advance\adjustlinecount by 1 %
|
|
2102 \adjustheight=\adjustlinecount\baselineskip%
|
|
2103 % you must ajust the position of top box somehow!!!
|
|
2104 \vskip-.5\Q\vskip-1.445pt\vspace*{.5\Q}\vspace*{1.445pt}%
|
|
2105 %\fboxrule=0.01pt\fboxsep=0pt% for debugging
|
|
2106 \vskip5\Q % = 1/2 gap
|
|
2107 %\noindent\fbox{\vbox to\adjustheight{\vfil\box\adjustbox\vfil}}%
|
|
2108 \noindent\vbox to\adjustheight{\vfil\box\adjustbox\vfil}%
|
|
2109 \vskip-5\Q % = 1/2 gap
|
|
2110 \vskip-1.445pt\noindent}
|
|
2111
|
|
2112 \clubpenalty=-1000 \widowpenalty=-1000 % we allow club and widow lines ?
|
|
2113 \displaywidowpenalty=-1000
|
|
2114
|
|
2115 % The following redefinition influences \linebreak etc.
|
|
2116 \def\sloppy{\tolerance 9999 \hfuzz .5\p@ \vfuzz .5\p@}
|
|
2117
|
|
2118 % use twocolumn instead of multicol
|
|
2119 \twocolumn
|
|
2120
|
|
2121 \vbadness10001 \hbadness5000
|
|
2122 \tolerance 9999 \pretolerance\m@ne
|
|
2123
|
|
2124 \@options
|
|
2125
|
|
2126 \@ifundefined{@maketitle}{\ds@ronbun}{} % to setup default title style
|
|
2127
|
|
2128
|
|
2129 \if@LaTeX@e
|
|
2130 \ifASCII
|
|
2131 \DeclareFontShape{JY1}{mc}{m}{it}{<->ssub*mc/m/n}{}
|
|
2132 \DeclareFontShape{JT1}{mc}{m}{it}{<->ssub*mc/m/n}{}
|
|
2133 \DeclareFontShape{JY1}{mc}{m}{sl}{<->ssub*mc/m/n}{}
|
|
2134 \DeclareFontShape{JT1}{mc}{m}{sl}{<->ssub*mc/m/n}{}
|
|
2135 \DeclareFontShape{JY1}{mc}{m}{sc}{<->ssub*mc/m/n}{}
|
|
2136 \DeclareFontShape{JT1}{mc}{m}{sc}{<->ssub*mc/m/n}{}
|
|
2137
|
|
2138 \DeclareFontShape{JY1}{gt}{m}{it}{<->ssub*gt/m/n}{}
|
|
2139 \DeclareFontShape{JT1}{gt}{m}{it}{<->ssub*gt/m/n}{}
|
|
2140 \DeclareFontShape{JY1}{gt}{m}{sl}{<->ssub*gt/m/n}{}
|
|
2141 \DeclareFontShape{JT1}{gt}{m}{sl}{<->ssub*gt/m/n}{}
|
|
2142 \DeclareFontShape{JY1}{gt}{m}{sc}{<->ssub*gt/m/n}{}
|
|
2143 \DeclareFontShape{JT1}{gt}{m}{sc}{<->ssub*gt/m/n}{}
|
|
2144
|
|
2145 \DeclareFontShape{JY1}{mc}{bx}{it}{<->ssub*gt/m/n}{}
|
|
2146 \DeclareFontShape{JT1}{mc}{bx}{it}{<->ssub*gt/m/n}{}
|
|
2147 \DeclareFontShape{JY1}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
|
|
2148 \DeclareFontShape{JT1}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
|
|
2149 \DeclareFontShape{JY1}{mc}{bx}{sc}{<->ssub*gt/m/n}{}
|
|
2150 \DeclareFontShape{JT1}{mc}{bx}{sc}{<->ssub*gt/m/n}{}
|
|
2151 \fi
|
|
2152 \fi
|
|
2153
|
|
2154 \newcommand{\:}{\hbox to1zw{\hss:\hss}}
|
|
2155
|
|
2156 \endinput
|