0
|
1 % ipsjprosym.cls (C) 2014 Prosym Kanjikai
|
|
2 % Copyright (C) 2014 by Kiminori Matsuzaki
|
|
3
|
|
4 \NeedsTeXFormat{LaTeX2e}
|
|
5 \ProvidesClass{ipsjprosym}
|
|
6 [2014/09/07 v1.00 IPSJ class]
|
|
7
|
|
8 %%%%%% Document Styles %%%%%%
|
|
9 \newif\ifDSP@withpage \DSP@withpagefalse
|
|
10 \newif\ifDSP@english \DSP@englishfalse
|
|
11
|
|
12 \DeclareOption{withpage}{\DSP@withpagetrue}
|
|
13 \DeclareOption{english}{\DSP@englishtrue}
|
|
14 \ProcessOptions
|
|
15
|
|
16 %%
|
|
17 %% Option
|
|
18 %%
|
|
19 \LoadClass[submit,techreq,noauthor%
|
|
20 \ifDSP@english ,english\fi%
|
|
21 ]{ipsj}
|
|
22
|
|
23 %% $BDs=PMQ$K$O%X%C%@%U%C%?$r$D$1$J$$!%(B
|
|
24 \ifDSP@withpage
|
|
25 \let\ps@IPSJTITLEheadings\ps@plain
|
|
26 \pagestyle{plain}
|
|
27 \else
|
|
28 \let\ps@IPSJTITLEheadings\ps@empty
|
|
29 \pagestyle{empty}
|
|
30 \fi
|
|
31
|
|
32 %% $B2F$N%W%m%0%i%`!&%7%s%]%8%&%`(B $B<A5?!&1~Ez(B $B$N$?$a(B
|
|
33 \newenvironment{QandA}%
|
|
34 {\subsection*{{\normalsize $B<A5?!&1~Ez(B}}\begin{description}\def\makelabel##1{##1}}
|
|
35 {\end{description}}
|
|
36
|
|
37 %% $BHGLL$N$_(B A4 -> B5 $B%5%$%:$X=L>.$9$k(B
|
|
38 \addtolength{\textwidth}{-24mm} % 210mm-182mm=28mm$B$@$,(B
|
|
39 \addtolength{\oddsidemargin}{12mm}
|
|
40 \addtolength{\evensidemargin}{12mm}
|
|
41
|
|
42 \addtolength{\textheight}{-36mm} % 297mm-257mm=40mm$B$@$,(B
|
|
43 \addtolength{\topmargin}{18mm}
|
|
44
|
|
45 \endinput
|
|
46
|