arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/I10479_elsart.cls	2010-04-01 16:44:21.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/narfront_mod.cls	2010-04-03 12:26:59.000000000 +0200
@@ -1,5 +1,46 @@
+
+% version = 0.01 of narfront_mod.cls 1.10.06 (modified by Tom Naiser)
+% based on
+% version = 1.05 of narfront.cls 2005 Aug 18
+% LaTeX style file for the journal: NAR: Nucleic Acids Research
+% This file sets up functions for header mechanisms.
+
+% The mechanism was built by Elsevier for the Journal
+% of Molecular Biology.  Instructions on its use are at:
+% http://www.lecb.ncifcrf.gov/~toms/latex.html
+% (follow the JMB links)
+% and
+% http://authors.elsevier.com/getting_published.html?dc=QG3
+% (which may change).
+
+% The document class line is:
+% \documentclass[doublespacing]{narfront}
+% MODIFIED 26.10.06 Looks more like the style used in NAR
+% Fits again on A4
+% modified from 2.02 of elsartUSA.cls 2003 Feb 21
+% MODIFIED so that the textwidth is 6.5 in - which fits the
+% stupid non-metric paper in the good'ol USA.
+
+% 2005 Aug 18, 1.05: remove mention of Preprint and date from output
+% 2005 Aug 18, 1.04: remove mention of NAR from output
+% 2003 May 25, 1.00: revise for use with NAR
+% 2003 Feb 21, 2.02: removed wasted space above abstract and below frontmatter
+% 2003 Feb 21, 2.01: removed wasted space below title
+% 2003 Feb 21, 2.00: changed sized of paper to match USA paper.
+
+% changes by:
+%   Dr. Thomas D. Schneider
+%   National Cancer Institute
+%   Laboratory of Experimental and Computational Biology
+%   Frederick, Maryland  21702-1201
+%   toms@ncifcrf.gov
+%   permanent email: toms@alum.mit.edu (use only if first address fails)
+%   http://www.lecb.ncifcrf.gov/~toms/
+% are marked by 'TDS'
+
+% original information:
 %%
-%% This is file `elsart.cls',
+%% This WAS file `elsart.cls',
 %% generated with the docstrip utility.
 %%
 %% The original source files were:
@@ -22,13 +63,13 @@
  \def\RCSdate{#4}%
 }
 \readRCS
-$Header: /home/cvs/ISEPD/product/awg/source/htdocs/latex/elsart.cls,v 1.1 2004/03/18 15:18:54 iowen Exp $
+$Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1.6 2000/10/09 10:45:59 dabeyko Exp $
 \def\@shortjnl{\relax}
  \def\esp@fileversion{2.18}
- \def\esp@filedate{2001/01/05}
- \def\@journal{Elsevier Science} \def\@company{Elsevier Science}
+ \def\esp@filedate{2003/06/03}
+ \def\@journal{Nucleic Acids Research} \def\@company{Nucleic Acids Research}
   \def\@issn{000-0000}
-  \def\@shortjid{elsart}
+  \def\@shortjid{narfront_mod}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
 \ProvidesClass{\@shortjid}[\esp@filedate, \esp@fileversion: \@journal]

@@ -70,13 +111,13 @@
 \def\partname{Part}
 \def\appendixname{Appendix}
 \def\contentsname{Contents}
-\def\listfigurename{List of Figures}
-\def\listtablename{List of Tables}
-\def\refname{References}
+\def\listfigurename{LIST OF FIGURES}
+\def\listtablename{LIST OF TABLES}
+\def\refname{REFERENCES}
 \def\indexname{Index}
-\def\figurename{Fig.}
+\def\figurename{Figure}
 \def\tablename{Table}
-\def\abstractname{Abstract}
+\def\abstractname{ABSTRACT}
 \lineskip 1\p@
 \normallineskip 1\p@
 \def\baselinestretch{1}
@@ -94,9 +135,16 @@
 \def\@overkeywordskip{12\p@}
 \def\@overabstractskip{8\p@}
 \def\@overcaptionskip{8\p@}
-\def\@preabstractskip{24\p@ \@plus 6\p@ \@minus 3\p@}
-\def\@belowfmskip{18\p@}
-\def\@bibliosize{\small}
+
+% TDS: remove wasted space above abstract.
+% \def\@preabstractskip{24\p@ \@plus 6\p@ \@minus 3\p@}
+\def\@preabstractskip{0\p@}
+
+% TDS: remove wasted space below fm (frontmatter!) final bar:
+% \def\@belowfmskip{18\p@}
+\def\@belowfmskip{0\p@}
+
+\def\@bibliosize{\scriptsize}
 \def\@historysize{\small}
 \def\@keywordsize{\small}
 \def\@overaddressskip{2pt}
