diff resume/master_proc.sty @ 10:3d9addf62d0b

organized repository.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Tue, 16 Feb 2010 14:35:36 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/resume/master_proc.sty	Tue Feb 16 14:35:36 2010 +0900
@@ -0,0 +1,186 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%%  Style-file for Proceedings of Master's Final Presentation
+%%    at Department of Information Engineering, University of the Ryukyus 
+%%
+%%
+%%  ChangeLog:
+%%    version 1.0.1
+%%
+%%    Thu Feb 22 2001 Ryuji GUSHIKEN <ryuji@ads.ie.u-ryukyu.ac.jp>
+%%	* font size was make small under the thebibliography-environment
+%%    Thu Feb 22 2001 Ryuji GUSHIKEN <ryuji@ads.ie.u-ryukyu.ac.jp>
+%%	* modified *section parameters
+%%    Sun Feb 18 2001 Ryuji GUSHIKEN <ryuji@ads.ie.u-ryukyu.ac.jp>
+%%	* first release
+%%
+%%
+%%  USAGE:
+%%
+%%\documentclass[twocolumn, a4j, twoside]{jarticle}
+%%\usepackage{master_proc}
+%%
+%%\jtitle{修士論文最終発表用予稿作成テスト}		%和文タイトル
+%%\etitle{Test for Proc of Master's Final Presentation}	%英文タイトル
+%%\author{琉球 太郎}	%著者名
+%%\studentid{999999Z}	%学籍番号
+%%\teacher{先生 様々}	%指導教官
+%%
+%%\begin{document}
+%%  \maketitle
+%%  \section{はじめに}
+%%    はじめに,あいうえお.
+%%  \section{研究内容}
+%%    つぎに,かきくけこ.
+%%    \subsection{提案手法}
+%%      さしすせそ.
+%%    \subsection{アルゴリズム}
+%%      たちつてと(図~\ref{fig::test}).
+%%
+%%    \begin{figure}[b]
+%%      \begin{center}
+%%        \begin{minipage}{.2\textwidth}
+%%          \fbox{図図図図図図図図図図}
+%%	  図図図図図図図図図図図図図図図図
+%%	  図図図図図図図図図図図図図図図図
+%%	  図図図図図図図図図図図図図図図図
+%%        \end{minipage}
+%%      \end{center}
+%%      \caption{図のテスト}
+%%      \label{fig::test}
+%%    \end{figure}
+%%
+%%  \section{計算機実験}
+%%    そして,なにぬねの.
+%%    \subsection{実験手法}
+%%      はひふへほ.
+%%    \subsection{実験結果}
+%%      まみむめも(表~\ref{tbl::test}).
+%%
+%%    \begin{table}[tb]
+%%      \begin{center}
+%%        \caption{表のテスト}
+%%        \label{tbl::test}
+%%        \begin{tabular}{|c|}\hline
+%%          表表表表表表表表表表表表表表。\\\hline
+%%          表表表表表表表表表表表表表表。\\\hline
+%%          表表表表表表表表表表表表表表。\\\hline
+%%        \end{tabular}
+%%      \end{center}
+%%    \end{table}
+%%
+%%  \section{まとめ}
+%%    やゆよ\cite{last}.
+%%
+%%  \begin{thebibliography}{9}
+%%    \bibitem{last} わゐうゑを,''テストテスト,'' 2001.
+%%  \end{thebibliography}
+%%\end{document}
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\hoffset -1in \addtolength{\hoffset}{0mm}
+\voffset -1in \addtolength{\voffset}{15mm}
+%\topmargin -20mm
+\oddsidemargin 10mm
+\evensidemargin 10mm
+\topmargin -10mm
+\headheight 0mm
+\headsep 5mm
+\textheight 275mm %295-(15+20)mm
+\textwidth 190mm %odd-> 210-(10+20) : even->  210-(20+10)
+\marginparsep 0mm
+\marginparwidth 0mm
+\footskip \headsep
+
+\pagestyle{empty}
+
+%和文タイトル
+\def\jetitle{}
+\def\jtitle#1{\gdef\@title{#1}}
+%英文タイトル
+\def\@etitle{}
+\def\etitle#1{\gdef\@etitle{#1}}
+%学籍番号
+\def\@studentid{}
+\def\studentid#1{\gdef\@studentid{#1}}
+%指導教官
+\def\@teacher{}
+\def\teacher#1{\gdef\@teacher{#1}}
+\def\teacherlabel{指導教官:}
+
+\def\maketitle{%\par%
+  \begingroup
+    \if@twocolumn
+      \twocolumn[\@maketitle]
+    \else\newpage
+      \global\@topnum\z@\@maketitle \fi
+  \endgroup}
+
+\def\@maketitle{\newpage
+  \thispagestyle{empty}
+  \let\footnote\thanks
+  \begin{center}%
+    \begin{tabular*}{\textwidth}{cc}
+     \multicolumn{2}{c}{%
+       \parbox{\textwidth}{\center\LARGE \@title}}\\
+     \multicolumn{2}{c}{%
+       \parbox{\textwidth}{\center\Large \@etitle}}\\
+     \multicolumn{2}{c}{\rule{0pt}{10pt}}\\
+     \parbox[b]{.45\textwidth}{\center%
+ 	{\large\@studentid\hskip 1zw\@author}}&
+     \parbox[b]{.45\textwidth}{\center%
+ 	{\large\teacherlabel\hskip 1zw\@teacher}}\\
+    \end{tabular*}
+  \end{center}\vskip 5mm}
+
+% 章の見出し
+% 第4,5引き数はそれぞれ見出しの上下の空白の量である.
+% \@startsectionの第4引き数を負にすると見出しの後インデントしない.
+%    〃    第5引き数を負にすると見出しの後改行しない.
+%    〃    第6引き数は見出しフォントの指定
+\def\section{\@startsection {section}{1}{\z@}%
+	  {2ex plus 1ex minus .5ex}%
+	  {.3ex plus 1ex minus .3ex}%
+	{\large\bf}}
+\def\subsection{\@startsection{subsection}{2}{\z@}%
+	  {1ex plus 1ex minus .5ex}%
+	  {.1ex plus 1ex minus .3ex}%
+		{\normalsize\bf}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{1.25ex plus
+ 1ex minus .2ex}{1.0ex plus .2ex}{\normalsize\bf}}
+\def\paragraph{\@startsection
+ {paragraph}{4}{\z@}{1.25ex plus 1ex minus .2ex}{-1em}{\normalsize\bf}}
+\def\subparagraph{\@startsection
+ {subparagraph}{4}{\parindent}{1.25ex plus 1ex minus
+ .2ex}{-1em}{\normalsize\bf}}
+
+\renewenvironment{thebibliography}[1]
+{\section*{\refname\@mkboth{\refname}{\refname}}%
+   \list{\small\@biblabel{\@arabic\c@enumiv}}%
+        {\settowidth\labelwidth{\@biblabel{#1}}%
+         \leftmargin\labelwidth
+         \advance\leftmargin\labelsep
+         \@openbib@code
+         \usecounter{enumiv}%
+         \let\p@enumiv\@empty
+         \renewcommand\theenumiv{\@arabic\c@enumiv}%
+	\setlength{\topsep}{10pt}%
+	\setlength{\itemsep}{1.5pt}%
+	\setlength{\parsep}{1.5mm}}
+   \sloppy
+   \clubpenalty4000
+   \@clubpenalty\clubpenalty
+   \widowpenalty4000%
+   \sfcode`\.\@m}
+  {\def\@noitemerr
+    {\@latex@warning{Empty `thebibliography' environment}}%
+   \endlist}
+\let\@openbib@code\@empty
+
+\def\bibitem{\small\@ifnextchar[\@lbibitem\@bibitem}
+\def\@lbibitem[#1]#2{\item[\@biblabel{#1}\hfill]\if@filesw
+      {\let\protect\noexpand
+       \immediate
+       \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
+\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
+       {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces}