Mercurial > hg > Papers > 2021 > kono-sigos
comparison ipsjpref.sty @ 3:5e07be5e48d8
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 06 May 2021 03:33:57 +0900 (2021-05-05) |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:055c9c2a19d5 | 3:5e07be5e48d8 |
---|---|
1 | |
2 % ipsjpref.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 \NeedsTeXFormat{LaTeX2e} | |
8 \ProvidesPackage{ipsj} | |
9 %\ProvidesClass{ipsj} | |
10 % [2011/12/10-2012/03/09 v1.00-2.00 IPSJPREF.STY] | |
11 % [2012/06/01 v2.01 IPSJPREF.STY] | |
12 [2017/02/16 v3.00 IPSJ class] | |
13 | |
14 | |
15 | |
16 | |
17 \newif\ifDS@alone \DS@alonefalse | |
18 \DeclareOption{alone}{\DS@alonetrue} | |
19 \ProcessOptions | |
20 | |
21 | |
22 \def\SHUBETUname@DAM{\ifDS@english% | |
23 \leavevmode %%<--- | |
24 \else \leavevmode \fi}%% | |
25 | |
26 | |
27 \JEhonbunsep=5mm % default 15mm | |
28 | |
29 | |
30 \def\@maketitle{% | |
31 \newpage\null | |
32 %%%%%%%%%% | |
33 \ifDS@english | |
34 %% | |
35 \vskip-1.3mm% | |
36 \ifx\SHUBETUname\relax% | |
37 {\SHUBETUfontE{\SHUBETUname@DEF}}%% | |
38 \else | |
39 {\SHUBETUfontE{\SHUBETUname}}%% | |
40 \fi | |
41 %% | |
42 \else | |
43 \ifx\SHUBETUname\relax% | |
44 {\SHUBETUfontJ{\SHUBETUname@DEF}}%% | |
45 \else | |
46 {\SHUBETUfontJ{\SHUBETUname}}%% | |
47 \fi\fi | |
48 %%%%%%%%%%%%%%%%% | |
49 %%%%%%%%%%%%%%%%%%%%%%%% | |
50 \vskip\shubetutitlesep% | |
51 %%%%%%%%%%%%%%%%%%%%%%%% | |
52 %% | |
53 %\vskip 10mm% | |
54 \begin{center} | |
55 \authortitle %%<--- | |
56 \end{center} | |
57 %%%%%%%%%%%%%%%%%%% | |
58 % | |
59 } | |
60 | |
61 | |
62 | |
63 \ifDS@english | |
64 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
65 \def\authortitle{% | |
66 {\Engtitlefont% | |
67 {\@title}\par} | |
68 %%%%%%%%%%%%%%%%%%%%%%% | |
69 \vskip\Etitleauthorsep% | |
70 %%%%%%%%%%%%%%%%%%%%%%% | |
71 %% author %%% | |
72 {\Engeauthorfont% | |
73 \authoroutput{e}\par}% | |
74 %%%%%%%%%%%%%%%%%%%%%%%%% | |
75 \vskip\Eauthorreceivesep% | |
76 %%%%%%%%%%%%%%%%%%%%%%%%% | |
77 \vskip\JEhonbunsep% | |
78 %%%%%%%%%%%%%%%%%%% | |
79 %% | |
80 } | |
81 %=========== | |
82 \else | |
83 %========== | |
84 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
85 \def\authortitle{% | |
86 {\jtitlefont% | |
87 {\@title}\par}% | |
88 %%%%%%%%%%%%%%%%%%%%%%%% | |
89 \vskip\Jtitlejauthorsep% | |
90 %%%%%%%%%%%%%%%%%%%%%%%% | |
91 %====== | |
92 {\authorfont% | |
93 \authoroutput{}\par}% | |
94 %%%%%%%%%%%%%%%%%%%%%%%%%% | |
95 \vskip\Jauthorjreceivesep% | |
96 %%%%%%%%%%%%%%%%%%%%%%%%%% | |
97 \vskip\JEhonbunsep% | |
98 %%%%%%%%%%%%%%%%%%% | |
99 } | |
100 \fi | |
101 | |
102 | |
103 | |
104 | |
105 | |
106 | |
107 | |
108 \ifDS@english | |
109 \def\ps@IPSJTITLEheadings{% | |
110 \def\@oddhead{\@Ltop% | |
111 \rlap{\small{%% | |
112 %% | |
113 \ifx\signame\relax% | |
114 {\HeadfontE{\signame@DEF}}%% | |
115 \else | |
116 {\HeadfontE{\signame}}%% | |
117 \fi | |
118 %%%%% | |
119 %vol | |
120 %%%%% | |
121 %=============== | |
122 \hskip12\Q{\HeadfontE{Vol.\number\c@volume}}% | |
123 %=============== | |
124 \ifDS@CVA\relax\else | |
125 \ifDS@TBIO\relax\else | |
126 \ifDS@SLDM\relax\else | |
127 % \ifDS@JIP\relax\else | |
128 %%%%%% | |
129 %no | |
130 %%%%%% | |
131 %\hskip1em{\HeadfontE{No.\number\c@number}}% | |
132 \fi\fi\fi%\fi | |
133 %%%%%% | |
134 %page | |
135 %%%%%% | |
136 \bgroup | |
137 %%% | |
138 % | |
139 \ifDS@ACS | |
140 \ifDS@alone | |
141 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
142 \HeadfontE{(\@monthyear)}% | |
143 \else | |
144 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
145 \HeadfontE{(\@monthyear)}% | |
146 \fi | |
147 \else\relax\fi | |
148 % | |
149 \ifDS@PRO | |
150 \ifDS@alone | |
151 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
152 \HeadfontE{(\@monthyear)}% | |
153 \else | |
154 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
155 \HeadfontE{(\@monthyear)}% | |
156 \fi | |
157 \else\relax\fi | |
158 % | |
159 \ifDS@TOD | |
160 \ifDS@alone | |
161 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
162 \HeadfontE{(\@monthyear)}% | |
163 \else | |
164 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
165 \HeadfontE{(\@monthyear)}% | |
166 \fi | |
167 \else\relax\fi | |
168 % | |
169 \ifDS@TOM | |
170 \ifDS@alone | |
171 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
172 \HeadfontE{(\@monthyear)}% | |
173 \else | |
174 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
175 \HeadfontE{(\@monthyear)}% | |
176 \fi | |
177 \else\relax\fi | |
178 % | |
179 \ifDS@TBIO | |
180 \ifDS@alone | |
181 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
182 \HeadfontE{(\@monthyear)}% | |
183 \else | |
184 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
185 \HeadfontE{(\@monthyear)}% | |
186 \fi | |
187 \else\relax\fi | |
188 % | |
189 \ifDS@CVA | |
190 \ifDS@alone | |
191 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
192 \HeadfontE{(\@monthyear)}% | |
193 \else | |
194 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
195 \HeadfontE{(\@monthyear)}% | |
196 \fi | |
197 \else\relax\fi | |
198 % | |
199 \ifDS@SLDM | |
200 \ifDS@alone | |
201 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
202 \HeadfontE{(\@monthyear)}% | |
203 \else | |
204 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
205 \HeadfontE{(\@monthyear)}% | |
206 \fi | |
207 \else\relax\fi | |
208 % | |
209 %\ifDS@JIP | |
210 % \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
211 % \HeadfontE{(\@monthyear)}% | |
212 %\else\relax\fi | |
213 \ifDS@JIP | |
214 \ifDS@alone | |
215 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
216 \HeadfontE{(\@monthyear)}% | |
217 \else | |
218 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
219 \HeadfontE{(\@monthyear)}% | |
220 \fi | |
221 \else\relax\fi | |
222 % | |
223 \ifDS@CDS | |
224 \ifDS@alone | |
225 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
226 \HeadfontE{(\@monthyear)}% | |
227 \else | |
228 \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
229 \HeadfontE{(\@monthyear)}% | |
230 \fi | |
231 \else\relax\fi | |
232 % | |
233 %\ifDS@EEE | |
234 % \hskip12\Q{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
235 % \HeadfontE{(\@monthyear)}% | |
236 %\else\relax\fi | |
237 % | |
238 % | |
239 % | |
240 %%% | |
241 \egroup | |
242 }% | |
243 }% | |
244 %%%%% | |
245 \smash{\raisebox{-6mm}{\rlap{% | |
246 {\DOIHeadfont% | |
247 %%%% | |
248 \bgroup | |
249 \ifDS@TBIO | |
250 [DOI: 10.2197/ipsjtbio.\number\c@volume.\pageref{ipsj@firstpage}] | |
251 \else\fi | |
252 % | |
253 \ifDS@CVA | |
254 [DOI: 10.2197/ipsjtcva.\number\c@volume.\pageref{ipsj@firstpage}] | |
255 \else\fi | |
256 % | |
257 \ifDS@SLDM | |
258 [DOI: 10.2197/ipsjtsldm.\number\c@volume.\pageref{ipsj@firstpage}] | |
259 \else\fi | |
260 % | |
261 \ifDS@JIP | |
262 [DOI: 10.2197/ipsjjip.\number\c@volume.\pageref{ipsj@firstpage}] | |
263 \else\fi | |
264 % | |
265 %% | |
266 %% | |
267 %%%%% | |
268 \egroup | |
269 }% | |
270 }}}% | |
271 \hfil\@Rtop}% | |
272 %%%%% | |
273 \let\@evenhead\@oddhead | |
274 \def\@oddfoot{\@Lbot% | |
275 \rlap{%\fontsize{10\Q}{0\h}% | |
276 %\usefont{OT1}{ptm}{m}{n}%Times | |
277 %\selectfont% | |
278 %\normalfont% | |
279 {\bothashira% | |
280 \copyright \ {\@footyear} Information Processing Society of Japan% | |
281 }}% | |
282 \hfil | |
283 %\fontsize{13\Q}{0\h}% | |
284 %\usefont{OT1}{ptm}{m}{n}%Times | |
285 %\selectfont% | |
286 %\normalsize | |
287 {\botnomble | |
288 %%%%%% | |
289 \ifDS@ACS{\thepage}\else\fi | |
290 \ifDS@PRO{\thepage}\else\fi | |
291 \ifDS@TOD{\thepage}\else\fi | |
292 \ifDS@TOM{\thepage}\else\fi | |
293 \ifDS@TBIO{\thepage}\else\fi | |
294 \ifDS@CVA{\thepage}\else\fi | |
295 \ifDS@SLDM{\thepage}\else\fi | |
296 \ifDS@JIP{\thepage}\else\fi | |
297 \ifDS@CDS{\thepage}\else\fi | |
298 %\ifDS@EEE{\thepage}\else\fi | |
299 %%%%% | |
300 \@Rbot}% | |
301 \let\@evenfoot\@oddfoot | |
302 \let\@mkboth\@gobbletwo | |
303 }} | |
304 %%% | |
305 %%%%%%%%% | |
306 \else | |
307 %%%%%%%%% | |
308 %%% | |
309 \def\ps@IPSJTITLEheadings{% | |
310 \def\@oddhead{\@Ltop% | |
311 \rlap{\small% | |
312 %% | |
313 \ifx\signame\relax% | |
314 {\HeadfontJ{\signame@DEF}}%% | |
315 \else | |
316 {\HeadfontJ{\signame}}%% | |
317 \fi | |
318 %%%%% | |
319 {%% | |
320 \hskip12\JQ{\HeadfontE{Vol.\number\c@volume}}% | |
321 %\hskip12\JQ{\HeadfontE{No.\number\c@number}}% | |
322 % | |
323 \ifDS@alone | |
324 \hskip12\JQ{\HeadfontE{\pageref{ipsj@firstpage}}}\ % | |
325 \HeadfontE{(\@monthyear)}% | |
326 \else | |
327 % | |
328 \hskip12\JQ{\HeadfontE{\pageref{ipsj@firstpage}--\pageref{ipsj@lastpage}}}\ % | |
329 \HeadfontE{(\@monthyear)} | |
330 \fi | |
331 }}% | |
332 %%%% | |
333 \smash{\raisebox{-6mm}{\rlap{% | |
334 {\DOIHeadfont%% | |
335 }% | |
336 }}}% | |
337 \hfil\@Rtop}% | |
338 %% | |
339 \let\@evenhead\@oddhead | |
340 \def\@oddfoot{\@Lbot% | |
341 \rlap{% | |
342 %\fontsize{10\Q}{0\h}\usefont{OT1}{ptm}{m}{n}%Times | |
343 %\selectfont% | |
344 {\bothashira% | |
345 {\textcopyrighttx} \ {\@footyear} Information Processing Society of Japan% | |
346 }}% | |
347 \hfil% | |
348 %\fontsize{13\Q}{0\h}% | |
349 %\usefont{OT1}{ptm}{m}{n}%Times | |
350 %\selectfont% | |
351 {\botnomble% | |
352 {\thepage}}% | |
353 \@Rbot}% | |
354 \let\@evenfoot\@oddfoot | |
355 \let\@mkboth\@gobbletwo | |
356 } | |
357 \fi | |
358 | |
359 | |
360 | |
361 | |
362 %% <<<< v1.02 | |
363 \def\SHUBETUname@Data{\leavevmode\phantom{Database/Software Paper}} | |
364 \def\SHUBETUname@Survey{\leavevmode\phantom{Survey Paper}} | |
365 \def\SHUBETUname@TBIOM{\leavevmode\phantom{Original Paper}} | |
366 \def\SHUBETUname@Short{\leavevmode\phantom{Short Paper}} | |
367 | |
368 | |
369 | |
370 | |
371 | |
372 \endinput | |
373 | |
374 |