@@ -104,10 +152,10 @@
 \def\@authorsize{\large}
 \def\@keywordheading{{\it Key words: \ }}
 \def\@addressstyle{\small\itshape}
-\def\@captionsize{\small}
+\def\@captionsize{\scriptsize}
 \def\@tablecaptionsize{\@captionsize}
 \def\@figurecaptionsize{\@captionsize}
-\def\@tablesize{\small}
+\def\@tablesize{\scriptsize}
 \def\@keywordwidth{.8\textwidth}
 \def\@abstractwidth{.8\textwidth}
 \def\@fignumfont#1{#1}
@@ -117,9 +165,17 @@
 \def\etal{et al.}
 \def\AND{\&}
 \def\@Colofonheight{1cm}
+% \def\@abstractsize{\fontsize{\@ixpt}{11pt}\selectfont}
+% \def\@articletypesize{\fontsize{\@xiiipt}{10pt}\selectfont}
+%  \def\normalsize{\@setfontsize\normalsize\@xiipt{14.5}%
 \def\@abstractsize{\fontsize{\@ixpt}{11pt}\selectfont}
-\def\@articletypesize{\fontsize{\@xiiipt}{13pt}\selectfont}
-\def\normalsize{\@setfontsize\normalsize\@xiipt{14.5}%
+\def\@articletypesize{\fontsize{\@ixpt}{10pt}\selectfont}
+
+% This line determines normal text size - changed by Tommy
+% \def\normalsize{\@setfontsize\normalsize\@vipt{7}%
+  \def\normalsize{\@setfontsize\normalsize\@ixpt{11}%
+
+
 \abovedisplayskip 12\p@ \@plus 2\p@ \@minus 2\p@%
 \belowdisplayskip \abovedisplayskip
 \abovedisplayshortskip \z@ \@plus 2\p@%
@@ -137,7 +193,7 @@
 \let\@xviiipt\@xviipt
 \def\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
 \def\tiny{\@setfontsize\tiny\@vipt{7}}
-\def\large{\@setfontsize\large\@xivpt{18}}
+\def\large{\@setfontsize\large\@xiipt{15}}
 \def\Large{\@setfontsize\Large\@xviipt{22}}
 \def\LARGE{\@setfontsize\LARGE\@xxpt{22}}
 \def\huge{\@setfontsize\huge\@xxvpt{27}}
@@ -169,9 +225,22 @@
 \divide\@tempcnta\@tempcntb
 \textheight\@tempdimb \multiply\textheight\@tempcnta
 \advance\textheight\topskip
-\textwidth 33pc              % \@Width of text line.
+
+% original:
+% \textwidth 33pc              % \@Width of text line.
+
+% TDS
+% Set to USA 1 inch margins on 8.5 by 11 paper:
+\textheight 9.25 in  %Changed from 9.0 by Tommy
+%\topmargin 0.25 in % -0.5 would shift the whole thing up
+\topmargin 0 in % -0.5 would shift the whole thing up
+\headheight 0 in
+\headsep 0 in
+\textwidth 17.6 cm % Changed by Tommy
+% \oddsidemargin 0 in
+\oddsidemargin -0.3 in %Changed by Tommy
                              % For two-column mode:
-\columnsep 2pc               %   Space between columns
+\columnsep 0.6 cm               %   Space between columns
 \columnseprule \z@           %   \@Width of rule between columns.
  \footnotesep 8.4\p@
 \skip\footins 12\p@ \@plus  8\p@          % Space between last line of text and
@@ -197,7 +266,9 @@
                          % \z@ \@plus ... )
 \marginparpush 5\p@       % Minimum vertical separation between two marginal
                          % notes.
+
 \parskip 1pc \@plus 1\p@          % Extra vertical space between paragraphs.
+
 \parindent \z@                     % Indentation of each paragraph.
 \newskip\eqntopsep                    % Extra vertical space, in addition to
  \eqntopsep 12\p@ \@plus 2\p@ \@minus 2\p@ %\parskip, added above and below
@@ -209,14 +280,44 @@
 \@beginparpenalty -\@lowpenalty    % Before a list or paragraph environment.
 \@endparpenalty   -\@lowpenalty    % After a list or paragraph environment.
 \@itempenalty     -\@lowpenalty    % Between list items.
-\def\section{\@startsection{section}{1}{\z@}{1.5\@bls
-  \@plus .4\@bls \@minus .1\@bls}{\@bls}{\normalsize\bfseries}}
-\def\subsection{\@startsection{subsection}{2}{\z@}{\@bls
-  \@plus .3\@bls \@minus .1\@bls}{\@bls}{\normalsize\itshape}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TDS
+% original section definition:
+%\def\section{\@startsection{section}{1}{\z@}{1.5\@bls
+%  \@plus .4\@bls \@minus .1\@bls}{\@bls}{\normalsize\bfseries}}
+% %%%
+% 2003 June 3, Tom Schneider TDS
+% New section def, remove the extra blank lines!!
+% make large fonmake large font
+
+ \def\section{\@startsection{section}{1}{\z@}{
+   0\@bls}{0.20\@bls}{\large\bfseries}}
+% the first number     0\@bls is the space before the section name
+% the second number 0.20\@bls is the space after  the section name
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TDS
+% original subsection definition:
+%\def\subsection{\@startsection{subsection}{2}{\z@}{\@bls
+% \@plus .3\@bls \@minus .1\@bls}{\@bls}{\normalsize\itshape}}
+% 2003 June 3, Tom Schneider
+% * New section def, remove the extra blank lines!!
+% (this didn't help)
+% * switch to bold face
+
+\def\subsection{\@startsection{subsection}{2}{\z@}{
+ 0\@bls}{0.10\@bls}{\normalsize\bfseries}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TDS
+% original subsubsection definition:
+%\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{\@bls
+%  \@plus .2\@bls}{0.0001pt}{\normalsize\itshape}}
 \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{\@bls
-  \@plus .2\@bls}{0.0001pt}{\normalsize\itshape}}
+  \@plus 0\@bls}{0.0001pt}{\normalsize\itshape}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TDS
+% original paragraph definition:
 \def\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex \@plus
   2ex \@minus 0.2ex}{-1em}{\normalsize\bfseries}}
+
 \setcounter{secnumdepth}{4}
 \def\half@em{\hskip 0.5em}
 \def\lb@part{PART \thepart.\half@em}
@@ -545,6 +646,7 @@
   {\@starttoc{toc}}%
 \end{small}
 }
