
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% authyear.sty : 著者 - 年代形式の文献参照 style file : 藤田 眞作氏の作られ
% た audate2.sty に浦井 憲が手を加えたもの．
%
%   （主な変更点・特徴）
%   ●データベースの and others エントリーが処理できていないバグを修正．
%   ●タイトルを日本語文献は『』付きで，英語論文はコンマ付き二重引用で出力．
%   ●引用 option （頁，章など）との区切りをセミコロンにする．
%   ●複数著者の文章中での参照出力形式を日本人の場合のみ中ドット区切りに変更．
%   ●文献表で各項目は「負のインデント」を伴って著者 - 年代で始まる．
%   ●chapterbib.sty 互換．
%
% このオプションスタイルファイルは，同じく浦井が手を加えた文献スタイル
% ファイル authyear.bst と組み合わせて使うこと．
% (Ken Urai: "urai@econ.osaka-u.ac.jp".)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\j@urnalname{AUTHYEAR}
\def\versi@ndate{December 3, 1998}
\def\versi@nno{by Ken Urai Ver.1.24}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\typeout{Option Style `\j@urnalname' (\versi@nno) <\versi@ndate>\space}
\def\@lbibitem[#1]#2{%
\item% 本来これはコメントアウトではない
[% 本来これはコメントアウトでない
\mbox{}\hskip\labelsep{}% 本来コメントアウト. しかも labelsep{} の中に [#1]
]% 本来これはコメントアウトでない
\if@filesw 
      { \def\protect##1{\string ##1\space}\immediate
        \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
\def\thebibliography#1{\begin{center}\section*{REFERENCES\@mkboth
 {REFERENCES}{REFERENCES}}\end{center}\list{%
%[\arabic{enumi}]% 本来これはコメントアウト
}{%
%\settowidth\labelwidth{(#1)}\leftmargin\labelwidth%% 本来ここは comment out.
\labelwidth=\z@ %Description 環境的にする
\itemindent=-\leftmargin %Description 環境的にする
\labelsep=0pt% 本来ここはコメントアウトでない 
%\leftmargin=0cm %%ここをコメントアウトすれば，左があく．
%\baselineskip=18pt 
\itemsep=0pt% 本来ここはコメントアウト
 \usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus .07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist
%%%%%%%%%%1993 March 10 \cite%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% References are cited by name of the authors and date of publication.
% Format I =====> (S. Fujita, 1993) 
%%\@ifundefined{@extra@b@citeb}{\def\@extra@b@citeb{}}{} %Chapterbib.sty 互換
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
  \def\@citea{}\@cite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
       {b@\@citeb%
%%\@extra@b@citeb%
}{{\bf ?}\@warning% chapterbib.sty 関連
       {Citation `\@citeb' on page \thepage \space undefined}}%
        {\csname b@\@citeb%
%\@extra@b@citeb%
\endcsname}}}{#1}}% chapterbib.sty 関連
\def\@cite#1#2{({#1\if@tempswa ; #2\fi})} %区切りをセミコロンにする
%%%%%%%%%%1993 March 10 \ccite%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% References are cited by name of the authors and date of publication.
% Format II =====> S. Fujita (1993)
\def\ccite{\@ifnextchar [{\@tempswatrue\@ccitex}%
  {\@tempswafalse\@ccitex[]}}
\def\bibcite#1#2{\global\@namedef{b@#1}{#2}% chapterbib.sty 関連
   \def\cciteb@@{#2;#1;}%
   \ifx#2\empty\else \expandafter\@separation\cciteb@@\fi}
%%\gdef\@extra@binfo{}% Chapterbib.sty 関連
\def\@separation#1, #2;#3;{\global\@namedef{aa@#3}{#1}
 \global\@namedef{bb@#3}{#2}}
\def\@ccitex[#1]#2{\if@filesw\immediate\write\@auxout
{\string\citation{#2}}\fi
  \def\@ccitea{}\@ccite{\@for\@cciteb:=#2\do
    {\@ccitea\def\@ccitea{);\penalty\@m\ }\@ifundefined
       {b@\@cciteb}{{\bf ?}\@warning% chapterbib.sty 関連
       {Citation `\@cciteb' on page \thepage \space undefined}}%
      {\csname aa@\@cciteb\endcsname\space %
      (\csname bb@\@cciteb\endcsname}}}{#1}}%chapterbib.sty 関連
\def\@ccite#1#2{{#1\if@tempswa ; #2\fi})} %区切りをセミコロンにする
