%%% 'ejstyle.sty' -- An option to article.sty for an appearance %%% something like that of an Economic Journal article. %%% %%% Allin Cottrell, 21 June, 1995. %%% Number only first-level headings: \setcounter{secnumdepth}{1} %%% Modified from latex.tex: \def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth \let\@svsec\@empty\else \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip .5em}\fi \@tempskipa #5\relax \ifdim \@tempskipa>\z@ \begingroup #6\relax \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M \ifnum #2=\@ne \lowercase{#8}\par\else #8\par\fi}% \endgroup \csname #1mark\endcsname{#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}\fi #7}\else \def\@svsechd{#6\hskip #3\relax %% \relax added 2 May 90 \@svsec #8\csname #1mark\endcsname {#7}\addcontentsline {toc}{#1}{\ifnum #2>\c@secnumdepth \else \protect\numberline{\csname the#1\endcsname}\fi #7}}\fi \@xsect{#5}} %%% Put section numbers in roman numerals: \def\thesection {\roman{section}.} %%% Make section headings small caps, and centred: \def\section{\@startsection{section}{1}{\z@}{-3.5ex plus -1ex minus -.2ex}{2.3ex plus .2ex}{\center\sc}} %%% Make subsection headings italic, not big: \def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus -.2ex}{1ex plus .2ex}{\normalsize\it}} %%% Redefine \thebibliography to avoid upper case 'R' in 'references' %%% and reduce the inter-item spacing somewhat: \def\thebibliography#1{\section*{references}\list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus .07em} \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\itemsep -.03in\relax} \let\endthebibliography=\endlist \def\bibliorule{{\rule[-.01in]{.5in}{.005in}}} \def\bibliosep{\itemsep -.03in} % And that's all.