19
|
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
2 %%
|
|
3 %% Style-file for Proceedings of Master's Final Presentation
|
|
4 %% at Department of Information Engineering, University of the Ryukyus
|
|
5 %%
|
|
6 %%
|
|
7 %% ChangeLog:
|
|
8 %% version 1.0.1
|
|
9 %%
|
|
10 %% Thu Feb 22 2001 Ryuji GUSHIKEN <ryuji@ads.ie.u-ryukyu.ac.jp>
|
|
11 %% * font size was make small under the thebibliography-environment
|
|
12 %% Thu Feb 22 2001 Ryuji GUSHIKEN <ryuji@ads.ie.u-ryukyu.ac.jp>
|
|
13 %% * modified *section parameters
|
|
14 %% Sun Feb 18 2001 Ryuji GUSHIKEN <ryuji@ads.ie.u-ryukyu.ac.jp>
|
|
15 %% * first release
|
|
16 %%
|
|
17 %%
|
|
18 %% USAGE:
|
|
19 %%
|
|
20 %%\documentclass[twocolumn, a4j, twoside]{jarticle}
|
|
21 %%\usepackage{master_proc}
|
|
22 %%
|
|
23 %%\jtitle{修士論文最終発表用予稿作成テスト} %和文タイトル
|
|
24 %%\etitle{Test for Proc of Master's Final Presentation} %英文タイトル
|
|
25 %%\author{琉球 太郎} %著者名
|
|
26 %%\studentid{999999Z} %学籍番号
|
|
27 %%\teacher{先生 様々} %指導教官
|
|
28 %%
|
|
29 %%\begin{document}
|
|
30 %% \maketitle
|
|
31 %% \section{はじめに}
|
|
32 %% はじめに,あいうえお.
|
|
33 %% \section{研究内容}
|
|
34 %% つぎに,かきくけこ.
|
|
35 %% \subsection{提案手法}
|
|
36 %% さしすせそ.
|
|
37 %% \subsection{アルゴリズム}
|
|
38 %% たちつてと(図~\ref{fig::test}).
|
|
39 %%
|
|
40 %% \begin{figure}[b]
|
|
41 %% \begin{center}
|
|
42 %% \begin{minipage}{.2\textwidth}
|
|
43 %% \fbox{図図図図図図図図図図}
|
|
44 %% 図図図図図図図図図図図図図図図図
|
|
45 %% 図図図図図図図図図図図図図図図図
|
|
46 %% 図図図図図図図図図図図図図図図図
|
|
47 %% \end{minipage}
|
|
48 %% \end{center}
|
|
49 %% \caption{図のテスト}
|
|
50 %% \label{fig::test}
|
|
51 %% \end{figure}
|
|
52 %%
|
|
53 %% \section{計算機実験}
|
|
54 %% そして,なにぬねの.
|
|
55 %% \subsection{実験手法}
|
|
56 %% はひふへほ.
|
|
57 %% \subsection{実験結果}
|
|
58 %% まみむめも(表~\ref{tbl::test}).
|
|
59 %%
|
|
60 %% \begin{table}[tb]
|
|
61 %% \begin{center}
|
|
62 %% \caption{表のテスト}
|
|
63 %% \label{tbl::test}
|
|
64 %% \begin{tabular}{|c|}\hline
|
|
65 %% 表表表表表表表表表表表表表表。\\\hline
|
|
66 %% 表表表表表表表表表表表表表表。\\\hline
|
|
67 %% 表表表表表表表表表表表表表表。\\\hline
|
|
68 %% \end{tabular}
|
|
69 %% \end{center}
|
|
70 %% \end{table}
|
|
71 %%
|
|
72 %% \section{まとめ}
|
|
73 %% やゆよ\cite{last}.
|
|
74 %%
|
|
75 %% \begin{thebibliography}{9}
|
|
76 %% \bibitem{last} わゐうゑを,''テストテスト,'' 2001.
|
|
77 %% \end{thebibliography}
|
|
78 %%\end{document}
|
|
79 %%
|
|
80 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
81 \hoffset -1in \addtolength{\hoffset}{0mm}
|
|
82 \voffset -1in \addtolength{\voffset}{15mm}
|
|
83 \oddsidemargin 10mm
|
|
84 \evensidemargin 20mm
|
|
85 \topmargin 0mm
|
|
86 \headheight 0mm
|
|
87 \headsep 0mm
|
|
88 \textheight 260mm %295-(15+20)mm
|
|
89 \textwidth 180mm %odd-> 210-(10+20) : even-> 210-(20+10)
|
|
90 \marginparsep 0mm
|
|
91 \marginparwidth 0mm
|
|
92 \footskip \headsep
|
|
93
|
|
94 \pagestyle{empty}
|
|
95
|
|
96 %和文タイトル
|
|
97 \def\jetitle{}
|
|
98 \def\jtitle#1{\gdef\@title{#1}}
|
|
99 %英文タイトル
|
|
100 \def\@etitle{}
|
|
101 \def\etitle#1{\gdef\@etitle{#1}}
|
|
102 %学籍番号
|
|
103 \def\@studentid{}
|
|
104 \def\studentid#1{\gdef\@studentid{#1}}
|
|
105 %指導教官
|
|
106 \def\@teacher{}
|
|
107 \def\teacher#1{\gdef\@teacher{#1}}
|
|
108 \def\teacherlabel{指導教官:}
|
|
109
|
|
110 \def\maketitle{%\par%
|
|
111 \begingroup
|
|
112 \if@twocolumn
|
|
113 \twocolumn[\@maketitle]
|
|
114 \else\newpage
|
|
115 \global\@topnum\z@\@maketitle \fi
|
|
116 \endgroup}
|
|
117
|
|
118 \def\@maketitle{\newpage
|
|
119 \thispagestyle{empty}
|
|
120 \let\footnote\thanks
|
|
121 \begin{center}%
|
|
122 \begin{tabular*}{\textwidth}{cc}
|
|
123 \multicolumn{2}{c}{%
|
|
124 \parbox{\textwidth}{\center\LARGE \@title}}\\
|
|
125 \multicolumn{2}{c}{%
|
|
126 \parbox{\textwidth}{\center\Large \@etitle}}\\
|
|
127 \multicolumn{2}{c}{\rule{0pt}{10pt}}\\
|
|
128 \parbox[b]{.45\textwidth}{\center%
|
|
129 {\large\@studentid\hskip 1zw\@author}}&
|
|
130 \parbox[b]{.45\textwidth}{\center%
|
|
131 {\large\teacherlabel\hskip 1zw\@teacher}}\\
|
|
132 \end{tabular*}
|
|
133 \end{center}\vskip 5mm}
|
|
134
|
|
135 % 章の見出し
|
|
136 % 第4,5引き数はそれぞれ見出しの上下の空白の量である.
|
|
137 % \@startsectionの第4引き数を負にすると見出しの後インデントしない.
|
|
138 % 〃 第5引き数を負にすると見出しの後改行しない.
|
|
139 % 〃 第6引き数は見出しフォントの指定
|
|
140 \def\section{\@startsection {section}{1}{\z@}%
|
|
141 {2ex plus 1ex minus .5ex}%
|
|
142 {.3ex plus 1ex minus .3ex}%
|
|
143 {\large\bf}}
|
|
144 \def\subsection{\@startsection{subsection}{2}{\z@}%
|
|
145 {1ex plus 1ex minus .5ex}%
|
|
146 {.1ex plus 1ex minus .3ex}%
|
|
147 {\normalsize\bf}}
|
|
148 \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.25ex plus
|
|
149 1ex minus .2ex}{1.0ex plus .2ex}{\normalsize\bf}}
|
|
150 \def\paragraph{\@startsection
|
|
151 {paragraph}{4}{\z@}{1.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
|
|
152 \def\subparagraph{\@startsection
|
|
153 {subparagraph}{4}{\parindent}{1.25ex plus 1ex minus
|
|
154 .2ex}{-1em}{\normalsize\bf}}
|
|
155
|
|
156 \renewenvironment{thebibliography}[1]
|
|
157 {\section*{\refname\@mkboth{\refname}{\refname}}%
|
|
158 \list{\small\@biblabel{\@arabic\c@enumiv}}%
|
|
159 {\settowidth\labelwidth{\@biblabel{#1}}%
|
|
160 \leftmargin\labelwidth
|
|
161 \advance\leftmargin\labelsep
|
|
162 \@openbib@code
|
|
163 \usecounter{enumiv}%
|
|
164 \let\p@enumiv\@empty
|
|
165 \renewcommand\theenumiv{\@arabic\c@enumiv}%
|
|
166 \setlength{\topsep}{10pt}%
|
|
167 \setlength{\itemsep}{1.5pt}%
|
|
168 \setlength{\parsep}{1.5mm}}
|
|
169 \sloppy
|
|
170 \clubpenalty4000
|
|
171 \@clubpenalty\clubpenalty
|
|
172 \widowpenalty4000%
|
|
173 \sfcode`\.\@m}
|
|
174 {\def\@noitemerr
|
|
175 {\@latex@warning{Empty `thebibliography' environment}}%
|
|
176 \endlist}
|
|
177 \let\@openbib@code\@empty
|
|
178
|
|
179 \def\bibitem{\small\@ifnextchar[\@lbibitem\@bibitem}
|
|
180 \def\@lbibitem[#1]#2{\item[\@biblabel{#1}\hfill]\if@filesw
|
|
181 {\let\protect\noexpand
|
|
182 \immediate
|
|
183 \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
|
|
184 \def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
|
|
185 {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}
|