review 3.0.0.preview4 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.ja.md +61 -4
  3. data/NEWS.md +61 -4
  4. data/README.md +2 -1
  5. data/doc/config.yml.sample +48 -20
  6. data/doc/config.yml.sample-simple +7 -6
  7. data/doc/format_idg.ja.md +6 -2
  8. data/doc/pdfmaker.ja.md +95 -4
  9. data/doc/pdfmaker.md +79 -0
  10. data/doc/quickstart.ja.md +26 -3
  11. data/doc/quickstart.md +25 -3
  12. data/doc/writing_vertical.ja.md +19 -2
  13. data/lib/review/epubmaker.rb +27 -27
  14. data/lib/review/i18n.yml +1 -0
  15. data/lib/review/init.rb +34 -22
  16. data/lib/review/latexbuilder.rb +95 -18
  17. data/lib/review/pdfmaker.rb +1 -0
  18. data/lib/review/update.rb +60 -25
  19. data/lib/review/version.rb +1 -1
  20. data/review.gemspec +1 -1
  21. data/samples/sample-book/src/config.yml +3 -3
  22. data/samples/syntax-book/config.yml +3 -3
  23. data/templates/latex/config.erb +3 -0
  24. data/templates/latex/review-jlreq/README.md +97 -7
  25. data/templates/latex/review-jlreq/review-base.sty +8 -0
  26. data/templates/latex/review-jlreq/review-jlreq.cls +28 -6
  27. data/templates/latex/review-jsbook/README.md +18 -20
  28. data/templates/latex/review-jsbook/review-base.sty +15 -0
  29. data/templates/latex/review-jsbook/review-jsbook.cls +172 -230
  30. data/test/test_epubmaker_cmd.rb +1 -1
  31. data/test/test_helper.rb +3 -3
  32. data/test/test_image_finder.rb +9 -9
  33. data/test/test_latexbuilder.rb +20 -1
  34. data/test/test_makerhelper.rb +12 -12
  35. data/test/test_pdfmaker_cmd.rb +1 -1
  36. data/test/test_update.rb +18 -4
  37. data/test/test_zip_exporter.rb +7 -7
  38. data/vendor/jsclasses/.gitignore +163 -0
  39. data/vendor/jsclasses/LICENSE +25 -0
  40. data/vendor/jsclasses/Makefile +88 -0
  41. data/vendor/jsclasses/README.md +43 -0
  42. data/vendor/jsclasses/create_archive.sh +59 -0
  43. data/vendor/jsclasses/jis/Makefile +62 -0
  44. data/vendor/jsclasses/jis/jsarticle.cls +1935 -0
  45. data/vendor/jsclasses/jis/jsbook.cls +2026 -0
  46. data/vendor/jsclasses/jis/jsclasses.dtx +5961 -0
  47. data/vendor/jsclasses/jis/jsclasses.ins +8 -0
  48. data/vendor/jsclasses/jis/jslogo.dtx +413 -0
  49. data/vendor/jsclasses/jis/jslogo.ins +4 -0
  50. data/vendor/jsclasses/jis/jslogo.sty +223 -0
  51. data/vendor/jsclasses/jis/jspf.cls +1766 -0
  52. data/vendor/jsclasses/jis/jsreport.cls +2020 -0
  53. data/vendor/jsclasses/jis/jsverb.dtx +322 -0
  54. data/vendor/jsclasses/jis/jsverb.ins +4 -0
  55. data/vendor/jsclasses/jis/jsverb.sty +128 -0
  56. data/vendor/jsclasses/jis/kiyou.cls +1882 -0
  57. data/vendor/jsclasses/jis/minijs.sty +52 -0
  58. data/vendor/jsclasses/jis/okumacro.dtx +1179 -0
  59. data/vendor/jsclasses/jis/okumacro.ins +4 -0
  60. data/vendor/jsclasses/jis/okumacro.sty +455 -0
  61. data/vendor/jsclasses/jis/okuverb.dtx +243 -0
  62. data/vendor/jsclasses/jis/okuverb.ins +4 -0
  63. data/vendor/jsclasses/jis/okuverb.sty +102 -0
  64. data/vendor/jsclasses/jis/winjis.sty +87 -0
  65. data/vendor/jsclasses/jsarticle.cls +1938 -0
  66. data/vendor/jsclasses/jsbook.cls +2029 -0
  67. data/vendor/jsclasses/jsclasses.dtx +5966 -0
  68. data/vendor/jsclasses/jsclasses.ins +8 -0
  69. data/vendor/jsclasses/jsclasses.pdf +0 -0
  70. data/vendor/jsclasses/jslogo.dtx +424 -0
  71. data/vendor/jsclasses/jslogo.ins +4 -0
  72. data/vendor/jsclasses/jslogo.pdf +0 -0
  73. data/vendor/jsclasses/jslogo.sty +223 -0
  74. data/vendor/jsclasses/jspf.cls +1769 -0
  75. data/vendor/jsclasses/jsreport.cls +2023 -0
  76. data/vendor/jsclasses/jsverb.dtx +333 -0
  77. data/vendor/jsclasses/jsverb.ins +4 -0
  78. data/vendor/jsclasses/jsverb.pdf +0 -0
  79. data/vendor/jsclasses/jsverb.sty +128 -0
  80. data/vendor/jsclasses/kiyou.cls +1885 -0
  81. data/vendor/jsclasses/minijs.sty +52 -0
  82. data/vendor/jsclasses/okumacro.dtx +1184 -0
  83. data/vendor/jsclasses/okumacro.ins +4 -0
  84. data/vendor/jsclasses/okumacro.pdf +0 -0
  85. data/vendor/jsclasses/okumacro.sty +458 -0
  86. data/vendor/jsclasses/okuverb.dtx +254 -0
  87. data/vendor/jsclasses/okuverb.ins +4 -0
  88. data/vendor/jsclasses/okuverb.pdf +0 -0
  89. data/vendor/jsclasses/okuverb.sty +102 -0
  90. data/vendor/jsclasses/winjis.sty +87 -0
  91. metadata +55 -2