+
 \newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
 \newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
@@ -553,7 +655,9 @@
 \def\@dotsep{2000}
 \def\thebibliography{%
   \@startsection{section}{1}{\z@}{20\p@ \@plus 8\p@ \@minus 4pt}
-  {\@bls}{\normalsize\bfseries}*{\refname}%
+% TDS
+%  {\@bls}{\normalsize\bfseries}*{\refname}%
+  {\@bls}{\large\bfseries}*{\refname}%
 \addcontentsline{toc}{section}{\refname}%
   \@thebibliography}
 \let\endthebibliography=\endlist
@@ -579,7 +683,7 @@
  \def\@biblabel#1{[#1]\hskip \z@ \@plus 1filll}
 \fi
 \let\make@bb@error\relax
-\def\@mkbberr{\def\bibitem{\ClassError{elsart}%
+\def\@mkbberr{\def\bibitem{\ClassError{narfront_mod}%
     {Bibitem after note}%
     {You are using a bibitem after a note in a subbibitems
       environment;\MessageBreak
@@ -1032,7 +1136,10 @@
  \vspace*{12pt}             % Vertical space above title
   {\@titlesize #1\,\hbox{$^{#2}$}\par}%
   \vskip\@undertitleskip
-\vskip24\p@  % Vertical space below title
+% TDS
+% this is a waste of space below the title!
+% \vskip24\p@  % Vertical space below title
+\vskip-20\p@  % Vertical space below title
   }
 \def\subtitle@fmt#1#2{%               % No vertical space above sub-title
   {\@titlesize #1\,\hbox{$^{#2}$}}\par}
@@ -1176,7 +1283,11 @@
   \@rightskip\z@ \rightskip\@rightskip \parfillskip\@flushglue
    \small
   \parindent 1em                      % \parindent in abstract
-  \noindent {\bfseries\abstractname}  % caption `Abstract' (bold)
+
+% TDS
+%  \noindent {\bfseries\abstractname}  % caption `Abstract' (bold)
+  \noindent {\large\bfseries\abstractname}  % caption `Abstract' (bold)
+
   \vskip 0.5\@bls    % half a line of space below
 \noindent\ignorespaces
 }
@@ -1350,7 +1461,8 @@
   \def\@oddfoot{\small\slshape
     \def\@tempa{0}
     \ifx\@volume\@tempa
-      Accepted to Icarus\hfil19-Aug-2008%
+%      Preprint submitted to \@journal\hfil\@date\/%
+%      Preprint\hfil\@date\/%
     \else
       Article published in \@jou@vol@pag\hfil\hbox{}\fi}%
   \let\@evenfoot\@oddfoot
@@ -1405,4 +1517,4 @@
 \InputIfFileExists{\@shortjid.cfg}{}{}
 \endinput
 %%
-%% End of file `elsart.cls'.
+%% End of file `narfront_mod.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns