% dncrb.sty --- 大学入試センター紀要スタイル出力のためのマクロ
%
% $Id: $
%
% Copyright 1998 by The National Center for University Entrance Examinations
%
% 使用例
%
% \documentstyle[dncrb]{jarticle}
% \title{ポリ・ガンマ関数のC言語，および\\Fortran77言語による算譜}
% \author{石岡 恒憲\thanks{株式会社リコー ソフトウェア事業部}}
% \date{}
%
% \begin{document}
% \maketitle
% \begin{abstract} ... \end{abstract}
% \begin{keywords} ... \end{keywords}
% \twocolumn
% \section{はじめに}
% ...
%	\cite{NAMEi}
%	\cite{NAMEii}
% \section{おわりに}
% ...
% \begin{acknowledge} ... \end{acknowledge}
% \begin{thebibliography}{}
% \bibitem[LABELi]{NAMEi}
% \bibitem[LABELii]{NAMEii}
% \end{thebibliography}
% \end{document}



%\makeatletter
% 
% page layout
%
\textwidth=42em		%% 40 kanji-characters for line
\columnsep=2em		%% 2 kanji-characters width for column separation
\textheight=43\baselineskip %% original 235mm       
\topmargin=0em  %% no top-margin
%\headsep=0em    %% no head-sp
\oddsidemargin=0em	%% no side-margin
\parindent=1em		%% one kanji-character for paragraph indentation
\renewcommand{\@afterindentfalse}{}	%% indentation for first paragraph 

%
% latex.tex
%

\def\and{%%                             % \begin{tabular}
%\end{tabular}\par\hskip 1em plus .17fil\begin{tabular}[t]{c}%% \end{tabular}
\end{tabular}\par\noindent\begin{tabular}[t]{c}%% \end{tabular}
}


%
% redefine of fnsymbol
%
%\def\@fnsymbol#1{\ifcase#1\or *\or \dagger\or \ddagger\or
%   \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
%   \or \ddagger\ddagger \else\@ctrerr\fi\relax}
\def\@fnsymbol#1{\ifcase#1\or *\or **\or ***\or
   ****\or *****\or ******\or *******\or ********
   \or ********* \else\@ctrerr\fi\relax}


%
% jarticle.sty
%	modified `maketitle'
%
\def\abstract{\if@twocolumn
\noindent {\large\bf 要 約 } \normalsize 
\else \small 
\quotation
\noindent {\normalsize\bf 要 約 } \normalsize
\fi}
\def\endabstract{\if@twocolumn\else\endquotation\fi}

\def\keywords{\if@twocolumn
\noindent {\large\bf キーワード：} \normalsize
\else \small 
\quotation
\noindent {\normalsize\bf キーワード：} \normalsize
\fi}
\def\endkeywords{\if@twocolumn\else\endquotation\fi}


%
% bibliography
% small caption font
%
\def\thebibliography#1{\subsection*{参 考 文 献\markboth
 {参 考 文 献}{参 考 文 献}}\list
% {[\arabic{enumi}]}{\settowidth\labelwidth{}\leftmargin\labelwidth%}
{[\arabic{enumi}]}{\settowidth\labelwidth{}\itemindent-\leftmargin
 \advance\leftmargin\labelsep
 \usecounter{enumi}}
 \def\newblock{\hskip .11em plus .33em minus -.07em}
 \sloppy
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist
 

%
% donot print citation number
%
\def\@lbibitem[#1]#2{\item[{}]\if@filesw 
      { \def\protect##1{\string ##1\space}\immediate
        \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces}
%
% donot print branket in citation
%
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}


%
% create acknowlegement envirnment
%
\def\acknowledge{\par
 \vskip 1.5em\relax 
\markboth {謝 辞}{謝 辞}
 \noindent {\large\bf 謝 辞}\hspace{1em}}
\def\endacknowledge{}
	

%
% left justification of authors.
% you should use \\ rather than \and.
%
\def\@maketitle{\newpage
 \null
 \begin{center}
 {\Large \@title \par} \vskip 1.5em {\large \lineskip .5em
\begin{tabular}[t]{l}\@author
 \end{tabular}\par}
% \vskip 1em {\large \@date}
 \end{center}
 \par
 \vskip 1.5em}

%\makeatother
