comparison paper/ipsjtech.sty @ 4:479585f6ef28

Add original LaTeX files
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Tue, 28 Jun 2016 15:01:49 +0900
parents
children
comparison
equal deleted inserted replaced
3:e0c3ca74ae3b 4:479585f6ef28
1
2 % ipsjtech.sty (C) 2012 Information Processing Society of Japan
3 % Copyright (C) 1995-2010 by Hiroshi Nakashima, Yasuki Saito and
4 % The Editorial Board of the IPSJ Journal
5
6
7
8 \NeedsTeXFormat{LaTeX2e}
9 \ProvidesPackage{ipsj}
10 % [2012/03/26-05/02 v1.00-2.00 IPSJTECH.STY]
11 [2012/06/01 v3.00 IPSJTECH.STY]
12
13
14
15
16 %%%%%%%%
17 %techrep
18 %%%%%%%%
19 \def\biography{\ipsjnobiography}
20 \def\endbiography{\ipsjendnobiography}
21
22 \def\ipsjnobiography{\let\profile\@gobble
23 \ifDS@english \let\author\@gobble \fi
24 \let\adjust\@gobble \setbox0\vbox\bgroup
25 \tolerance\@M \hbadness\@M \hfuzz\maxdimen}
26 \def\ipsjendnobiography{\egroup\setbox0\hbox{}}
27
28
29
30
31 \def\@uketsuke{%
32 \leavevmode%
33 \phantom{@received}
34 \@ifundefined{@rereceived}{\phantom{, }}{%
35 \phantom{\@rereceived}
36 \@ifundefined{@rerereceived}{\phantom{, }}{\phantom{\@rerereceived}}%
37 \par
38 }%
39 \phantom{\@accepted}%
40 \@ifundefined{@released}{}{, \@released}%
41 }
42
43
44 \def\@euketsuke{%
45 \leavevmode%
46 \phantom{\@ereceived}
47 \@ifundefined{@erereceived}{\phantom{, }}{%
48 \phantom{\@erereceived}
49 \@ifundefined{@ererereceived}{\phantom{, }}{\phantom{\@ererereceived}}%
50 \par
51 }%
52 \phantom{\@eaccepted}
53 }
54
55
56
57
58
59 %%
60 \def\SIGHead{\ifDS@english%
61 {IPSJ SIG Technical Report}%
62 \else 情報処理学会研究報告\fi}%%
63 %
64
65 \def\signame@DAM{\ifDS@english%
66 IPSJ SIG Technical Report%
67 \else 情報処理学会研究報告\fi}%%
68
69
70
71 \def\signame@ACS{\SIGHead}
72 \def\signame@PRO{\SIGHead}
73 \def\signame@TOM{\SIGHead}
74 \def\signame@TOD{\SIGHead}
75 \def\signame@CDS{\SIGHead}
76 \def\signame@CVA{\SIGHead}
77 \def\signame@TBIO{\SIGHead}
78 \def\signame@SLDM{\SIGHead}
79 \def\signame@JIP{\SIGHead}
80
81
82 \def\HeadfontE{%
83 \ifDS@english
84 \fontsize{13\Q}{0\h}\sffamily\bfseries\selectfont%
85 \else
86 \fontsize{13\Q}{0\h}\bfseries\selectfont%
87 \fi
88 }
89
90 \def\DOIHeadfont{\fontsize{11\Q}{0\h}%\usefont{OT1}{phv}{m}{n}\selectfont
91 \selectfont}
92
93
94
95 %%%<<<< 1.02
96 \ifDS@english
97 \def\ps@IPSJTITLEheadings{%
98 \def\@oddhead{\@Ltop%
99 \rlap{\small{%%
100 %%
101 {\HeadfontE{\signame}}%%
102 }}%
103 %%%%%
104 %}}}}%
105 \hfil\@Rtop}%
106 %%%%%
107 \let\@evenhead\@oddhead
108 \def\@oddfoot{\@Lbot%
109 \rlap{%\fontsize{10\Q}{0\h}%
110 {\bothashira%
111 \copyright \ {\@footyear} Information Processing Society of Japan%
112 }}%
113 \hfil
114 {\botnomble
115 {\thepage}
116 \@Rbot}%
117 \let\@evenfoot\@oddfoot
118 \let\@mkboth\@gobbletwo
119 }}
120 %%%
121 %%%%%%%%%
122 \else
123 %%%%%%%%%
124 %%%
125 \def\ps@IPSJTITLEheadings{%
126 \def\@oddhead{\@Ltop%
127 \rlap{\small%
128 %%
129 {\HeadfontJ{\signame}}%%
130 %%%%%
131 {%%
132 \ifDS@abstract\else\fi
133 }}%
134 %%%%
135 \smash{\raisebox{-4mm}{\rlap{%
136 {\DOIHeadfont%%
137 IPSJ SIG Technical Report%
138 }%
139 }}}%
140 \hfil\@Rtop}%
141 %%
142 \let\@evenhead\@oddhead
143 \def\@oddfoot{\@Lbot%
144 \rlap{%
145 {\bothashira%
146 {\textcopyrighttx} \ {\@footyear} Information Processing Society of Japan%
147 }}%
148 \hfil%
149 {\botnomble%
150 {\thepage}}%
151 \@Rbot}%
152 \let\@evenfoot\@oddfoot
153 \let\@mkboth\@gobbletwo
154 }
155 \fi
156
157
158
159
160
161 %==========================================
162
163 \newif\if@ET
164 \def\etitle#1{\global\@ETtrue%
165 \gdef\@etitle{#1}}
166
167 \newif\if@JK
168
169 \def\jkeyword{\@par%
170 \global\@JKtrue%
171 \global\setbox\@jkeywordbox\hbox\bgroup
172 \begin{minipage}[t]{.8\textwidth}%
173 \fontsize{12\JQ}{15\h}\selectfont%
174 {\noindent{\JKEYWORD}}%
175 \ignorespaces}
176 \def\endjkeyword{%
177 \par\end{minipage}%
178 \egroup\ignorespaces}
179
180
181
182 \newif\if@EAB
183
184 \def\eabstract{%
185 \global\@EABtrue%
186 \global\setbox\@eabstractbox\hbox\bgroup%
187 \begin{minipage}[t]{.8\textwidth}% 12Q 16H
188 \fontsize{12\Q}{15\h}\selectfont%
189 \noindent{\EGAIYOU}%
190 \ignorespaces}
191
192
193
194 \newif\if@EK
195
196 \def\ekeyword{\@par%
197 \global\@EKtrue%
198 \global\setbox\@ekeywordbox\hbox\bgroup
199 \begin{minipage}[t]{.8\textwidth}%
200 \fontsize{12\Q}{15\h}\selectfont%
201 {\noindent{\EKEYWORD}}%
202 \ignorespaces}
203 \def\endekeyword{%
204 \par\end{minipage}%
205 \egroup\ignorespaces}
206
207
208
209 \def\@maketitle{%
210 \newpage\null
211 %%%%%%%%%%
212 \ifDS@english
213 %%
214 \vskip-1.3mm%<--
215 \ifx\SHUBETUname\relax%
216 {\SHUBETUfontE{\vphantom{\SHUBETUname@DEF}}}%%
217 \else
218 {\SHUBETUfontE{\vphantom{\SHUBETUname}}}%%
219 \fi
220 %%
221 \else
222 \ifx\SHUBETUname\relax%
223 {\SHUBETUfontJ{\SHUBETUname@DEF}}%%
224 \else
225 {\SHUBETUfontJ{\SHUBETUname}}%%
226 \fi\fi
227 %%%%%%%%%%%%%%%%%
228 %%%%%%%%%%%%%%%%%%%%%%%%
229 \vskip\shubetutitlesep%
230 %%%%%%%%%%%%%%%%%%%%%%%%
231 %%
232 %\vskip 10mm%
233 \begin{center}
234 \authortitle %%<---
235 \end{center}
236 %%%%%%%%%%%%%%%%%%%
237 %
238 }
239
240
241
242
243
244
245 \ifDS@english
246 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
247 \def\authortitle{%
248 {\Engtitlefont%
249 {\@title}\par}
250 %%%%%%%%%%%%%%%%%%%%%%%
251 \vskip\Etitleauthorsep%
252 %%%%%%%%%%%%%%%%%%%%%%%
253 {\Engeauthorfont%
254 \authoroutput{e}\par}%
255 %%%%%%%%%%%%%%%%%%%%%%%%%
256 \vskip\Eauthorreceivesep%
257 %%%%%%%%%%%%%%%%%%%%%%%%%
258 {\Enguketukefont%
259 {\@uketsuke}\par}%
260 %%%%%%%%%%%%%%%%%%%%%%%
261 \vskip\Ereceiveabstsep%
262 %%%%%%%%%%%%%%%%%%%%%%%
263 \mbox{\box\@abstractbox}\par%
264 %%%%%%%%%%%%%%%%%%%%%%%
265 \vskip\Eabstkeywordsep%
266 %%%%%%%%%%%%%%%%%%%%%%%
267 \let\@keywordbox\@ekeywordbox
268 \mbox{\box\@ekeywordbox}\par%
269 %%%%%%%%%%%%%%%%%%%
270 \vskip\JEhonbunsep%
271 %%%%%%%%%%%%%%%%%%%
272 }
273 %===========
274 \else
275 %==========
276 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
277 \def\authortitle{%
278 {\jtitlefont%
279 {\@title}\par}%
280 %%%%%%%%%%%%%%%%%%%%%%%%
281 \vskip\Jtitlejauthorsep%
282 %%%%%%%%%%%%%%%%%%%%%%%%
283 %======
284 {\authorfont%
285 \authoroutput{}\par}%
286 %%%%%%%%%%%%%%%%%%%%%%%%%%
287 \vskip\Jauthorjreceivesep%
288 %%%%%%%%%%%%%%%%%%%%%%%%%%
289 %======
290 {\juketukefont%
291 {\@uketsuke}\par}%
292 %%%%%%%%%%%%%%%%%%%%%%%%
293 \vskip\Jreceivejabstsep%
294 %%%%%%%%%%%%%%%%%%%%%%%%
295 \mbox{\box\@abstractbox}\par%
296 %%%%%%%%%%%%%%%%%%%%%%%%
297 \if@JK%<-----
298 \vskip\Jabstsepjkeyword%
299 %
300 \mbox{\box\@jkeywordbox}\par%
301 \fi%<-----
302 \if@ET%<-----
303 %%%%%%%%%%%%%%%%%%%%%%
304 \vskip\Jkeywordetitle%
305 %%%%%%%%%%%%%%%%%%%%%%
306 {\etitlefont%
307 {\bfseries{\@etitle}}}\par%
308 \fi%<-----
309 %%%%%%%%%%%%%%%%%%%%%%
310 \ifDS@noauthor%%%%!!!!!!!!!!!!!!
311 \else%
312 \vskip\Jetitleeauthor%
313 %%%%%%%%%%%%%%%%%%%%%%
314 %% eauthor
315 {\eauthorfont%
316 \authoroutput{e}
317 \par}%
318 \vskip\Jeauthorereceivesep%
319 \fi%%%%%%!!!!!!!!!!!!!!!!!
320 %%%%%%%%%%%%%%%%%%%%%%%%%%%
321 %\ifDS@noauthor%%%%!!!!!!!!!!!!!!
322 %\else%%
323 %%%%%%%%%%%%%%%%%%%%%%%%%%%
324 {\euketukefont%
325 {\@euketsuke}\par}%
326 %\fi%%%!!!!
327 %%%%%%%%%%%%%%%%%%%%%%%%%
328 \if@EAB%<-----
329 \vskip\Jereceiveeabstsep%
330 %%%%%%%%%%%%%%%%%%%%%%%%%
331 \mbox{\box\@eabstractbox}\par%
332 \fi%<-----j
333 \if@EK%<-----
334 %%%%%%%%%%%%%%%%%%%%%%%%%
335 \vskip\Jeabstekeywordsep%
336 %%%%%%%%%%%%%%%%%%%%%%%%%
337 \mbox{\box\@ekeywordbox}\par%
338 \fi%<-----
339 %%%%%%%%%%%%%%%%%%%
340 \vskip\JEhonbunsep%
341 %%%%%%%%%%%%%%%%%%%
342 }
343 \fi
344
345
346
347
348 \pagestyle{IPSJTITLEheadings}
349
350
351
352 \endinput
353
354