@@ -0,0 +1,88 @@
1
+ STRIPTARGET = jsarticle.cls jslogo.sty okumacro.sty jsverb.sty okuverb.sty
2
+ DOCTARGET = jsclasses jslogo okumacro jsverb okuverb
3
+ PDFTARGET = $(addsuffix .pdf,$(DOCTARGET))
4
+ DVITARGET = $(addsuffix .dvi,$(DOCTARGET))
5
+ KANJI = -kanji=utf8
6
+ FONTMAP = -f ipaex.map -f ptex-ipaex.map
7
+ TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
8
+
9
+ default: $(STRIPTARGET) $(DVITARGET)
10
+ strip: $(STRIPTARGET)
11
+ all: $(STRIPTARGET) $(PDFTARGET)
12
+
13
+ JSCLASSES = jsarticle.cls jsbook.cls jsreport.cls jspf.cls kiyou.cls
14
+
15
+ # for generating files, we use pdflatex incidentally.
16
+ # otherwise, ptexenc might convert U+2212 -> U+FF0D in okumacro.sty
17
+ jsarticle.cls: jsclasses.dtx
18
+ pdflatex jsclasses.ins
19
+
20
+ jslogo.sty: jslogo.dtx
21
+ pdflatex jslogo.ins
22
+
23
+ okumacro.sty: okumacro.dtx
24
+ pdflatex okumacro.ins
25
+
26
+ jsverb.sty: jsverb.dtx
27
+ pdflatex jsverb.ins
28
+
29
+ okuverb.sty: okuverb.dtx
30
+ pdflatex okuverb.ins
31
+
32
+ .SUFFIXES: .dtx .dvi .pdf
33
+ .dtx.dvi:
34
+ platex $(KANJI) $<
35
+ platex $(KANJI) $<
36
+ .dvi.pdf:
37
+ dvipdfmx $(FONTMAP) $<
38
+
39
+ .PHONY: install clean cleanstrip cleanall cleandoc jisfile
40
+ install:
41
+ mkdir -p ${TEXMF}/doc/platex/jsclasses
42
+ cp ./LICENSE ${TEXMF}/doc/platex/jsclasses/
43
+ cp ./README.md ${TEXMF}/doc/platex/jsclasses/
44
+ cp ./*.pdf ${TEXMF}/doc/platex/jsclasses/
45
+ mkdir -p ${TEXMF}/source/platex/jsclasses
46
+ cp ./Makefile ${TEXMF}/source/platex/jsclasses/
47
+ cp ./*.dtx ${TEXMF}/source/platex/jsclasses/
48
+ cp ./*.ins ${TEXMF}/source/platex/jsclasses/
49
+ mkdir -p ${TEXMF}/tex/platex/jsclasses
50
+ cp ./*.cls ${TEXMF}/tex/platex/jsclasses/
51
+ cp ./*.sty ${TEXMF}/tex/platex/jsclasses/
52
+ clean:
53
+ rm -f $(JSCLASSES) \
54
+ jslogo.sty okumacro.sty jsverb.sty okuverb.sty \
55
+ $(DVITARGET)
56
+ cleanstrip:
57
+ rm -f $(JSCLASSES) \
58
+ jslogo.sty okumacro.sty jsverb.sty okuverb.sty
59
+ cleanall:
60
+ rm -f $(JSCLASSES) \
61
+ jslogo.sty okumacro.sty jsverb.sty okuverb.sty \
62
+ $(DVITARGET) $(PDFTARGET)
63
+ cleandoc:
64
+ rm -f $(DVITARGET) $(PDFTARGET)
65
+ jisfile:
66
+ mkdir -p jis0
67
+ cp *.{dtx,ins,cls,sty} jis0/
68
+ # GNU iconv can be used to convert UTF-8 -> ISO-2022-JP
69
+ for x in jis0/*; do \
70
+ if [ -f "$$x" ]; then \
71
+ iconv -f UTF-8 -t ISO-2022-JP "$$x" >"$$x.conv"; \
72
+ mv "$$x.conv" "$$x"; \
73
+ fi \
74
+ done
75
+ # jsclasses and okumacro contain non-ASCII chars also in stripped files
76
+ for x in $(addprefix jis0/,$(JSCLASSES) jsclasses.dtx okumacro.dtx okumacro.sty); do \
77
+ perl -pi.bak -0777 -e 's/(%\n)?\\ifx\\epTeXinputencoding\\undefined.*?\n\\fi\n(%\n)?//s' $$x; \
78
+ rm -f $$x.bak; \
79
+ done
80
+ # others have no non-ASCII chars in stripped files
81
+ for x in $(addprefix jis0/,$(wildcard *.dtx)); do \
82
+ perl -pi.bak -0777 -e 's/(%\n)?% \\ifx\\epTeXinputencoding\\undefined.*?\n% \\fi\n(%\n)?//s' $$x; \
83
+ perl -pi.bak -0777 -e 's/(%\n)?%<\*driver>\n\\ifx\\epTeXinputencoding\\undefined.*?\n\\fi\n%<\/driver>\n//s' $$x; \
84
+ rm -f $$x.bak; \
85
+ done
86
+ rm -f jis/*.{dtx,ins,cls,sty}
87
+ mv jis0/* jis/
88
+ rmdir jis0
@@ -0,0 +1,43 @@
1
+ # jsclasses
2
+
3
+ The bundle provides Japanese classes and packages, mainly for use with
4
+ pLaTeX and upLaTeX. These were originally written by Haruhiko Okumura,
5
+ and currently maintained by the Japanese TeX Development Community
6
+ (https://texjp.org) on the GitHub repository:
7
+
8
+ - https://github.com/texjporg/jsclasses
9
+
10
+ The classes themselves do not automatically enable the support of
11
+ Japanese language. You'll need to set up LaTeX environment appropriately
12
+ so that it can handle Japanese.
13
+
14
+ ## Character encoding
15
+
16
+ In the above repository, we include the pre-generated cls/sty files to
17
+ ensure proper encoding. All files are now encoded in UTF-8, since
18
+ recent versions of pLaTeX/upLaTeX recognizes `\epTeXinputencoding`
19
+ primitive of e-(u)pTeX. If you are using old (< 2015) pLaTeX/upLaTeX,
20
+ please download files in jis/ directory.
21
+
22
+ ## Contents
23
+
24
+ - jsclasses (jsarticle, jsbook, jsreport and miscellaneous)
25
+ - Japanese classes for pLaTeX/upLaTeX.
26
+ - minijs
27
+ - Minimal jsclasses-like settings for pLaTeX/upLaTeX.
28
+ - okumacro
29
+ - Miscellaneous macros for pLaTeX/upLaTeX, written by H. Okumura.
30
+ - jsverb, okuverb
31
+ - Extended version of `\verb` and `verbatim` env. for pLaTeX/upLaTeX.
32
+ - jslogo
33
+ - Extended version of LaTeX-related logos for all *LaTeX engines.
34
+
35
+ The package [morisawa](https://github.com/texjporg/morisawa) is now
36
+ distributed separately.
37
+
38
+ ## Release Date
39
+
40
+ $RELEASEDATE
41
+
42
+ Haruhiko Okumura,
43
+ Japanese TeX Development Community
@@ -0,0 +1,59 @@
1
+ #!/bin/sh
2
+
3
+ PROJECT=jsclasses
4
+ TMP=/tmp
5
+ PWDF=`pwd`
6
+ LATESTRELEASEDATE=`git tag | sort -r | head -n 1`
7
+ RELEASEDATE=`git tag --points-at HEAD | sort -r | head -n 1`
8
+
9
+ if [ -z "$RELEASEDATE" ]; then
10
+ RELEASEDATE="**not tagged**; later than $LATESTRELEASEDATE?"
11
+ fi
12
+
13
+ echo " * Create $PROJECT.tds.zip"
14
+ git archive --format=tar --prefix=$PROJECT/ HEAD | (cd $TMP && tar xf -)
15
+ rm $TMP/$PROJECT/.gitignore
16
+ rm $TMP/$PROJECT/create_archive.sh
17
+ rm -f $TMP/$PROJECT/jis/*
18
+ rmdir $TMP/$PROJECT/jis
19
+ perl -pi.bak -e "s/\\\$RELEASEDATE/$RELEASEDATE/g" $TMP/$PROJECT/README.md
20
+ rm -f $TMP/$PROJECT/README.md.bak
21
+
22
+ mkdir -p $TMP/$PROJECT/doc/platex/jsclasses
23
+ mv $TMP/$PROJECT/LICENSE $TMP/$PROJECT/doc/platex/jsclasses/
24
+ mv $TMP/$PROJECT/README.md $TMP/$PROJECT/doc/platex/jsclasses/
25
+ mv $TMP/$PROJECT/*.pdf $TMP/$PROJECT/doc/platex/jsclasses/
26
+
27
+ mkdir -p $TMP/$PROJECT/source/platex/jsclasses
28
+ mv $TMP/$PROJECT/Makefile $TMP/$PROJECT/source/platex/jsclasses/
29
+ mv $TMP/$PROJECT/*.dtx $TMP/$PROJECT/source/platex/jsclasses/
30
+ mv $TMP/$PROJECT/*.ins $TMP/$PROJECT/source/platex/jsclasses/
31
+
32
+ # winjis.sty should be removed for CTAN
33
+ mkdir -p $TMP/$PROJECT/tex/platex/jsclasses
34
+ mv $TMP/$PROJECT/*.cls $TMP/$PROJECT/tex/platex/jsclasses/
35
+ rm $TMP/$PROJECT/winjis.sty
36
+ mv $TMP/$PROJECT/*.sty $TMP/$PROJECT/tex/platex/jsclasses/
37
+
38
+ cd $TMP/$PROJECT && zip -r $TMP/$PROJECT.tds.zip *
39
+ cd $PWDF
40
+ rm -rf $TMP/$PROJECT
41
+
42
+ echo
43
+ echo " * Create $PROJECT.zip ($RELEASEDATE)"
44
+ git archive --format=tar --prefix=$PROJECT/ HEAD | (cd $TMP && tar xf -)
45
+ # Remove generated and auxiliary files
46
+ # winjis.sty should be removed for CTAN
47
+ rm $TMP/$PROJECT/.gitignore
48
+ rm $TMP/$PROJECT/create_archive.sh
49
+ rm -f $TMP/$PROJECT/jis/*
50
+ rmdir $TMP/$PROJECT/jis
51
+ rm $TMP/$PROJECT/*.cls
52
+ ls $TMP/$PROJECT/*.sty | grep -v minijs.sty | xargs rm
53
+ perl -pi.bak -e "s/\\\$RELEASEDATE/$RELEASEDATE/g" $TMP/$PROJECT/README.md
54
+ rm -f $TMP/$PROJECT/README.md.bak
55
+
56
+ cd $TMP && zip -r $PWDF/$PROJECT.zip $PROJECT $PROJECT.tds.zip
57
+ rm -rf $TMP/$PROJECT $TMP/$PROJECT.tds.zip
58
+ echo
59
+ echo " * Done: $PROJECT.zip ($RELEASEDATE)"
@@ -0,0 +1,62 @@
1
+ STRIPTARGET = jsarticle.cls jslogo.sty okumacro.sty jsverb.sty okuverb.sty
2
+ DOCTARGET = jsclasses jslogo okumacro jsverb okuverb
3
+ PDFTARGET = $(addsuffix .pdf,$(DOCTARGET))
4
+ DVITARGET = $(addsuffix .dvi,$(DOCTARGET))
5
+ KANJI = -kanji=jis
6
+ FONTMAP = -f ipaex.map -f ptex-ipaex.map
7
+ TEXMF = $(shell kpsewhich -var-value=TEXMFHOME)
8
+
9
+ default: $(STRIPTARGET) $(DVITARGET)
10
+ strip: $(STRIPTARGET)
11
+ all: $(STRIPTARGET) $(PDFTARGET)
12
+
13
+ JSCLASSES = jsarticle.cls jsbook.cls jsreport.cls jspf.cls kiyou.cls
14
+
15
+ jsarticle.cls: jsclasses.dtx
16
+ platex $(KANJI) jsclasses.ins
17
+
18
+ jslogo.sty: jslogo.dtx
19
+ platex $(KANJI) jslogo.ins
20
+
21
+ okumacro.sty: okumacro.dtx
22
+ platex $(KANJI) okumacro.ins
23
+
24
+ jsverb.sty: jsverb.dtx
25
+ platex $(KANJI) jsverb.ins
26
+
27
+ okuverb.sty: okuverb.dtx
28
+ platex $(KANJI) okuverb.ins
29
+
30
+ .SUFFIXES: .dtx .dvi .pdf
31
+ .dtx.dvi:
32
+ platex $(KANJI) $<
33
+ platex $(KANJI) $<
34
+ .dvi.pdf:
35
+ dvipdfmx $(FONTMAP) $<
36
+
37
+ .PHONY: install clean cleanstrip cleanall cleandoc
38
+ install:
39
+ mkdir -p ${TEXMF}/doc/platex/jsclasses
40
+ cp ./LICENSE ${TEXMF}/doc/platex/jsclasses/
41
+ cp ./README.md ${TEXMF}/doc/platex/jsclasses/
42
+ cp ./*.pdf ${TEXMF}/doc/platex/jsclasses/
43
+ mkdir -p ${TEXMF}/source/platex/jsclasses
44
+ cp ./Makefile ${TEXMF}/source/platex/jsclasses/
45
+ cp ./*.dtx ${TEXMF}/source/platex/jsclasses/
46
+ cp ./*.ins ${TEXMF}/source/platex/jsclasses/
47
+ mkdir -p ${TEXMF}/tex/platex/jsclasses
48
+ cp ./*.cls ${TEXMF}/tex/platex/jsclasses/
49
+ cp ./*.sty ${TEXMF}/tex/platex/jsclasses/
50
+ clean:
51
+ rm -f $(JSCLASSES) \
52
+ jslogo.sty okumacro.sty jsverb.sty okuverb.sty \
53
+ $(DVITARGET)
54
+ cleanstrip:
55
+ rm -f $(JSCLASSES) \
56
+ jslogo.sty okumacro.sty jsverb.sty okuverb.sty
57
+ cleanall:
58
+ rm -f $(JSCLASSES) \
59
+ jslogo.sty okumacro.sty jsverb.sty okuverb.sty \
60
+ $(DVITARGET) $(PDFTARGET)
61
+ cleandoc:
62
+ rm -f $(DVITARGET) $(PDFTARGET)
@@ -0,0 +1,1935 @@
1
+ %%
2
+ %% This is file `jsarticle.cls',
3
+ %% generated with the docstrip utility.
4
+ %%
5
+ %% The original source files were:
6
+ %%
7
+ %% jsclasses.dtx (with options: `article')
8
+ %%
9
+ %% IMPORTANT NOTICE:
10
+ %%
11
+ %% For the copyright see the source file.
12
+ %%
13
+ %% Any modified versions of this file must be renamed
14
+ %% with new filenames distinct from jsarticle.cls.
15
+ %%
16
+ %% For distribution of the original source see the terms
17
+ %% for copying and modification in the file jsclasses.dtx.
18
+ %%
19
+ %% This generated file may be distributed as long as the
20
+ %% original source files, as listed above, are part of the
21
+ %% same distribution. (The sources need not necessarily be
22
+ %% in the same archive or directory.)
23
+ \NeedsTeXFormat{pLaTeX2e}
24
+ \ProvidesClass{jsarticle}
25
+ [2018/06/23 jsclasses (okumura, texjporg)]
26
+ \def\jsc@clsname{jsarticle}
27
+ \newif\ifjsc@needsp@tch
28
+ \jsc@needsp@tchfalse
29
+ \newif\if@restonecol
30
+ \newif\if@titlepage
31
+ \newif\if@enablejfam \@enablejfamtrue
32
+ \DeclareOption{a3paper}{%
33
+ \setlength\paperheight {420mm}%
34
+ \setlength\paperwidth {297mm}}
35
+ \DeclareOption{a4paper}{%
36
+ \setlength\paperheight {297mm}%
37
+ \setlength\paperwidth {210mm}}
38
+ \DeclareOption{a5paper}{%
39
+ \setlength\paperheight {210mm}%
40
+ \setlength\paperwidth {148mm}}
41
+ \DeclareOption{a6paper}{%
42
+ \setlength\paperheight {148mm}%
43
+ \setlength\paperwidth {105mm}}
44
+ \DeclareOption{b4paper}{%
45
+ \setlength\paperheight {364mm}%
46
+ \setlength\paperwidth {257mm}}
47
+ \DeclareOption{b5paper}{%
48
+ \setlength\paperheight {257mm}%
49
+ \setlength\paperwidth {182mm}}
50
+ \DeclareOption{b6paper}{%
51
+ \setlength\paperheight {182mm}%
52
+ \setlength\paperwidth {128mm}}
53
+ \DeclareOption{a4j}{%
54
+ \setlength\paperheight {297mm}%
55
+ \setlength\paperwidth {210mm}}
56
+ \DeclareOption{a5j}{%
57
+ \setlength\paperheight {210mm}%
58
+ \setlength\paperwidth {148mm}}
59
+ \DeclareOption{b4j}{%
60
+ \setlength\paperheight {364mm}%
61
+ \setlength\paperwidth {257mm}}
62
+ \DeclareOption{b5j}{%
63
+ \setlength\paperheight {257mm}%
64
+ \setlength\paperwidth {182mm}}
65
+ \DeclareOption{a4var}{%
66
+ \setlength\paperheight {283mm}%
67
+ \setlength\paperwidth {210mm}}
68
+ \DeclareOption{b5var}{%
69
+ \setlength\paperheight {230mm}%
70
+ \setlength\paperwidth {182mm}}
71
+ \DeclareOption{letterpaper}{%
72
+ \setlength\paperheight {11in}%
73
+ \setlength\paperwidth {8.5in}}
74
+ \DeclareOption{legalpaper}{%
75
+ \setlength\paperheight {14in}%
76
+ \setlength\paperwidth {8.5in}}
77
+ \DeclareOption{executivepaper}{%
78
+ \setlength\paperheight {10.5in}%
79
+ \setlength\paperwidth {7.25in}}
80
+ \newif\if@landscape
81
+ \@landscapefalse
82
+ \DeclareOption{landscape}{\@landscapetrue}
83
+ \newif\if@slide
84
+ \@slidefalse
85
+ \newcommand{\@ptsize}{0}
86
+ \newif\ifjsc@mag\jsc@magtrue
87
+ \newif\ifjsc@mag@xreal\jsc@mag@xrealfalse
88
+ \def\jsc@magscale{1}
89
+ \DeclareOption{slide}{%
90
+ \@slidetrue\def\jsc@magscale{3.583}
91
+ \renewcommand{\@ptsize}{26}
92
+ \@landscapetrue\@titlepagetrue}
93
+ \DeclareOption{8pt}{\def\jsc@magscale{0.833}\renewcommand{\@ptsize}{-2}}
94
+ \DeclareOption{9pt}{\def\jsc@magscale{0.913}\renewcommand{\@ptsize}{-1}}
95
+ \DeclareOption{10pt}{\def\jsc@magscale{1}\renewcommand{\@ptsize}{0}}
96
+ \DeclareOption{11pt}{\def\jsc@magscale{1.095}\renewcommand{\@ptsize}{1}}
97
+ \DeclareOption{12pt}{\def\jsc@magscale{1.200}\renewcommand{\@ptsize}{2}}
98
+ \DeclareOption{14pt}{\def\jsc@magscale{1.440}\renewcommand{\@ptsize}{4}}
99
+ \DeclareOption{17pt}{\def\jsc@magscale{1.728}\renewcommand{\@ptsize}{7}}
100
+ \DeclareOption{20pt}{\def\jsc@magscale{2}\renewcommand{\@ptsize}{10}}
101
+ \DeclareOption{21pt}{\def\jsc@magscale{2.074}\renewcommand{\@ptsize}{11}}
102
+ \DeclareOption{25pt}{\def\jsc@magscale{2.488}\renewcommand{\@ptsize}{15}}
103
+ \DeclareOption{30pt}{\def\jsc@magscale{2.986}\renewcommand{\@ptsize}{20}}
104
+ \DeclareOption{36pt}{\def\jsc@magscale{3.583}\renewcommand{\@ptsize}{26}}
105
+ \DeclareOption{43pt}{\def\jsc@magscale{4.300}\renewcommand{\@ptsize}{33}}
106
+ \DeclareOption{12Q}{\def\jsc@magscale{0.923}\renewcommand{\@ptsize}{1200}}
107
+ \DeclareOption{14Q}{\def\jsc@magscale{1.077}\renewcommand{\@ptsize}{1400}}
108
+ \DeclareOption{10ptj}{\def\jsc@magscale{1.085}\renewcommand{\@ptsize}{1001}}
109
+ \DeclareOption{10.5ptj}{\def\jsc@magscale{1.139}\renewcommand{\@ptsize}{1051}}
110
+ \DeclareOption{11ptj}{\def\jsc@magscale{1.194}\renewcommand{\@ptsize}{1101}}
111
+ \DeclareOption{12ptj}{\def\jsc@magscale{1.302}\renewcommand{\@ptsize}{1201}}
112
+ \DeclareOption{usemag}{\jsc@magtrue\jsc@mag@xrealfalse}
113
+ \DeclareOption{nomag}{\jsc@magfalse\jsc@mag@xrealfalse}
114
+ \DeclareOption{nomag*}{\jsc@magfalse\jsc@mag@xrealtrue}
115
+ \hour\time \divide\hour by 60\relax
116
+ \@tempcnta\hour \multiply\@tempcnta 60\relax
117
+ \minute\time \advance\minute-\@tempcnta
118
+ \DeclareOption{tombow}{%
119
+ \tombowtrue \tombowdatetrue
120
+ \setlength{\@tombowwidth}{.1\p@}%
121
+ \@bannertoken{%
122
+ \jobname\space(\number\year-\two@digits\month-\two@digits\day
123
+ \space\two@digits\hour:\two@digits\minute)}%
124
+ \maketombowbox}
125
+ \DeclareOption{tombo}{%
126
+ \tombowtrue \tombowdatefalse
127
+ \setlength{\@tombowwidth}{.1\p@}%
128
+ \maketombowbox}
129
+ \DeclareOption{mentuke}{%
130
+ \tombowtrue \tombowdatefalse
131
+ \setlength{\@tombowwidth}{\z@}%
132
+ \maketombowbox}
133
+ \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
134
+ \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
135
+ \DeclareOption{vartwoside}{\@twosidetrue \@mparswitchfalse}
136
+ \DeclareOption{onecolumn}{\@twocolumnfalse}
137
+ \DeclareOption{twocolumn}{\@twocolumntrue}
138
+ \DeclareOption{titlepage}{\@titlepagetrue}
139
+ \DeclareOption{notitlepage}{\@titlepagefalse}
140
+ \def\eqnarray{%
141
+ \stepcounter{equation}%
142
+ \def\@currentlabel{\p@equation\theequation}%
143
+ \global\@eqnswtrue
144
+ \m@th
145
+ \global\@eqcnt\z@
146
+ \tabskip\@centering
147
+ \let\\\@eqncr
148
+ $$\everycr{}\halign to\displaywidth\bgroup
149
+ \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
150
+ &\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
151
+ &\global\@eqcnt\tw@ $\displaystyle{##}$\hfil\tabskip\@centering
152
+ &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
153
+ \tabskip\z@skip
154
+ \cr}
155
+ \DeclareOption{leqno}{\input{leqno.clo}}
156
+ \DeclareOption{fleqn}{\input{fleqn.clo}%
157
+ \def\eqnarray{%
158
+ \stepcounter{equation}%
159
+ \def\@currentlabel{\p@equation\theequation}%
160
+ \global\@eqnswtrue\m@th
161
+ \global\@eqcnt\z@
162
+ \tabskip\mathindent
163
+ \let\\=\@eqncr
164
+ \setlength\abovedisplayskip{\topsep}%
165
+ \ifvmode
166
+ \addtolength\abovedisplayskip{\partopsep}%
167
+ \fi
168
+ \addtolength\abovedisplayskip{\parskip}%
169
+ \setlength\belowdisplayskip{\abovedisplayskip}%
170
+ \setlength\belowdisplayshortskip{\abovedisplayskip}%
171
+ \setlength\abovedisplayshortskip{\abovedisplayskip}%
172
+ $$\everycr{}\halign to\linewidth% $$
173
+ \bgroup
174
+ \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
175
+ &\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
176
+ &\global\@eqcnt\tw@
177
+ $\displaystyle{##}$\hfil \tabskip\@centering
178
+ &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
179
+ \tabskip\z@skip\cr
180
+ }}
181
+ \DeclareOption{disablejfam}{\@enablejfamfalse}
182
+ \DeclareOption{draft}{\setlength\overfullrule{5pt}}
183
+ \DeclareOption{final}{\setlength\overfullrule{0pt}}
184
+ \newif\ifmingoth
185
+ \mingothfalse
186
+ \newif\ifjisfont
187
+ \jisfontfalse
188
+ \newif\if@jsc@uplatex
189
+ \@jsc@uplatexfalse
190
+ \newif\if@jsc@autodetect
191
+ \@jsc@autodetectfalse
192
+ \DeclareOption{winjis}{%
193
+ \ClassWarningNoLine{\jsc@clsname}{%
194
+ The option `winjis' has been removed;\MessageBreak
195
+ Use `\string\usepackage{winjis}' instead}}
196
+ \DeclareOption{mingoth}{\mingothtrue}
197
+ \DeclareOption{jis}{\jisfonttrue}
198
+ \DeclareOption{uplatex}{\@jsc@uplatextrue}
199
+ \DeclareOption{autodetect-engine}{\@jsc@autodetecttrue}
200
+ \def\jsc@JYn{\if@jsc@uplatex JY2\else JY1\fi}
201
+ \def\jsc@JTn{\if@jsc@uplatex JT2\else JT1\fi}
202
+ \def\jsc@pfx@{\if@jsc@uplatex u\else \fi}
203
+ \newif\ifpapersize
204
+ \papersizefalse
205
+ \DeclareOption{papersize}{\papersizetrue}
206
+ \newif\if@english
207
+ \@englishfalse
208
+ \DeclareOption{english}{\@englishtrue}
209
+ \newif\if@jslogo \@jslogotrue
210
+ \DeclareOption{jslogo}{\@jslogotrue}
211
+ \DeclareOption{nojslogo}{\@jslogofalse}
212
+ \ExecuteOptions{a4paper,oneside,onecolumn,notitlepage,final}
213
+ \ProcessOptions
214
+ \if@slide
215
+ \def\maybeblue{\@ifundefined{ver@color.sty}{}{\color{blue}}}
216
+ \fi
217
+ \if@landscape
218
+ \setlength\@tempdima {\paperheight}
219
+ \setlength\paperheight{\paperwidth}
220
+ \setlength\paperwidth {\@tempdima}
221
+ \fi
222
+ \ifnum \ifx\ucs\@undefined\z@\else\ucs"3000 \fi ="3000
223
+ \if@jsc@autodetect
224
+ \ClassInfo\jsc@clsname{Autodetected engine: upLaTeX}
225
+ \@jsc@uplatextrue
226
+ \g@addto@macro\@classoptionslist{,uplatex}
227
+ \fi
228
+ \if@jsc@uplatex\else
229
+ \ClassError\jsc@clsname
230
+ {You are running upLaTeX.\MessageBreak
231
+ Please use pLaTeX instead, or add 'uplatex' to\MessageBreak
232
+ the class option list}
233
+ {\@ehc}
234
+ \@jsc@uplatextrue
235
+ \fi
236
+ \else
237
+ \if@jsc@uplatex
238
+ \ClassError\jsc@clsname
239
+ {You are running pLaTeX.\MessageBreak
240
+ Please use upLaTeX instead, or remove 'uplatex' from\MessageBreak
241
+ the class option list}
242
+ {\@ehc}
243
+ \@jsc@uplatexfalse
244
+ \fi
245
+ \if@jsc@autodetect
246
+ \ClassInfo\jsc@clsname{Autodetected engine: pLaTeX}
247
+ \@jsc@uplatexfalse
248
+ \fi
249
+ \fi
250
+ \iftombow
251
+ \newdimen\stockwidth \newdimen\stockheight
252
+ \setlength{\stockwidth}{\paperwidth}
253
+ \setlength{\stockheight}{\paperheight}
254
+ \advance \stockwidth 2in
255
+ \advance \stockheight 2in
256
+ \fi
257
+ \ifpapersize
258
+ \iftombow
259
+ \AtBeginDvi{\special{papersize=\the\stockwidth,\the\stockheight}}
260
+ \else
261
+ \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}
262
+ \fi
263
+ \fi
264
+ \if@slide\def\n@baseline{13}\else\def\n@baseline{16}\fi
265
+ \newdimen\jsc@mpt
266
+ \newdimen\jsc@mmm
267
+ \def\inv@mag{1}
268
+ \ifjsc@mag
269
+ \jsc@mpt=1\p@
270
+ \jsc@mmm=1mm
271
+ \ifnum\@ptsize=-2
272
+ \mag 833
273
+ \def\inv@mag{1.20048}
274
+ \def\n@baseline{15}%
275
+ \fi
276
+ \ifnum\@ptsize=-1
277
+ \mag 913 % formerly 900
278
+ \def\inv@mag{1.09529}
279
+ \def\n@baseline{15}%
280
+ \fi
281
+ \ifnum\@ptsize=1
282
+ \mag 1095 % formerly 1100
283
+ \def\inv@mag{0.913242}
284
+ \fi
285
+ \ifnum\@ptsize=2
286
+ \mag 1200
287
+ \def\inv@mag{0.833333}
288
+ \fi
289
+ \ifnum\@ptsize=4
290
+ \mag 1440
291
+ \def\inv@mag{0.694444}
292
+ \fi
293
+ \ifnum\@ptsize=7
294
+ \mag 1728
295
+ \def\inv@mag{0.578704}
296
+ \fi
297
+ \ifnum\@ptsize=10
298
+ \mag 2000
299
+ \def\inv@mag{0.5}
300
+ \fi
301
+ \ifnum\@ptsize=11
302
+ \mag 2074
303
+ \def\inv@mag{0.48216}
304
+ \fi
305
+ \ifnum\@ptsize=15
306
+ \mag 2488
307
+ \def\inv@mag{0.401929}
308
+ \fi
309
+ \ifnum\@ptsize=20
310
+ \mag 2986
311
+ \def\inv@mag{0.334896}
312
+ \fi
313
+ \ifnum\@ptsize=26
314
+ \mag 3583
315
+ \def\inv@mag{0.279096}
316
+ \fi
317
+ \ifnum\@ptsize=33
318
+ \mag 4300
319
+ \def\inv@mag{0.232558}
320
+ \fi
321
+ \ifnum\@ptsize=1200
322
+ \mag 923
323
+ \def\inv@mag{1.0834236}
324
+ \fi
325
+ \ifnum\@ptsize=1400
326
+ \mag 1077
327
+ \def\inv@mag{0.928505}
328
+ \fi
329
+ \ifnum\@ptsize=1001
330
+ \mag 1085
331
+ \def\inv@mag{0.921659}
332
+ \fi
333
+ \ifnum\@ptsize=1051
334
+ \mag 1139
335
+ \def\inv@mag{0.877963}
336
+ \fi
337
+ \ifnum\@ptsize=1101
338
+ \mag 1194
339
+ \def\inv@mag{0.837521}
340
+ \fi
341
+ \ifnum\@ptsize=1201
342
+ \mag 1302
343
+ \def\inv@mag{0.768049}
344
+ \fi
345
+ \else
346
+ \jsc@mpt=\jsc@magscale\p@
347
+ \jsc@mmm=\jsc@magscale mm
348
+ \def\inv@mag{1}
349
+ \ifnum\@ptsize=-2
350
+ \def\n@baseline{15}%
351
+ \fi
352
+ \ifnum\@ptsize=-1
353
+ \def\n@baseline{15}%
354
+ \fi
355
+ \fi
356
+ \ifjsc@mag@xreal
357
+ \RequirePackage{type1cm}
358
+ \mathchardef\jsc@csta=259
359
+ \def\jsc@invscale#1#2{%
360
+ \begingroup \@tempdima=#1\relax \@tempdimb#2\p@\relax
361
+ \@tempcnta\@tempdima \multiply\@tempcnta\@cclvi
362
+ \divide\@tempcnta\@tempdimb \multiply\@tempcnta\@cclvi
363
+ \@tempcntb\p@ \divide\@tempcntb\@tempdimb
364
+ \advance\@tempcnta-\@tempcntb \advance\@tempcnta-\tw@
365
+ \@tempdimb\@tempcnta\@ne
366
+ \advance\@tempcnta\@tempcntb \advance\@tempcnta\@tempcntb
367
+ \advance\@tempcnta\jsc@csta \@tempdimc\@tempcnta\@ne
368
+ \@whiledim\@tempdimb<\@tempdimc\do{%
369
+ \@tempcntb\@tempdimb \advance\@tempcntb\@tempdimc
370
+ \advance\@tempcntb\@ne \divide\@tempcntb\tw@
371
+ \ifdim #2\@tempcntb>\@tempdima
372
+ \advance\@tempcntb\m@ne \@tempdimc=\@tempcntb\@ne
373
+ \else \@tempdimb=\@tempcntb\@ne \fi}%
374
+ \xdef\jsc@gtmpa{\the\@tempdimb}%
375
+ \endgroup #1=\jsc@gtmpa\relax}
376
+ \expandafter\let\csname OT1/cmr/m/n/10\endcsname\relax
377
+ \expandafter\let\csname OMX/cmex/m/n/10\endcsname\relax
378
+ \let\jsc@get@external@font\get@external@font
379
+ \def\get@external@font{%
380
+ \jsc@preadjust@extract@font
381
+ \jsc@get@external@font}
382
+ \def\jsc@fstrunc#1{%
383
+ \edef\jsc@tmpa{\strip@pt#1}%
384
+ \expandafter\jsc@fstrunc@a\jsc@tmpa.****\@nil}
385
+ \def\jsc@fstrunc@a#1.#2#3#4#5#6\@nil{%
386
+ \if#5*\else
387
+ \edef\jsc@tmpa{#1%
388
+ \ifnum#2#3>\z@ .#2\ifnum#3>\z@ #3\fi\fi}%
389
+ \fi}
390
+ \def\jsc@preadjust@extract@font{%
391
+ \let\jsc@req@size\f@size
392
+ \dimen@\f@size\p@ \jsc@invscale\dimen@\jsc@magscale
393
+ \advance\dimen@.005pt\relax \jsc@fstrunc\dimen@
394
+ \let\jsc@ref@size\jsc@tmpa
395
+ \let\f@size\jsc@ref@size}
396
+ \def\execute@size@function#1{%
397
+ \let\jsc@cref@size\f@size
398
+ \let\f@size\jsc@req@size
399
+ \csname s@fct@#1\endcsname}
400
+ \let\jsc@DeclareErrorFont\DeclareErrorFont
401
+ \def\DeclareErrorFont#1#2#3#4#5{%
402
+ \@tempdimc#5\p@ \@tempdimc\jsc@magscale\@tempdimc
403
+ \edef\jsc@tmpa{{#1}{#2}{#3}{#4}{\strip@pt\@tempdimc}}
404
+ \expandafter\jsc@DeclareErrorFont\jsc@tmpa}
405
+ \def\gen@sfcnt{%
406
+ \edef\mandatory@arg{\mandatory@arg\jsc@cref@size}%
407
+ \empty@sfcnt}
408
+ \def\genb@sfcnt{%
409
+ \edef\mandatory@arg{%
410
+ \mandatory@arg\expandafter\genb@x\jsc@cref@size..\@@}%
411
+ \empty@sfcnt}
412
+ \DeclareErrorFont{OT1}{cmr}{m}{n}{10}
413
+ \fi
414
+ \def\jsc@smallskip{\vspace\jsc@smallskipamount}
415
+ \newskip\jsc@smallskipamount
416
+ \jsc@smallskipamount=3\jsc@mpt plus 1\jsc@mpt minus 1\jsc@mpt
417
+ \setlength\paperwidth{\inv@mag\paperwidth}%
418
+ \setlength\paperheight{\inv@mag\paperheight}%
419
+ \iftombow
420
+ \setlength\stockwidth{\inv@mag\stockwidth}%
421
+ \setlength\stockheight{\inv@mag\stockheight}%
422
+ \fi
423
+ \def\Cjascale{0.924690}
424
+ \ifmingoth
425
+ \DeclareFontShape{\jsc@JYn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ min10}{}
426
+ \DeclareFontShape{\jsc@JYn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ goth10}{}
427
+ \DeclareFontShape{\jsc@JTn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ tmin10}{}
428
+ \DeclareFontShape{\jsc@JTn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ tgoth10}{}
429
+ \else
430
+ \ifjisfont
431
+ \DeclareFontShape{\jsc@JYn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ jis}{}
432
+ \DeclareFontShape{\jsc@JYn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ jisg}{}
433
+ \DeclareFontShape{\jsc@JTn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ tmin10}{}
434
+ \DeclareFontShape{\jsc@JTn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ tgoth10}{}
435
+ \else
436
+ \if@jsc@uplatex
437
+ \DeclareFontShape{JY2}{mc}{m}{n}{<-> s * [0.924690] upjisr-h}{}
438
+ \DeclareFontShape{JY2}{gt}{m}{n}{<-> s * [0.924690] upjisg-h}{}
439
+ \DeclareFontShape{JT2}{mc}{m}{n}{<-> s * [0.924690] upjisr-v}{}
440
+ \DeclareFontShape{JT2}{gt}{m}{n}{<-> s * [0.924690] upjisg-v}{}
441
+ \else
442
+ \DeclareFontShape{\jsc@JYn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ jis}{}
443
+ \DeclareFontShape{\jsc@JYn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ jisg}{}
444
+ \DeclareFontShape{\jsc@JTn}{mc}{m}{n}{<-> s * [0.961] \jsc@pfx@ tmin10}{}
445
+ \DeclareFontShape{\jsc@JTn}{gt}{m}{n}{<-> s * [0.961] \jsc@pfx@ tgoth10}{}
446
+ \fi
447
+ \fi
448
+ \fi
449
+ \DeclareFontShape{\jsc@JYn}{mc}{m}{it}{<->ssub*mc/m/n}{}
450
+ \DeclareFontShape{\jsc@JYn}{mc}{m}{sl}{<->ssub*mc/m/n}{}
451
+ \DeclareFontShape{\jsc@JYn}{mc}{m}{sc}{<->ssub*mc/m/n}{}
452
+ \DeclareFontShape{\jsc@JYn}{gt}{m}{it}{<->ssub*gt/m/n}{}
453
+ \DeclareFontShape{\jsc@JYn}{gt}{m}{sl}{<->ssub*gt/m/n}{}
454
+ \DeclareFontShape{\jsc@JYn}{mc}{bx}{it}{<->ssub*gt/m/n}{}
455
+ \DeclareFontShape{\jsc@JYn}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
456
+ \DeclareFontShape{\jsc@JTn}{mc}{m}{it}{<->ssub*mc/m/n}{}
457
+ \DeclareFontShape{\jsc@JTn}{mc}{m}{sl}{<->ssub*mc/m/n}{}
458
+ \DeclareFontShape{\jsc@JTn}{mc}{m}{sc}{<->ssub*mc/m/n}{}
459
+ \DeclareFontShape{\jsc@JTn}{gt}{m}{it}{<->ssub*gt/m/n}{}
460
+ \DeclareFontShape{\jsc@JTn}{gt}{m}{sl}{<->ssub*gt/m/n}{}
461
+ \DeclareFontShape{\jsc@JTn}{mc}{bx}{it}{<->ssub*gt/m/n}{}
462
+ \DeclareFontShape{\jsc@JTn}{mc}{bx}{sl}{<->ssub*gt/m/n}{}
463
+ \DeclareRobustCommand\rmfamily
464
+ {\not@math@alphabet\rmfamily\mathrm
465
+ \romanfamily\rmdefault\kanjifamily\mcdefault\selectfont}
466
+ \DeclareRobustCommand\sffamily
467
+ {\not@math@alphabet\sffamily\mathsf
468
+ \romanfamily\sfdefault\kanjifamily\gtdefault\selectfont}
469
+ \DeclareRobustCommand\ttfamily
470
+ {\not@math@alphabet\ttfamily\mathtt
471
+ \romanfamily\ttdefault\kanjifamily\gtdefault\selectfont}
472
+ \ifx\DeclareFixJFMCJKTextFontCommand\@undefined
473
+ \DeclareRobustCommand\textmc[1]{%
474
+ \relax\ifmmode \expandafter\nfss@text \fi{\mcfamily #1}}
475
+ \DeclareRobustCommand\textgt[1]{%
476
+ \relax\ifmmode \expandafter\nfss@text \fi{\gtfamily #1}}
477
+ \fi
478
+ \def\reDeclareMathAlphabet#1#2#3{%
479
+ \edef\@tempa{\expandafter\@gobble\string#2}%
480
+ \edef\@tempb{\expandafter\@gobble\string#3}%
481
+ \edef\@tempc{\string @\expandafter\@gobbletwo\string#2}%
482
+ \ifx\@tempc\@tempa%
483
+ \edef\@tempa{\expandafter\@gobbletwo\string#2}%
484
+ \edef\@tempb{\expandafter\@gobbletwo\string#3}%
485
+ \fi
486
+ \begingroup
487
+ \let\protect\noexpand
488
+ \def\@tempaa{\relax}%
489
+ \expandafter\ifx\csname RDMAorg@\@tempa\endcsname\relax
490
+ \edef\@tempaa{\expandafter\def\expandafter\noexpand%
491
+ \csname RDMAorg@\@tempa\endcsname{%
492
+ \expandafter\noexpand\csname\@tempa\endcsname}}%
493
+ \fi
494
+ \def\@tempbb{\relax}%
495
+ \expandafter\ifx\csname RDMAorg@\@tempb\endcsname\relax
496
+ \edef\@tempbb{\expandafter\def\expandafter\noexpand%
497
+ \csname RDMAorg@\@tempb\endcsname{%
498
+ \expandafter\noexpand\csname\@tempb\endcsname}}%
499
+ \fi
500
+ \edef\@tempc{\@tempaa\@tempbb}%
501
+ \expandafter\endgroup\@tempc%
502
+ \edef#1{\noexpand\protect\expandafter\noexpand\csname%
503
+ \expandafter\@gobble\string#1\space\space\endcsname}%
504
+ \expandafter\edef\csname\expandafter\@gobble\string#1\space\space\endcsname%
505
+ {\noexpand\DualLang@mathalph@bet%
506
+ {\expandafter\noexpand\csname RDMAorg@\@tempa\endcsname}%
507
+ {\expandafter\noexpand\csname RDMAorg@\@tempb\endcsname}%
508
+ }%
509
+ }
510
+ \@onlypreamble\reDeclareMathAlphabet
511
+ \def\DualLang@mathalph@bet#1#2{%
512
+ \relax\ifmmode
513
+ \ifx\math@bgroup\bgroup% 2e normal style (\mathrm{...})
514
+ \bgroup\let\DualLang@Mfontsw\DLMfontsw@standard
515
+ \else
516
+ \ifx\math@bgroup\relax% 2e two letter style (\rm->\mathrm)
517
+ \let\DualLang@Mfontsw\DLMfontsw@oldstyle
518
+ \else
519
+ \ifx\math@bgroup\@empty% 2.09 oldlfont style ({\mathrm ...})
520
+ \let\DualLang@Mfontsw\DLMfontsw@oldlfont
521
+ \else% panic! assume 2e normal style
522
+ \bgroup\let\DualLang@Mfontsw\DLMfontsw@standard
523
+ \fi
524
+ \fi
525
+ \fi
526
+ \else
527
+ \let\DualLang@Mfontsw\@firstoftwo
528
+ \fi
529
+ \DualLang@Mfontsw{#1}{#2}%
530
+ }
531
+ \def\DLMfontsw@standard#1#2#3{#1{#2{#3}}\egroup}
532
+ \def\DLMfontsw@oldstyle#1#2{#1\relax\@fontswitch\relax{#2}}
533
+ \def\DLMfontsw@oldlfont#1#2{#1\relax#2\relax}
534
+ \if@enablejfam
535
+ \DeclareSymbolFont{mincho}{\jsc@JYn}{mc}{m}{n}
536
+ \DeclareSymbolFontAlphabet{\mathmc}{mincho}
537
+ \SetSymbolFont{mincho}{bold}{\jsc@JYn}{gt}{m}{n}
538
+ \jfam\symmincho
539
+ \DeclareMathAlphabet{\mathgt}{\jsc@JYn}{gt}{m}{n}
540
+ \AtBeginDocument{%
541
+ \reDeclareMathAlphabet{\mathrm}{\@mathrm}{\@mathmc}
542
+ \reDeclareMathAlphabet{\mathbf}{\@mathbf}{\@mathgt}}
543
+ \fi
544
+ \prebreakpenalty\jis"2147=10000 % 5000 $B!G(B
545
+ \postbreakpenalty\jis"2148=10000 % 5000 $B!H(B
546
+ \prebreakpenalty\jis"2149=10000 % 5000 $B!I(B
547
+ \inhibitxspcode`$B!*(B=1
548
+ \inhibitxspcode`$B")(B=2
549
+ \xspcode`+=3
550
+ \xspcode`\%=3
551
+ \xspcode`^^80=3
552
+ \xspcode`^^81=3
553
+ \xspcode`^^82=3
554
+ \xspcode`^^83=3
555
+ \xspcode`^^84=3
556
+ \xspcode`^^85=3
557
+ \xspcode`^^86=3
558
+ \xspcode`^^87=3
559
+ \xspcode`^^88=3
560
+ \xspcode`^^89=3
561
+ \xspcode`^^8a=3
562
+ \xspcode`^^8b=3
563
+ \xspcode`^^8c=3
564
+ \xspcode`^^8d=3
565
+ \xspcode`^^8e=3
566
+ \xspcode`^^8f=3
567
+ \xspcode`^^90=3
568
+ \xspcode`^^91=3
569
+ \xspcode`^^92=3
570
+ \xspcode`^^93=3
571
+ \xspcode`^^94=3
572
+ \xspcode`^^95=3
573
+ \xspcode`^^96=3
574
+ \xspcode`^^97=3
575
+ \xspcode`^^98=3
576
+ \xspcode`^^99=3
577
+ \xspcode`^^9a=3
578
+ \xspcode`^^9b=3
579
+ \xspcode`^^9c=3
580
+ \xspcode`^^9d=3
581
+ \xspcode`^^9e=3
582
+ \xspcode`^^9f=3
583
+ \xspcode`^^a0=3
584
+ \xspcode`^^a1=3
585
+ \xspcode`^^a2=3
586
+ \xspcode`^^a3=3
587
+ \xspcode`^^a4=3
588
+ \xspcode`^^a5=3
589
+ \xspcode`^^a6=3
590
+ \xspcode`^^a7=3
591
+ \xspcode`^^a8=3
592
+ \xspcode`^^a9=3
593
+ \xspcode`^^aa=3
594
+ \xspcode`^^ab=3
595
+ \xspcode`^^ac=3
596
+ \xspcode`^^ad=3
597
+ \xspcode`^^ae=3
598
+ \xspcode`^^af=3
599
+ \xspcode`^^b0=3
600
+ \xspcode`^^b1=3
601
+ \xspcode`^^b2=3
602
+ \xspcode`^^b3=3
603
+ \xspcode`^^b4=3
604
+ \xspcode`^^b5=3
605
+ \xspcode`^^b6=3
606
+ \xspcode`^^b7=3
607
+ \xspcode`^^b8=3
608
+ \xspcode`^^b9=3
609
+ \xspcode`^^ba=3
610
+ \xspcode`^^bb=3
611
+ \xspcode`^^bc=3
612
+ \xspcode`^^bd=3
613
+ \xspcode`^^be=3
614
+ \xspcode`^^bf=3
615
+ \xspcode`^^c0=3
616
+ \xspcode`^^c1=3
617
+ \xspcode`^^c2=3
618
+ \xspcode`^^c3=3
619
+ \xspcode`^^c4=3
620
+ \xspcode`^^c5=3
621
+ \xspcode`^^c6=3
622
+ \xspcode`^^c7=3
623
+ \xspcode`^^c8=3
624
+ \xspcode`^^c9=3
625
+ \xspcode`^^ca=3
626
+ \xspcode`^^cb=3
627
+ \xspcode`^^cc=3
628
+ \xspcode`^^cd=3
629
+ \xspcode`^^ce=3
630
+ \xspcode`^^cf=3
631
+ \xspcode`^^d0=3
632
+ \xspcode`^^d1=3
633
+ \xspcode`^^d2=3
634
+ \xspcode`^^d3=3
635
+ \xspcode`^^d4=3
636
+ \xspcode`^^d5=3
637
+ \xspcode`^^d6=3
638
+ \xspcode`^^d7=3
639
+ \xspcode`^^d8=3
640
+ \xspcode`^^d9=3
641
+ \xspcode`^^da=3
642
+ \xspcode`^^db=3
643
+ \xspcode`^^dc=3
644
+ \xspcode`^^dd=3
645
+ \xspcode`^^de=3
646
+ \xspcode`^^df=3
647
+ \xspcode`^^e0=3
648
+ \xspcode`^^e1=3
649
+ \xspcode`^^e2=3
650
+ \xspcode`^^e3=3
651
+ \xspcode`^^e4=3
652
+ \xspcode`^^e5=3
653
+ \xspcode`^^e6=3
654
+ \xspcode`^^e7=3
655
+ \xspcode`^^e8=3
656
+ \xspcode`^^e9=3
657
+ \xspcode`^^ea=3
658
+ \xspcode`^^eb=3
659
+ \xspcode`^^ec=3
660
+ \xspcode`^^ed=3
661
+ \xspcode`^^ee=3
662
+ \xspcode`^^ef=3
663
+ \xspcode`^^f0=3
664
+ \xspcode`^^f1=3
665
+ \xspcode`^^f2=3
666
+ \xspcode`^^f3=3
667
+ \xspcode`^^f4=3
668
+ \xspcode`^^f5=3
669
+ \xspcode`^^f6=3
670
+ \xspcode`^^f7=3
671
+ \xspcode`^^f8=3
672
+ \xspcode`^^f9=3
673
+ \xspcode`^^fa=3
674
+ \xspcode`^^fb=3
675
+ \xspcode`^^fc=3
676
+ \xspcode`^^fd=3
677
+ \xspcode`^^fe=3
678
+ \xspcode`^^ff=3
679
+ \def\@{\spacefactor3000{}}
680
+ \def\@setfontsize#1#2#3{%
681
+ \ifx\protect\@typeset@protect
682
+ \let\@currsize#1%
683
+ \fi
684
+ \fontsize{#2}{#3}\selectfont
685
+ \ifdim\parindent>\z@
686
+ \if@english
687
+ \parindent=1em
688
+ \else
689
+ \parindent=1zw
690
+ \fi
691
+ \fi
692
+ \kanjiskip=0zw plus .1zw minus .01zw
693
+ \ifdim\xkanjiskip>\z@
694
+ \if@slide \xkanjiskip=0.1em \else
695
+ \xkanjiskip=0.25em plus 0.15em minus 0.06em
696
+ \fi
697
+ \fi}
698
+ \def\jsc@setfontsize#1#2#3{%
699
+ \@setfontsize#1{#2\jsc@mpt}{#3\jsc@mpt}}
700
+ \emergencystretch 3zw
701
+ \newif\ifnarrowbaselines
702
+ \if@english
703
+ \narrowbaselinestrue
704
+ \fi
705
+ \def\narrowbaselines{%
706
+ \narrowbaselinestrue
707
+ \skip0=\abovedisplayskip
708
+ \skip2=\abovedisplayshortskip
709
+ \skip4=\belowdisplayskip
710
+ \skip6=\belowdisplayshortskip
711
+ \@currsize\selectfont
712
+ \abovedisplayskip=\skip0
713
+ \abovedisplayshortskip=\skip2
714
+ \belowdisplayskip=\skip4
715
+ \belowdisplayshortskip=\skip6\relax}
716
+ \def\widebaselines{\narrowbaselinesfalse\@currsize\selectfont}
717
+ \renewcommand{\normalsize}{%
718
+ \ifnarrowbaselines
719
+ \jsc@setfontsize\normalsize\@xpt\@xiipt
720
+ \else
721
+ \jsc@setfontsize\normalsize\@xpt{\n@baseline}%
722
+ \fi
723
+ \abovedisplayskip 11\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
724
+ \abovedisplayshortskip \z@ \@plus3\jsc@mpt
725
+ \belowdisplayskip 9\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
726
+ \belowdisplayshortskip \belowdisplayskip
727
+ \let\@listi\@listI}
728
+ \normalsize
729
+ \setbox0\hbox{\char\jis"3441}%
730
+ \setlength\Cht{\ht0}
731
+ \setlength\Cdp{\dp0}
732
+ \setlength\Cwd{\wd0}
733
+ \setlength\Cvs{\baselineskip}
734
+ \setlength\Chs{\wd0}
735
+ \setbox0=\box\voidb@x
736
+ \newcommand{\small}{%
737
+ \ifnarrowbaselines
738
+ \jsc@setfontsize\small\@ixpt{11}%
739
+ \else
740
+ \jsc@setfontsize\small\@ixpt{13}%
741
+ \fi
742
+ \abovedisplayskip 9\jsc@mpt \@plus3\jsc@mpt \@minus4\jsc@mpt
743
+ \abovedisplayshortskip \z@ \@plus3\jsc@mpt
744
+ \belowdisplayskip \abovedisplayskip
745
+ \belowdisplayshortskip \belowdisplayskip
746
+ \def\@listi{\leftmargin\leftmargini
747
+ \topsep \z@
748
+ \parsep \z@
749
+ \itemsep \parsep}}
750
+ \newcommand{\footnotesize}{%
751
+ \ifnarrowbaselines
752
+ \jsc@setfontsize\footnotesize\@viiipt{9.5}%
753
+ \else
754
+ \jsc@setfontsize\footnotesize\@viiipt{11}%
755
+ \fi
756
+ \abovedisplayskip 6\jsc@mpt \@plus2\jsc@mpt \@minus3\jsc@mpt
757
+ \abovedisplayshortskip \z@ \@plus2\jsc@mpt
758
+ \belowdisplayskip \abovedisplayskip
759
+ \belowdisplayshortskip \belowdisplayskip
760
+ \def\@listi{\leftmargin\leftmargini
761
+ \topsep \z@
762
+ \parsep \z@
763
+ \itemsep \parsep}}
764
+ \newcommand{\scriptsize}{\jsc@setfontsize\scriptsize\@viipt\@viiipt}
765
+ \newcommand{\tiny}{\jsc@setfontsize\tiny\@vpt\@vipt}
766
+ \if@twocolumn
767
+ \newcommand{\large}{\jsc@setfontsize\large\@xiipt{\n@baseline}}
768
+ \else
769
+ \newcommand{\large}{\jsc@setfontsize\large\@xiipt{17}}
770
+ \fi
771
+ \newcommand{\Large}{\jsc@setfontsize\Large\@xivpt{21}}
772
+ \newcommand{\LARGE}{\jsc@setfontsize\LARGE\@xviipt{25}}
773
+ \newcommand{\huge}{\jsc@setfontsize\huge\@xxpt{28}}
774
+ \newcommand{\Huge}{\jsc@setfontsize\Huge\@xxvpt{33}}
775
+ \newcommand{\HUGE}{\jsc@setfontsize\HUGE{30}{40}}
776
+ \everydisplay=\expandafter{\the\everydisplay \narrowbaselines}
777
+ \newcommand{\headfont}{\gtfamily\sffamily}
778
+ \setlength\columnsep{2zw}
779
+ \setlength\columnseprule{\z@}
780
+ \setlength\lineskip{1\jsc@mpt}
781
+ \setlength\normallineskip{1\jsc@mpt}
782
+ \setlength\lineskiplimit{1\jsc@mpt}
783
+ \setlength\normallineskiplimit{1\jsc@mpt}
784
+ \renewcommand{\baselinestretch}{}
785
+ \setlength\parskip{\z@}
786
+ \if@slide
787
+ \setlength\parindent{0zw}
788
+ \else
789
+ \setlength\parindent{1zw}
790
+ \fi
791
+ \@lowpenalty 51
792
+ \@medpenalty 151
793
+ \@highpenalty 301
794
+ \setlength\topskip{1.38zw}%% from 10\jsc@mpt (2016-08-17)
795
+ \if@slide
796
+ \setlength\headheight{0\jsc@mpt}
797
+ \else
798
+ \setlength\headheight{20\jsc@mpt}%% from 2\topskip (2016-08-17); from \topskip (2003-06-26)
799
+ \fi
800
+ \if@slide
801
+ \setlength\footskip{0pt}
802
+ \else
803
+ \setlength\footskip{0.03367\paperheight}
804
+ \ifdim\footskip<\baselineskip
805
+ \setlength\footskip{\baselineskip}
806
+ \fi
807
+ \fi
808
+ \if@slide
809
+ \setlength\headsep{0\jsc@mpt}
810
+ \addtolength\headsep{-\topskip}%% added (2016-10-08)
811
+ \addtolength\headsep{10\jsc@mpt}%% added (2016-10-08)
812
+ \else
813
+ \setlength\headsep{\footskip}
814
+ \addtolength\headsep{-\topskip}
815
+ \fi
816
+ \setlength\maxdepth{.5\topskip}
817
+ \newdimen\fullwidth
818
+ \if@slide
819
+ \setlength\fullwidth{0.9\paperwidth}
820
+ \else
821
+ \setlength\fullwidth{0.76\paperwidth}
822
+ \fi
823
+ \if@twocolumn \@tempdima=2zw \else \@tempdima=1zw \fi
824
+ \divide\fullwidth\@tempdima \multiply\fullwidth\@tempdima
825
+ \setlength\textwidth{\fullwidth}
826
+ \if@slide
827
+ \setlength{\textheight}{0.95\paperheight}
828
+ \else
829
+ \setlength{\textheight}{0.83\paperheight}
830
+ \fi
831
+ \addtolength{\textheight}{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26)
832
+ \addtolength{\textheight}{-\headsep}
833
+ \addtolength{\textheight}{-\footskip}
834
+ \addtolength{\textheight}{-\topskip}
835
+ \divide\textheight\baselineskip
836
+ \multiply\textheight\baselineskip
837
+ \addtolength{\textheight}{\topskip}
838
+ \addtolength{\textheight}{0.1\jsc@mpt}
839
+ \def\flushbottom{%
840
+ \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}%
841
+ \let\@texttop\relax}
842
+ \setlength\marginparsep{\columnsep}
843
+ \setlength\marginparpush{\baselineskip}
844
+ \setlength{\oddsidemargin}{\paperwidth}
845
+ \addtolength{\oddsidemargin}{-\fullwidth}
846
+ \setlength{\oddsidemargin}{.5\oddsidemargin}
847
+ \iftombow
848
+ \addtolength{\oddsidemargin}{-1in}
849
+ \else
850
+ \addtolength{\oddsidemargin}{-\inv@mag in}
851
+ \fi
852
+ \setlength{\evensidemargin}{\oddsidemargin}
853
+ \if@mparswitch
854
+ \addtolength{\evensidemargin}{\fullwidth}
855
+ \addtolength{\evensidemargin}{-\textwidth}
856
+ \fi
857
+ \setlength\marginparwidth{\paperwidth}
858
+ \addtolength\marginparwidth{-\oddsidemargin}
859
+ \addtolength\marginparwidth{-\inv@mag in}
860
+ \addtolength\marginparwidth{-\textwidth}
861
+ \addtolength\marginparwidth{-10\jsc@mmm}
862
+ \addtolength\marginparwidth{-\marginparsep}
863
+ \@tempdima=1zw
864
+ \divide\marginparwidth\@tempdima
865
+ \multiply\marginparwidth\@tempdima
866
+ \setlength\topmargin{\paperheight}
867
+ \addtolength\topmargin{-\textheight}
868
+ \if@slide
869
+ \addtolength\topmargin{-\headheight}
870
+ \else
871
+ \addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26)
872
+ \fi
873
+ \addtolength\topmargin{-\headsep}
874
+ \addtolength\topmargin{-\footskip}
875
+ \setlength\topmargin{0.5\topmargin}
876
+ \iftombow
877
+ \addtolength\topmargin{-1in}
878
+ \else
879
+ \addtolength\topmargin{-\inv@mag in}
880
+ \fi
881
+ {\footnotesize\global\setlength\footnotesep{\baselineskip}}
882
+ \setlength\footnotesep{0.7\footnotesep}
883
+ \setlength{\skip\footins}{16\jsc@mpt \@plus 5\jsc@mpt \@minus 2\jsc@mpt}
884
+ \setcounter{topnumber}{9}
885
+ \renewcommand{\topfraction}{.85}
886
+ \setcounter{bottomnumber}{9}
887
+ \renewcommand{\bottomfraction}{.8}
888
+ \setcounter{totalnumber}{20}
889
+ \renewcommand{\textfraction}{.1}
890
+ \renewcommand{\floatpagefraction}{.8}
891
+ \setcounter{dbltopnumber}{9}
892
+ \renewcommand{\dbltopfraction}{.8}
893
+ \renewcommand{\dblfloatpagefraction}{.8}
894
+ \setlength\floatsep {12\jsc@mpt \@plus 2\jsc@mpt \@minus 2\jsc@mpt}
895
+ \setlength\textfloatsep{20\jsc@mpt \@plus 2\jsc@mpt \@minus 4\jsc@mpt}
896
+ \setlength\intextsep {12\jsc@mpt \@plus 2\jsc@mpt \@minus 2\jsc@mpt}
897
+ \setlength\dblfloatsep {12\jsc@mpt \@plus 2\jsc@mpt \@minus 2\jsc@mpt}
898
+ \setlength\dbltextfloatsep{20\jsc@mpt \@plus 2\jsc@mpt \@minus 4\jsc@mpt}
899
+ \setlength\@fptop{0\jsc@mpt \@plus 1fil}
900
+ \setlength\@fpsep{8\jsc@mpt \@plus 2fil}
901
+ \setlength\@fpbot{0\jsc@mpt \@plus 1fil}
902
+ \setlength\@dblfptop{0\jsc@mpt \@plus 1fil}
903
+ \setlength\@dblfpsep{8\jsc@mpt \@plus 2fil}
904
+ \setlength\@dblfpbot{0\jsc@mpt \@plus 1fil}
905
+ \def\pltx@cleartorightpage{\clearpage\if@twoside
906
+ \ifodd\c@page
907
+ \iftdir
908
+ \hbox{}\thispagestyle{empty}\newpage
909
+ \if@twocolumn\hbox{}\newpage\fi
910
+ \fi
911
+ \else
912
+ \ifydir
913
+ \hbox{}\thispagestyle{empty}\newpage
914
+ \if@twocolumn\hbox{}\newpage\fi
915
+ \fi
916
+ \fi\fi}
917
+ \def\pltx@cleartoleftpage{\clearpage\if@twoside
918
+ \ifodd\c@page
919
+ \ifydir
920
+ \hbox{}\thispagestyle{empty}\newpage
921
+ \if@twocolumn\hbox{}\newpage\fi
922
+ \fi
923
+ \else
924
+ \iftdir
925
+ \hbox{}\thispagestyle{empty}\newpage
926
+ \if@twocolumn\hbox{}\newpage\fi
927
+ \fi
928
+ \fi\fi}
929
+ \def\pltx@cleartooddpage{\clearpage\if@twoside
930
+ \ifodd\c@page\else
931
+ \hbox{}\thispagestyle{empty}\newpage
932
+ \if@twocolumn\hbox{}\newpage\fi
933
+ \fi\fi}
934
+ \def\pltx@cleartoevenpage{\clearpage\if@twoside
935
+ \ifodd\c@page
936
+ \hbox{}\thispagestyle{empty}\newpage
937
+ \if@twocolumn\hbox{}\newpage\fi
938
+ \fi\fi}
939
+ \def\ps@plainfoot{%
940
+ \let\@mkboth\@gobbletwo
941
+ \let\@oddhead\@empty
942
+ \def\@oddfoot{\normalfont\hfil\thepage\hfil}%
943
+ \let\@evenhead\@empty
944
+ \let\@evenfoot\@oddfoot}
945
+ \def\ps@plainhead{%
946
+ \let\@mkboth\@gobbletwo
947
+ \let\@oddfoot\@empty
948
+ \let\@evenfoot\@empty
949
+ \def\@evenhead{%
950
+ \if@mparswitch \hss \fi
951
+ \hbox to \fullwidth{\textbf{\thepage}\hfil}%
952
+ \if@mparswitch\else \hss \fi}%
953
+ \def\@oddhead{%
954
+ \hbox to \fullwidth{\hfil\textbf{\thepage}}\hss}}
955
+ \let\ps@plain\ps@plainfoot
956
+ \if@twoside
957
+ \def\ps@headings{%
958
+ \let\@oddfoot\@empty
959
+ \let\@evenfoot\@empty
960
+ \def\@evenhead{\if@mparswitch \hss \fi
961
+ \underline{\hbox to \fullwidth{\textbf{\thepage}\hfil\leftmark}}%
962
+ \if@mparswitch\else \hss \fi}%
963
+ \def\@oddhead{%
964
+ \underline{%
965
+ \hbox to \fullwidth{{\rightmark}\hfil\textbf{\thepage}}}\hss}%
966
+ \let\@mkboth\markboth
967
+ \def\sectionmark##1{\markboth{%
968
+ \ifnum \c@secnumdepth >\z@ \thesection \hskip1zw\fi
969
+ ##1}{}}%
970
+ \def\subsectionmark##1{\markright{%
971
+ \ifnum \c@secnumdepth >\@ne \thesubsection \hskip1zw\fi
972
+ ##1}}%
973
+ }
974
+ \else % if not twoside
975
+ \def\ps@headings{%
976
+ \let\@oddfoot\@empty
977
+ \def\@oddhead{%
978
+ \underline{%
979
+ \hbox to \fullwidth{{\rightmark}\hfil\textbf{\thepage}}}\hss}%
980
+ \let\@mkboth\markboth
981
+ \def\sectionmark##1{\markright{%
982
+ \ifnum \c@secnumdepth >\z@ \thesection \hskip1zw\fi
983
+ ##1}}}
984
+ \fi
985
+ \def\ps@myheadings{%
986
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
987
+ \def\@evenhead{%
988
+ \if@mparswitch \hss \fi%
989
+ \hbox to \fullwidth{\thepage\hfil\leftmark}%
990
+ \if@mparswitch\else \hss \fi}%
991
+ \def\@oddhead{%
992
+ \hbox to \fullwidth{\rightmark\hfil\thepage}\hss}%
993
+ \let\@mkboth\@gobbletwo
994
+ \let\sectionmark\@gobble
995
+ \let\subsectionmark\@gobble
996
+ }
997
+ \def\plainifnotempty{%
998
+ \ifx \@oddhead \@empty
999
+ \ifx \@oddfoot \@empty
1000
+ \else
1001
+ \thispagestyle{plainfoot}%
1002
+ \fi
1003
+ \else
1004
+ \thispagestyle{plainhead}%
1005
+ \fi}
1006
+ \if@titlepage
1007
+ \newcommand{\maketitle}{%
1008
+ \begin{titlepage}%
1009
+ \let\footnotesize\small
1010
+ \let\footnoterule\relax
1011
+ \let\footnote\thanks
1012
+ \null\vfil
1013
+ \if@slide
1014
+ {\footnotesize \@date}%
1015
+ \begin{center}
1016
+ \mbox{} \\[1zw]
1017
+ \large
1018
+ {\maybeblue\hrule height0\jsc@mpt depth2\jsc@mpt\relax}\par
1019
+ \jsc@smallskip
1020
+ \@title
1021
+ \jsc@smallskip
1022
+ {\maybeblue\hrule height0\jsc@mpt depth2\jsc@mpt\relax}\par
1023
+ \vfill
1024
+ {\small \@author}%
1025
+ \end{center}
1026
+ \else
1027
+ \vskip 60\jsc@mpt
1028
+ \begin{center}%
1029
+ {\LARGE \@title \par}%
1030
+ \vskip 3em%
1031
+ {\large
1032
+ \lineskip .75em
1033
+ \begin{tabular}[t]{c}%
1034
+ \@author
1035
+ \end{tabular}\par}%
1036
+ \vskip 1.5em
1037
+ {\large \@date \par}%
1038
+ \end{center}%
1039
+ \fi
1040
+ \par
1041
+ \@thanks\vfil\null
1042
+ \end{titlepage}%
1043
+ \setcounter{footnote}{0}%
1044
+ \global\let\thanks\relax
1045
+ \global\let\maketitle\relax
1046
+ \global\let\@thanks\@empty
1047
+ \global\let\@author\@empty
1048
+ \global\let\@date\@empty
1049
+ \global\let\@title\@empty
1050
+ \global\let\title\relax
1051
+ \global\let\author\relax
1052
+ \global\let\date\relax
1053
+ \global\let\and\relax
1054
+ }%
1055
+ \else
1056
+ \newcommand{\maketitle}{\par
1057
+ \begingroup
1058
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
1059
+ \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
1060
+ \long\def\@makefntext##1{\advance\leftskip 3zw
1061
+ \parindent 1zw\noindent
1062
+ \llap{\@textsuperscript{\normalfont\@thefnmark}\hskip0.3zw}##1}%
1063
+ \if@twocolumn
1064
+ \ifnum \col@number=\@ne
1065
+ \@maketitle
1066
+ \else
1067
+ \twocolumn[\@maketitle]%
1068
+ \fi
1069
+ \else
1070
+ \newpage
1071
+ \global\@topnum\z@ % Prevents figures from going at top of page.
1072
+ \@maketitle
1073
+ \fi
1074
+ \plainifnotempty
1075
+ \@thanks
1076
+ \endgroup
1077
+ \setcounter{footnote}{0}%
1078
+ \global\let\thanks\relax
1079
+ \global\let\maketitle\relax
1080
+ \global\let\@thanks\@empty
1081
+ \global\let\@author\@empty
1082
+ \global\let\@date\@empty
1083
+ \global\let\@title\@empty
1084
+ \global\let\title\relax
1085
+ \global\let\author\relax
1086
+ \global\let\date\relax
1087
+ \global\let\and\relax
1088
+ }
1089
+ \def\@maketitle{%
1090
+ \newpage\null
1091
+ \vskip 2em
1092
+ \begin{center}%
1093
+ \let\footnote\thanks
1094
+ {\LARGE \@title \par}%
1095
+ \vskip 1.5em
1096
+ {\large
1097
+ \lineskip .5em
1098
+ \begin{tabular}[t]{c}%
1099
+ \@author
1100
+ \end{tabular}\par}%
1101
+ \vskip 1em
1102
+ {\large \@date}%
1103
+ \end{center}%
1104
+ \par\vskip 1.5em
1105
+ \ifvoid\@abstractbox\else\centerline{\box\@abstractbox}\vskip1.5em\fi
1106
+ }
1107
+ \fi
1108
+ \def\@startsection#1#2#3#4#5#6{%
1109
+ \if@noskipsec \leavevmode \fi
1110
+ \par
1111
+ \@tempskipa #4\relax
1112
+ \if@english \@afterindentfalse \else \@afterindenttrue \fi
1113
+ \ifdim \@tempskipa <\z@
1114
+ \@tempskipa -\@tempskipa \@afterindentfalse
1115
+ \fi
1116
+ \if@nobreak
1117
+ \everypar{}%
1118
+ \else
1119
+ \addpenalty\@secpenalty
1120
+ \ifdim \@tempskipa >\z@
1121
+ \if@slide\else
1122
+ \null
1123
+ \vspace*{-\baselineskip}%
1124
+ \fi
1125
+ \vskip\@tempskipa
1126
+ \fi
1127
+ \fi
1128
+ \noindent
1129
+ \@ifstar
1130
+ {\@ssect{#3}{#4}{#5}{#6}}%
1131
+ {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
1132
+ \def\@sect#1#2#3#4#5#6[#7]#8{%
1133
+ \ifnum #2>\c@secnumdepth
1134
+ \let\@svsec\@empty
1135
+ \else
1136
+ \refstepcounter{#1}%
1137
+ \protected@edef\@svsec{\@seccntformat{#1}\relax}%
1138
+ \fi
1139
+ \@tempskipa #5\relax
1140
+ \ifdim \@tempskipa<\z@
1141
+ \def\@svsechd{%
1142
+ #6{\hskip #3\relax
1143
+ \@svsec #8}%
1144
+ \csname #1mark\endcsname{#7}%
1145
+ \addcontentsline{toc}{#1}{%
1146
+ \ifnum #2>\c@secnumdepth \else
1147
+ \protect\numberline{\csname the#1\endcsname}%
1148
+ \fi
1149
+ #7}}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i(B #8
1150
+ \else
1151
+ \begingroup
1152
+ \interlinepenalty \@M % $B2<$+$i0\F0(B
1153
+ #6{%
1154
+ \@hangfrom{\hskip #3\relax\@svsec}%
1155
+ #8\@@par}%
1156
+ \endgroup
1157
+ \csname #1mark\endcsname{#7}%
1158
+ \addcontentsline{toc}{#1}{%
1159
+ \ifnum #2>\c@secnumdepth \else
1160
+ \protect\numberline{\csname the#1\endcsname}%
1161
+ \fi
1162
+ #7}% $BL\<!$K%U%k%M!<%`$r:\$;$k$J$i$3$3$O(B #8
1163
+ \fi
1164
+ \@xsect{#5}}
1165
+ \def\@xsect#1{%
1166
+ \@tempskipa #1\relax
1167
+ \ifdim \@tempskipa<\z@
1168
+ \@nobreakfalse
1169
+ \global\@noskipsectrue
1170
+ \everypar{%
1171
+ \if@noskipsec
1172
+ \global\@noskipsecfalse
1173
+ {\setbox\z@\lastbox}%
1174
+ \clubpenalty\@M
1175
+ \begingroup \@svsechd \endgroup
1176
+ \unskip
1177
+ \@tempskipa #1\relax
1178
+ \hskip -\@tempskipa
1179
+ \else
1180
+ \clubpenalty \@clubpenalty
1181
+ \everypar{\everyparhook}%
1182
+ \fi\everyparhook}%
1183
+ \else
1184
+ \par \nobreak
1185
+ \vskip \@tempskipa
1186
+ \@afterheading
1187
+ \fi
1188
+ \if@slide
1189
+ {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi
1190
+ \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt
1191
+ \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}%
1192
+ \fi
1193
+ \par % 2000-12-18
1194
+ \ignorespaces}
1195
+ \def\@ssect#1#2#3#4#5{%
1196
+ \@tempskipa #3\relax
1197
+ \ifdim \@tempskipa<\z@
1198
+ \def\@svsechd{#4{\hskip #1\relax #5}}%
1199
+ \else
1200
+ \begingroup
1201
+ #4{%
1202
+ \@hangfrom{\hskip #1}%
1203
+ \interlinepenalty \@M #5\@@par}%
1204
+ \endgroup
1205
+ \fi
1206
+ \@xsect{#3}}
1207
+ \newcommand*\chaptermark[1]{}
1208
+ \setcounter{secnumdepth}{3}
1209
+ \newcounter{part}
1210
+ \newcounter{section}
1211
+ \newcounter{subsection}[section]
1212
+ \newcounter{subsubsection}[subsection]
1213
+ \newcounter{paragraph}[subsubsection]
1214
+ \newcounter{subparagraph}[paragraph]
1215
+ \renewcommand{\thepart}{\@Roman\c@part}
1216
+ % \renewcommand{\thesection}{\@arabic\c@section}
1217
+ \renewcommand{\thesection}{\presectionname\@arabic\c@section\postsectionname}
1218
+ \renewcommand{\thesubsection}{\@arabic\c@section.\@arabic\c@subsection}
1219
+ \renewcommand{\thesubsubsection}{%
1220
+ \thesubsection.\@arabic\c@subsubsection}
1221
+ \renewcommand{\theparagraph}{%
1222
+ \thesubsubsection.\@arabic\c@paragraph}
1223
+ \renewcommand{\thesubparagraph}{%
1224
+ \theparagraph.\@arabic\c@subparagraph}
1225
+ \newcommand\part{%
1226
+ \if@noskipsec \leavevmode \fi
1227
+ \par
1228
+ \addvspace{4ex}%
1229
+ \if@english \@afterindentfalse \else \@afterindenttrue \fi
1230
+ \secdef\@part\@spart}
1231
+ \def\@part[#1]#2{%
1232
+ \ifnum \c@secnumdepth >\m@ne
1233
+ \refstepcounter{part}%
1234
+ \addcontentsline{toc}{part}{%
1235
+ \prepartname\thepart\postpartname\hspace{1zw}#1}%
1236
+ \else
1237
+ \addcontentsline{toc}{part}{#1}%
1238
+ \fi
1239
+ \markboth{}{}%
1240
+ {\parindent\z@
1241
+ \raggedright
1242
+ \interlinepenalty \@M
1243
+ \normalfont
1244
+ \ifnum \c@secnumdepth >\m@ne
1245
+ \Large\headfont\prepartname\thepart\postpartname
1246
+ \par\nobreak
1247
+ \fi
1248
+ \huge \headfont #2%
1249
+ \markboth{}{}\par}%
1250
+ \nobreak
1251
+ \vskip 3ex
1252
+ \@afterheading}
1253
+ \def\@spart#1{{%
1254
+ \parindent \z@ \raggedright
1255
+ \interlinepenalty \@M
1256
+ \normalfont
1257
+ \huge \headfont #1\par}%
1258
+ \nobreak
1259
+ \vskip 3ex
1260
+ \@afterheading}
1261
+ \if@twocolumn
1262
+ \newcommand{\section}{%
1263
+ \@startsection{section}{1}{\z@}%
1264
+ {0.6\Cvs}{0.4\Cvs}%
1265
+ {\normalfont\large\headfont\raggedright}}
1266
+ \else
1267
+ \newcommand{\section}{%
1268
+ \if@slide\clearpage\fi
1269
+ \@startsection{section}{1}{\z@}%
1270
+ {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B
1271
+ {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B
1272
+ {\normalfont\Large\headfont\raggedright}}
1273
+ \fi
1274
+ \if@twocolumn
1275
+ \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
1276
+ {\z@}{\if@slide .4\Cvs \else \z@ \fi}%
1277
+ {\normalfont\normalsize\headfont}}
1278
+ \else
1279
+ \newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
1280
+ {\Cvs \@plus.5\Cdp \@minus.2\Cdp}% $BA0%"%-(B
1281
+ {.5\Cvs \@plus.3\Cdp}% $B8e%"%-(B
1282
+ {\normalfont\large\headfont}}
1283
+ \fi
1284
+ \if@twocolumn
1285
+ \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
1286
+ {\z@}{\if@slide .4\Cvs \else \z@ \fi}%
1287
+ {\normalfont\normalsize\headfont}}
1288
+ \else
1289
+ \newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
1290
+ {\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
1291
+ {\if@slide .5\Cvs \@plus.3\Cdp \else \z@ \fi}%
1292
+ {\normalfont\normalsize\headfont}}
1293
+ \fi
1294
+ \newcommand{\jsParagraphMark}{$B"#(B}
1295
+ \if@twocolumn
1296
+ \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
1297
+ {\z@}{\if@slide .4\Cvs \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
1298
+ {\normalfont\normalsize\headfont\jsParagraphMark}}
1299
+ \else
1300
+ \newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
1301
+ {0.5\Cvs \@plus.5\Cdp \@minus.2\Cdp}%
1302
+ {\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}% $B2~9T$;$:(B 1zw $B$N%"%-(B
1303
+ {\normalfont\normalsize\headfont\jsParagraphMark}}
1304
+ \fi
1305
+ \if@twocolumn
1306
+ \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
1307
+ {\z@}{\if@slide .4\Cvs \@plus.3\Cdp \else -1zw\fi}%
1308
+ {\normalfont\normalsize\headfont}}
1309
+ \else
1310
+ \newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}%
1311
+ {\z@}{\if@slide .5\Cvs \@plus.3\Cdp \else -1zw\fi}%
1312
+ {\normalfont\normalsize\headfont}}
1313
+ \fi
1314
+ \if@slide
1315
+ \setlength\leftmargini{1zw}
1316
+ \else
1317
+ \if@twocolumn
1318
+ \setlength\leftmargini{2zw}
1319
+ \else
1320
+ \setlength\leftmargini{3zw}
1321
+ \fi
1322
+ \fi
1323
+ \if@slide
1324
+ \setlength\leftmarginii {1zw}
1325
+ \setlength\leftmarginiii{1zw}
1326
+ \setlength\leftmarginiv {1zw}
1327
+ \setlength\leftmarginv {1zw}
1328
+ \setlength\leftmarginvi {1zw}
1329
+ \else
1330
+ \setlength\leftmarginii {2zw}
1331
+ \setlength\leftmarginiii{2zw}
1332
+ \setlength\leftmarginiv {2zw}
1333
+ \setlength\leftmarginv {1zw}
1334
+ \setlength\leftmarginvi {1zw}
1335
+ \fi
1336
+ \setlength \labelsep {0.5zw} % .5em
1337
+ \setlength \labelwidth{\leftmargini}
1338
+ \addtolength\labelwidth{-\labelsep}
1339
+ \setlength\partopsep{\z@} % {2\p@ \@plus 1\p@ \@minus 1\p@}
1340
+ \@beginparpenalty -\@lowpenalty
1341
+ \@endparpenalty -\@lowpenalty
1342
+ \@itempenalty -\@lowpenalty
1343
+ \def\@listi{\leftmargin\leftmargini
1344
+ \parsep \z@
1345
+ \topsep 0.5\baselineskip
1346
+ \itemsep \z@ \relax}
1347
+ \let\@listI\@listi
1348
+ \@listi
1349
+ \def\@listii{\leftmargin\leftmarginii
1350
+ \labelwidth\leftmarginii \advance\labelwidth-\labelsep
1351
+ \topsep \z@
1352
+ \parsep \z@
1353
+ \itemsep\parsep}
1354
+ \def\@listiii{\leftmargin\leftmarginiii
1355
+ \labelwidth\leftmarginiii \advance\labelwidth-\labelsep
1356
+ \topsep \z@
1357
+ \parsep \z@
1358
+ \itemsep\parsep}
1359
+ \def\@listiv {\leftmargin\leftmarginiv
1360
+ \labelwidth\leftmarginiv
1361
+ \advance\labelwidth-\labelsep}
1362
+ \def\@listv {\leftmargin\leftmarginv
1363
+ \labelwidth\leftmarginv
1364
+ \advance\labelwidth-\labelsep}
1365
+ \def\@listvi {\leftmargin\leftmarginvi
1366
+ \labelwidth\leftmarginvi
1367
+ \advance\labelwidth-\labelsep}
1368
+ \renewcommand{\theenumi}{\@arabic\c@enumi}
1369
+ \renewcommand{\theenumii}{\@alph\c@enumii}
1370
+ \renewcommand{\theenumiii}{\@roman\c@enumiii}
1371
+ \renewcommand{\theenumiv}{\@Alph\c@enumiv}
1372
+ \newcommand{\labelenumi}{\theenumi.}
1373
+ \newcommand{\labelenumii}{\inhibitglue$B!J(B\theenumii$B!K(B\inhibitglue}
1374
+ \newcommand{\labelenumiii}{\theenumiii.}
1375
+ \newcommand{\labelenumiv}{\theenumiv.}
1376
+ \renewcommand{\p@enumii}{\theenumi}
1377
+ \renewcommand{\p@enumiii}{\theenumi\inhibitglue$B!J(B\theenumii$B!K(B}
1378
+ \renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
1379
+ \newcommand\labelitemi{\textbullet}
1380
+ \newcommand\labelitemii{\normalfont\bfseries \textendash}
1381
+ \newcommand\labelitemiii{\textasteriskcentered}
1382
+ \newcommand\labelitemiv{\textperiodcentered}
1383
+ \newenvironment{description}{%
1384
+ \list{}{%
1385
+ \labelwidth=\leftmargin
1386
+ \labelsep=1zw
1387
+ \advance \labelwidth by -\labelsep
1388
+ \let \makelabel=\descriptionlabel}}{\endlist}
1389
+ \newcommand*\descriptionlabel[1]{\normalfont\headfont #1\hfil}
1390
+ \newbox\@abstractbox
1391
+ \if@titlepage
1392
+ \newenvironment{abstract}{%
1393
+ \titlepage
1394
+ \null\vfil
1395
+ \@beginparpenalty\@lowpenalty
1396
+ \begin{center}%
1397
+ \headfont \abstractname
1398
+ \@endparpenalty\@M
1399
+ \end{center}}%
1400
+ {\par\vfil\null\endtitlepage}
1401
+ \else
1402
+ \newenvironment{abstract}{%
1403
+ \if@twocolumn
1404
+ \ifx\maketitle\relax
1405
+ \section*{\abstractname}%
1406
+ \else
1407
+ \global\setbox\@abstractbox\hbox\bgroup
1408
+ \begin{minipage}[b]{\textwidth}
1409
+ \small\parindent1zw
1410
+ \begin{center}%
1411
+ {\headfont \abstractname\vspace{-.5em}\vspace{\z@}}%
1412
+ \end{center}%
1413
+ \list{}{%
1414
+ \listparindent\parindent
1415
+ \itemindent \listparindent
1416
+ \rightmargin \leftmargin}%
1417
+ \item\relax
1418
+ \fi
1419
+ \else
1420
+ \small
1421
+ \begin{center}%
1422
+ {\headfont \abstractname\vspace{-.5em}\vspace{\z@}}%
1423
+ \end{center}%
1424
+ \list{}{%
1425
+ \listparindent\parindent
1426
+ \itemindent \listparindent
1427
+ \rightmargin \leftmargin}%
1428
+ \item\relax
1429
+ \fi}{\if@twocolumn
1430
+ \ifx\maketitle\relax
1431
+ \else
1432
+ \endlist\end{minipage}\egroup
1433
+ \fi
1434
+ \else
1435
+ \endlist
1436
+ \fi}
1437
+ \fi
1438
+ \newenvironment{verse}{%
1439
+ \let \\=\@centercr
1440
+ \list{}{%
1441
+ \itemsep \z@
1442
+ \itemindent -2zw % $B85(B: -1.5em
1443
+ \listparindent\itemindent
1444
+ \rightmargin \z@
1445
+ \advance\leftmargin 2zw}% $B85(B: 1.5em
1446
+ \item\relax}{\endlist}
1447
+ \newenvironment{quotation}{%
1448
+ \list{}{%
1449
+ \listparindent\parindent
1450
+ \itemindent\listparindent
1451
+ \rightmargin \z@}%
1452
+ \item\relax}{\endlist}
1453
+ \newenvironment{quote}%
1454
+ {\list{}{\rightmargin\z@}\item\relax}{\endlist}
1455
+ \def\@begintheorem#1#2{\trivlist\labelsep=1zw
1456
+ \item[\hskip \labelsep{\headfont #1\ #2}]}
1457
+ \def\@opargbegintheorem#1#2#3{\trivlist\labelsep=1zw
1458
+ \item[\hskip \labelsep{\headfont #1\ #2$B!J(B#3$B!K(B}]}
1459
+ \newenvironment{titlepage}{%
1460
+ \if@twocolumn
1461
+ \@restonecoltrue\onecolumn
1462
+ \else
1463
+ \@restonecolfalse\newpage
1464
+ \fi
1465
+ \thispagestyle{empty}%
1466
+ \ifodd\c@page\setcounter{page}\@ne\else\setcounter{page}\z@\fi %% 2017-02-24
1467
+ }%
1468
+ {\if@restonecol\twocolumn \else \newpage \fi
1469
+ \if@twoside\else
1470
+ \setcounter{page}\@ne
1471
+ \fi}
1472
+ \newcommand{\appendix}{\par
1473
+ \setcounter{section}{0}%
1474
+ \setcounter{subsection}{0}%
1475
+ \gdef\presectionname{\appendixname}%
1476
+ \gdef\postsectionname{}%
1477
+ \gdef\thesection{\presectionname\@Alph\c@section\postsectionname}%
1478
+ \gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}}
1479
+ \setlength\arraycolsep{5\jsc@mpt}
1480
+ \setlength\tabcolsep{6\jsc@mpt}
1481
+ \setlength\arrayrulewidth{.4\jsc@mpt}
1482
+ \setlength\doublerulesep{2\jsc@mpt}
1483
+ \setlength\tabbingsep{\labelsep}
1484
+ \skip\@mpfootins = \skip\footins
1485
+ \setlength\fboxsep{3\jsc@mpt}
1486
+ \setlength\fboxrule{.4\jsc@mpt}
1487
+ \renewcommand \theequation {\@arabic\c@equation}
1488
+ \newcounter{figure}
1489
+ \renewcommand \thefigure {\@arabic\c@figure}
1490
+ \def\fps@figure{tbp}
1491
+ \def\ftype@figure{1}
1492
+ \def\ext@figure{lof}
1493
+ \def\fnum@figure{\figurename\nobreak\thefigure}
1494
+ \newenvironment{figure}%
1495
+ {\@float{figure}}%
1496
+ {\end@float}
1497
+ \newenvironment{figure*}%
1498
+ {\@dblfloat{figure}}%
1499
+ {\end@dblfloat}
1500
+ \newcounter{table}
1501
+ \renewcommand\thetable{\@arabic\c@table}
1502
+ \def\fps@table{tbp}
1503
+ \def\ftype@table{2}
1504
+ \def\ext@table{lot}
1505
+ \def\fnum@table{\tablename\nobreak\thetable}
1506
+ \newenvironment{table}%
1507
+ {\@float{table}}%
1508
+ {\end@float}
1509
+ \newenvironment{table*}%
1510
+ {\@dblfloat{table}}%
1511
+ {\end@dblfloat}
1512
+ \newlength\abovecaptionskip
1513
+ \newlength\belowcaptionskip
1514
+ \setlength\abovecaptionskip{5\jsc@mpt} % $B85(B: 10\p@
1515
+ \setlength\belowcaptionskip{5\jsc@mpt} % $B85(B: 0\p@
1516
+ \long\def\@makecaption#1#2{{\small
1517
+ \advance\leftskip .0628\linewidth
1518
+ \advance\rightskip .0628\linewidth
1519
+ \vskip\abovecaptionskip
1520
+ \sbox\@tempboxa{#1\hskip1zw\relax #2}%
1521
+ \ifdim \wd\@tempboxa <\hsize \centering \fi
1522
+ #1\hskip1zw\relax #2\par
1523
+ \vskip\belowcaptionskip}}
1524
+ \DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
1525
+ \DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
1526
+ \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
1527
+ \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
1528
+ \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
1529
+ \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
1530
+ \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
1531
+ \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
1532
+ \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
1533
+ \DeclareRobustCommand*{\cal}{\@fontswitch\relax\mathcal}
1534
+ \DeclareRobustCommand*{\mit}{\@fontswitch\relax\mathnormal}
1535
+ \newcommand\@pnumwidth{1.55em}
1536
+ \newcommand\@tocrmarg{2.55em}
1537
+ \newcommand\@dotsep{4.5}
1538
+ \setcounter{tocdepth}{2}
1539
+ \newdimen\jsc@tocl@width
1540
+ \newcommand{\tableofcontents}{%
1541
+ \settowidth\jsc@tocl@width{\headfont\presectionname\postsectionname}%
1542
+ \settowidth\@tempdima{\headfont\appendixname}%
1543
+ \ifdim\jsc@tocl@width<\@tempdima\relax\setlength\jsc@tocl@width{\@tempdima}\fi
1544
+ \ifdim\jsc@tocl@width<2zw \divide\jsc@tocl@width by 2 \advance\jsc@tocl@width 1zw\fi
1545
+ \section*{\contentsname}%
1546
+ \@mkboth{\contentsname}{\contentsname}%
1547
+ \@starttoc{toc}%
1548
+ }
1549
+ \newcommand*{\l@part}[2]{%
1550
+ \ifnum \c@tocdepth >-2\relax
1551
+ \addpenalty\@secpenalty
1552
+ \addvspace{2.25em \@plus\jsc@mpt}%
1553
+ \begingroup
1554
+ \parindent \z@
1555
+ \rightskip \@tocrmarg
1556
+ \parfillskip -\rightskip
1557
+ {\leavevmode
1558
+ \large \headfont
1559
+ \setlength\@lnumwidth{4zw}%
1560
+ #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
1561
+ \nobreak
1562
+ \endgroup
1563
+ \fi}
1564
+ \newcommand*{\l@section}[2]{%
1565
+ \ifnum \c@tocdepth >\z@
1566
+ \addpenalty{\@secpenalty}%
1567
+ \addvspace{1.0em \@plus\jsc@mpt}%
1568
+ \begingroup
1569
+ \parindent\z@
1570
+ \rightskip\@tocrmarg
1571
+ \parfillskip-\rightskip
1572
+ \leavevmode\headfont
1573
+ %\setlength\@lnumwidth{4zw}% $B85(B1.5em [2003-03-02]
1574
+ \setlength\@lnumwidth{\jsc@tocl@width}\advance\@lnumwidth 2zw
1575
+ \advance\leftskip\@lnumwidth \hskip-\leftskip
1576
+ #1\nobreak\hfil\nobreak\hbox to\@pnumwidth{\hss#2}\par
1577
+ \endgroup
1578
+ \fi}
1579
+ \newcommand*{\l@subsection}{%
1580
+ \@tempdima\jsc@tocl@width \advance\@tempdima -1zw
1581
+ \@dottedtocline{2}{\@tempdima}{3zw}}
1582
+ \newcommand*{\l@subsubsection}{%
1583
+ \@tempdima\jsc@tocl@width \advance\@tempdima 0zw
1584
+ \@dottedtocline{3}{\@tempdima}{4zw}}
1585
+ \newcommand*{\l@paragraph}{%
1586
+ \@tempdima\jsc@tocl@width \advance\@tempdima 1zw
1587
+ \@dottedtocline{4}{\@tempdima}{5zw}}
1588
+ \newcommand*{\l@subparagraph}{%
1589
+ \@tempdima\jsc@tocl@width \advance\@tempdima 2zw
1590
+ \@dottedtocline{5}{\@tempdima}{6zw}}
1591
+ \newdimen\@lnumwidth
1592
+ \def\numberline#1{\hb@xt@\@lnumwidth{#1\hfil}\hspace{0pt}}
1593
+ \def\jsTocLine{\leaders\hbox{%
1594
+ $\m@th \mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}\hfill}
1595
+ \def\@dottedtocline#1#2#3#4#5{\ifnum #1>\c@tocdepth \else
1596
+ \vskip \z@ \@plus.2\jsc@mpt
1597
+ {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
1598
+ \parindent #2\relax\@afterindenttrue
1599
+ \interlinepenalty\@M
1600
+ \leavevmode
1601
+ \@lnumwidth #3\relax
1602
+ \advance\leftskip \@lnumwidth \null\nobreak\hskip -\leftskip
1603
+ {#4}\nobreak
1604
+ \jsTocLine \nobreak\hb@xt@\@pnumwidth{%
1605
+ \hfil\normalfont \normalcolor #5}\par}\fi}
1606
+ \newcommand{\listoffigures}{%
1607
+ \section*{\listfigurename}%
1608
+ \@mkboth{\listfigurename}{\listfigurename}%
1609
+ \@starttoc{lof}%
1610
+ }
1611
+ \newcommand*{\l@figure}{\@dottedtocline{1}{1zw}{3.683zw}}
1612
+ \newcommand{\listoftables}{%
1613
+ \section*{\listtablename}%
1614
+ \@mkboth{\listtablename}{\listtablename}%
1615
+ \@starttoc{lot}%
1616
+ }
1617
+ \let\l@table\l@figure
1618
+ \newdimen\bibindent
1619
+ \setlength\bibindent{2zw}
1620
+ \newenvironment{thebibliography}[1]{%
1621
+ \global\let\presectionname\relax
1622
+ \global\let\postsectionname\relax
1623
+ \section*{\refname}\@mkboth{\refname}{\refname}%
1624
+ \list{\@biblabel{\@arabic\c@enumiv}}%
1625
+ {\settowidth\labelwidth{\@biblabel{#1}}%
1626
+ \leftmargin\labelwidth
1627
+ \advance\leftmargin\labelsep
1628
+ \@openbib@code
1629
+ \usecounter{enumiv}%
1630
+ \let\p@enumiv\@empty
1631
+ \renewcommand\theenumiv{\@arabic\c@enumiv}}%
1632
+ \sloppy
1633
+ \clubpenalty4000
1634
+ \@clubpenalty\clubpenalty
1635
+ \widowpenalty4000%
1636
+ \sfcode`\.\@m}
1637
+ {\def\@noitemerr
1638
+ {\@latex@warning{Empty `thebibliography' environment}}%
1639
+ \endlist}
1640
+ \newcommand{\newblock}{\hskip .11em\@plus.33em\@minus.07em}
1641
+ \let\@openbib@code\@empty
1642
+ \newenvironment{theindex}{% $B:w0z$r(B3$BCJAH$G=PNO$9$k4D6-(B
1643
+ \if@twocolumn
1644
+ \onecolumn\@restonecolfalse
1645
+ \else
1646
+ \clearpage\@restonecoltrue
1647
+ \fi
1648
+ \columnseprule.4pt \columnsep 2zw
1649
+ \ifx\multicols\@undefined
1650
+ \def\presectionname{}\def\postsectionname{}%
1651
+ \twocolumn[\section*{\indexname}]%
1652
+ \else
1653
+ \ifdim\textwidth<\fullwidth
1654
+ \setlength{\evensidemargin}{\oddsidemargin}
1655
+ \setlength{\textwidth}{\fullwidth}
1656
+ \setlength{\linewidth}{\fullwidth}
1657
+ \def\presectionname{}\def\postsectionname{}%
1658
+ \begin{multicols}{3}[\section*{\indexname}]%
1659
+ \else
1660
+ \def\presectionname{}\def\postsectionname{}%
1661
+ \begin{multicols}{2}[\section*{\indexname}]%
1662
+ \fi
1663
+ \fi
1664
+ \@mkboth{\indexname}{\indexname}%
1665
+ \plainifnotempty % \thispagestyle{plain}
1666
+ \parindent\z@
1667
+ \parskip\z@ \@plus .3\jsc@mpt\relax
1668
+ \let\item\@idxitem
1669
+ \raggedright
1670
+ \footnotesize\narrowbaselines
1671
+ }{
1672
+ \ifx\multicols\@undefined
1673
+ \if@restonecol\onecolumn\fi
1674
+ \else
1675
+ \end{multicols}
1676
+ \fi
1677
+ \clearpage
1678
+ }
1679
+ \newcommand{\@idxitem}{\par\hangindent 4zw} % $B85(B 40pt
1680
+ \newcommand{\subitem}{\@idxitem \hspace*{2zw}} % $B85(B 20pt
1681
+ \newcommand{\subsubitem}{\@idxitem \hspace*{3zw}} % $B85(B 30pt
1682
+ \newcommand{\indexspace}{\par \vskip 10\jsc@mpt \@plus5\jsc@mpt \@minus3\jsc@mpt\relax}
1683
+ \newcommand\seename{\if@english see\else $B"*(B\fi}
1684
+ \newcommand\alsoname{\if@english see also\else $B"*(B\fi}
1685
+ \@ifl@t@r\pfmtversion{2016/09/03}
1686
+ {\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue}
1687
+ \ifjsc@needsp@tch
1688
+ \let\footnotes@ve=\footnote
1689
+ \def\footnote{\inhibitglue\footnotes@ve}
1690
+ \let\footnotemarks@ve=\footnotemark
1691
+ \def\footnotemark{\inhibitglue\footnotemarks@ve}
1692
+ \fi
1693
+ \@ifl@t@r\pfmtversion{2016/04/17}
1694
+ {\jsc@needsp@tchfalse}{\jsc@needsp@tchtrue}
1695
+ \ifjsc@needsp@tch
1696
+ \renewcommand\@makefnmark{%
1697
+ \ifydir \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}%
1698
+ \else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}\fi}
1699
+ \fi
1700
+ \def\thefootnote{\ifnum\c@footnote>\z@\leavevmode\lower.5ex\hbox{*}\@arabic\c@footnote\fi}
1701
+ \renewcommand{\footnoterule}{%
1702
+ \kern-3\jsc@mpt
1703
+ \hrule width .4\columnwidth height 0.4\jsc@mpt
1704
+ \kern 2.6\jsc@mpt}
1705
+ \long\def\@footnotetext{%
1706
+ \insert\footins\bgroup
1707
+ \normalfont\footnotesize
1708
+ \interlinepenalty\interfootnotelinepenalty
1709
+ \splittopskip\footnotesep
1710
+ \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
1711
+ \hsize\columnwidth \@parboxrestore
1712
+ \protected@edef\@currentlabel{%
1713
+ \csname p@footnote\endcsname\@thefnmark
1714
+ }%
1715
+ \color@begingroup
1716
+ \@makefntext{%
1717
+ \rule\z@\footnotesep\ignorespaces}%
1718
+ \futurelet\jsc@next\jsc@fo@t}
1719
+ \def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t
1720
+ \else \let\jsc@next\jsc@f@t\fi \jsc@next}
1721
+ \def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next}
1722
+ \def\jsc@f@t#1{#1\jsc@@foot}
1723
+ \def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup
1724
+ \ifx\pltx@foot@penalty\@undefined\else
1725
+ \ifhmode\null\fi
1726
+ \ifnum\pltx@foot@penalty=\z@\else
1727
+ \penalty\pltx@foot@penalty
1728
+ \pltx@foot@penalty\z@
1729
+ \fi
1730
+ \fi}
1731
+ \newcommand\@makefntext[1]{%
1732
+ \advance\leftskip 3zw
1733
+ \parindent 1zw
1734
+ \noindent
1735
+ \llap{\@makefnmark\hskip0.3zw}#1}
1736
+ \def\@inhibitglue{%
1737
+ \futurelet\@let@token\@@inhibitglue}
1738
+ \begingroup
1739
+ \let\GDEF=\gdef
1740
+ \let\CATCODE=\catcode
1741
+ \let\ENDGROUP=\endgroup
1742
+ \CATCODE`k=12
1743
+ \CATCODE`a=12
1744
+ \CATCODE`n=12
1745
+ \CATCODE`j=12
1746
+ \CATCODE`i=12
1747
+ \CATCODE`c=12
1748
+ \CATCODE`h=12
1749
+ \CATCODE`r=12
1750
+ \CATCODE`t=12
1751
+ \CATCODE`e=12
1752
+ \GDEF\KANJI@CHARACTER{kanji character }
1753
+ \ENDGROUP
1754
+ \def\@@inhibitglue{%
1755
+ \expandafter\expandafter\expandafter\jsc@inhibitglue\expandafter\meaning\expandafter\@let@token\KANJI@CHARACTER\relax\jsc@end}
1756
+ \expandafter\def\expandafter\jsc@inhibitglue\expandafter#\expandafter1\KANJI@CHARACTER#2#3\jsc@end{%
1757
+ \def\jsc@ig@temp{#1}%
1758
+ \ifx\jsc@ig@temp\@empty
1759
+ \ifnum\the\inhibitxspcode`#2=2\relax
1760
+ \inhibitglue
1761
+ \fi
1762
+ \fi}
1763
+ \let\everyparhook=\@inhibitglue
1764
+ \AtBeginDocument{\everypar{\everyparhook}}
1765
+ \def\@doendpe{%
1766
+ \@endpetrue
1767
+ \def\par{%
1768
+ \@restorepar\clubpenalty\@clubpenalty\everypar{\everyparhook}\par\@endpefalse}%
1769
+ \everypar{{\setbox\z@\lastbox}\everypar{\everyparhook}\@endpefalse\everyparhook}}
1770
+ \def\@setminipage{%
1771
+ \@minipagetrue
1772
+ \everypar{\@minipagefalse\everypar{\everyparhook}}%
1773
+ }
1774
+ \def\@item[#1]{%
1775
+ \if@noparitem
1776
+ \@donoparitem
1777
+ \else
1778
+ \if@inlabel
1779
+ \indent \par
1780
+ \fi
1781
+ \ifhmode
1782
+ \unskip\unskip \par
1783
+ \fi
1784
+ \if@newlist
1785
+ \if@nobreak
1786
+ \@nbitem
1787
+ \else
1788
+ \addpenalty\@beginparpenalty
1789
+ \addvspace\@topsep
1790
+ \addvspace{-\parskip}%
1791
+ \fi
1792
+ \else
1793
+ \addpenalty\@itempenalty
1794
+ \addvspace\itemsep
1795
+ \fi
1796
+ \global\@inlabeltrue
1797
+ \fi
1798
+ \everypar{%
1799
+ \@minipagefalse
1800
+ \global\@newlistfalse
1801
+ \if@inlabel
1802
+ \global\@inlabelfalse
1803
+ {\setbox\z@\lastbox
1804
+ \ifvoid\z@
1805
+ \kern-\itemindent
1806
+ \fi}%
1807
+ \box\@labels
1808
+ \penalty\z@
1809
+ \fi
1810
+ \if@nobreak
1811
+ \@nobreakfalse
1812
+ \clubpenalty \@M
1813
+ \else
1814
+ \clubpenalty \@clubpenalty
1815
+ \everypar{\everyparhook}%
1816
+ \fi\everyparhook}%
1817
+ \if@noitemarg
1818
+ \@noitemargfalse
1819
+ \if@nmbrlist
1820
+ \refstepcounter\@listctr
1821
+ \fi
1822
+ \fi
1823
+ \sbox\@tempboxa{\makelabel{#1}}%
1824
+ \global\setbox\@labels\hbox{%
1825
+ \unhbox\@labels
1826
+ \hskip \itemindent
1827
+ \hskip -\labelwidth
1828
+ \hskip -\labelsep
1829
+ \ifdim \wd\@tempboxa >\labelwidth
1830
+ \box\@tempboxa
1831
+ \else
1832
+ \hbox to\labelwidth {\unhbox\@tempboxa}%
1833
+ \fi
1834
+ \hskip \labelsep}%
1835
+ \ignorespaces}
1836
+ \def\@afterheading{%
1837
+ \@nobreaktrue
1838
+ \everypar{%
1839
+ \if@nobreak
1840
+ \@nobreakfalse
1841
+ \clubpenalty \@M
1842
+ \if@afterindent \else
1843
+ {\setbox\z@\lastbox}%
1844
+ \fi
1845
+ \else
1846
+ \clubpenalty \@clubpenalty
1847
+ \everypar{\everyparhook}%
1848
+ \fi\everyparhook}}
1849
+ \def\@gnewline #1{%
1850
+ \ifvmode
1851
+ \@nolnerr
1852
+ \else
1853
+ \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null
1854
+ \inhibitglue \ignorespaces
1855
+ \fi}
1856
+ \if@jslogo
1857
+ \IfFileExists{jslogo.sty}{%
1858
+ \RequirePackage{jslogo}%
1859
+ \def\$B>.(B{\jslg@small}%
1860
+ \def\$B>e>.(B{\jslg@uppersmall}%
1861
+ }{%
1862
+ \ClassWarningNoLine{\jsc@clsname}{%
1863
+ The redefinitions of LaTeX-related logos has\MessageBreak
1864
+ been moved to jslogo.sty since 2016, but\MessageBreak
1865
+ jslogo.sty not found. Current release of\MessageBreak
1866
+ 'jsclasses' includes it, so please check\MessageBreak
1867
+ the installation}%
1868
+ }
1869
+ \fi
1870
+ \newcommand{\prepartname}{\if@english Part~\else $BBh(B\fi}
1871
+ \newcommand{\postpartname}{\if@english\else $BIt(B\fi}
1872
+ \newcommand{\presectionname}{}% $BBh(B
1873
+ \newcommand{\postsectionname}{}% $B@a(B
1874
+ \newcommand{\contentsname}{\if@english Contents\else $BL\<!(B\fi}
1875
+ \newcommand{\listfigurename}{\if@english List of Figures\else $B?^L\<!(B\fi}
1876
+ \newcommand{\listtablename}{\if@english List of Tables\else $BI=L\<!(B\fi}
1877
+ \newcommand{\refname}{\if@english References\else $B;29MJ88%(B\fi}
1878
+ \newcommand{\bibname}{\if@english Bibliography\else $B;29MJ88%(B\fi}
1879
+ \newcommand{\indexname}{\if@english Index\else $B:w0z(B\fi}
1880
+ \newcommand{\figurename}{\if@english Fig.~\else $B?^(B\fi}
1881
+ \newcommand{\tablename}{\if@english Table~\else $BI=(B\fi}
1882
+ \newcommand{\appendixname}{\if@english \else $BIUO?(B\fi}
1883
+ \newcommand{\abstractname}{\if@english Abstract\else $B35MW(B\fi}
1884
+ \newif\if$B@>Nq(B \$B@>Nq(Btrue
1885
+ \def\$B@>Nq(B{\$B@>Nq(Btrue}
1886
+ \def\$BOBNq(B{\$B@>Nq(Bfalse}
1887
+ \newcount\heisei \heisei\year \advance\heisei-1988\relax
1888
+ \def\today{%
1889
+ \if@english
1890
+ \ifcase\month\or
1891
+ January\or February\or March\or April\or May\or June\or
1892
+ July\or August\or September\or October\or November\or December\fi
1893
+ \space\number\day, \number\year
1894
+ \else
1895
+ \if$B@>Nq(B
1896
+ \number\year $BG/(B
1897
+ \number\month $B7n(B
1898
+ \number\day $BF|(B
1899
+ \else
1900
+ $BJ?@.(B\number\heisei $BG/(B
1901
+ \number\month $B7n(B
1902
+ \number\day $BF|(B
1903
+ \fi
1904
+ \fi}
1905
+ \hyphenation{ado-be post-script ghost-script phe-nom-e-no-log-i-cal man-u-script}
1906
+ \if@slide \pagestyle{empty} \else \pagestyle{plain} \fi
1907
+ \pagenumbering{arabic}
1908
+ \if@twocolumn
1909
+ \twocolumn
1910
+ \sloppy
1911
+ \flushbottom
1912
+ \else
1913
+ \onecolumn
1914
+ \raggedbottom
1915
+ \fi
1916
+ \if@slide
1917
+ \renewcommand\kanjifamilydefault{\gtdefault}
1918
+ \renewcommand\familydefault{\sfdefault}
1919
+ \raggedright
1920
+ \xkanjiskip=0.1em\relax
1921
+ \fi
1922
+ \@ifpackageloaded{exppl2e}{\jsc@needsp@tchtrue}{\jsc@needsp@tchfalse}
1923
+ \ifjsc@needsp@tch\else
1924
+ \expandafter\endinput
1925
+ \fi
1926
+ \def\@gnewline #1{%
1927
+ \ifvmode
1928
+ \@nolnerr
1929
+ \else
1930
+ \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \hskip \z@
1931
+ \ignorespaces
1932
+ \fi}
1933
+ \endinput
1934
+ %%
1935
+ %% End of file `jsarticle.cls'.