arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/nature1.cls	2012-08-16 16:23:52.044857240 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/naturesupplemental.cls	2010-04-03 07:09:00.000000000 +0200
@@ -1,9 +1,7 @@
-%% Class nature1
+%% Class nature
 %% Written by Peter Czoschke, czoschke@mrl.uiuc.edu
-%% v1.0 24 Feb. 2004  Modified by Andy Howell Sep. 2006
-%% to show figures, single space, use sort option for
-%% natbib instead of cite package, which conflicts with
-%% the setup arXiv for astro-ph
+%% v1.0 24 Feb. 2004
+%%
 %% A document class for Nature letters and articles that (should)
 %% conform to the Nature preprint style as defined by their Word template.
 %%
@@ -34,13 +32,13 @@
 %% In addition, the abstract, figure and table environments are redefined. See below.
 %%

-\ProvidesClass{nature1}[24/2/2004 v1.0]
+\ProvidesClass{nature}[24/2/2004 v1.0]
 \typeout{A class for writing preprints for the journal Nature}
 \typeout{Written by Peter Czoschke}
 \typeout{ }

 \LoadClass[12pt]{article}
-%\RequirePackage{cite}
+\RequirePackage{cite}
 \RequirePackage{times}
 \RequirePackage{fullpage}
 \RequirePackage{ifthen}
@@ -49,12 +47,12 @@
 \renewcommand\@biblabel[1]{#1.}

 %% make citations be superscripts, taken from citesupernumber.sty
-%\def\@cite#1#2{$^{\mbox{\scriptsize #1\if@tempswa , #2\fi}}$}
+\def\@cite#1#2{$^{\mbox{\scriptsize #1\if@tempswa , #2\fi}}$}

 %% Some style parameters
 \setlength{\parindent}{0.39in}
-\setlength{\parskip}{4pt}
-\newcommand{\spacing}[1]{\renewcommand{\baselinestretch}{#1}\large\normalsize}
+\setlength{\parskip}{12pt}
+\newcommand{\spacing}[1]{\renewcommand{\baselinestretch}{#1}\normalsize}
 \spacing{1}

 %% Redefine \maketitle for Nature style
@@ -87,7 +85,7 @@
     \setlength{\parindent}{0in}%
     \setlength{\parskip}{0in}%
     \bfseries%
-    }{\par\vspace{-2pt}}
+    }{\par\vspace{-6pt}}

 %% Redefine the \section command.
 \renewcommand{\section}{\@startsection {section}{1}{0pt}%
@@ -106,7 +104,7 @@
     }{}

 %% No heading for References section, but eat up the extra space from \section command
-\renewcommand\refname{\vspace{-28pt}\setlength{\parskip}{12pt}}
+\renewcommand\refname{\vspace{-18pt}\setlength{\parskip}{12pt}}

 %% Define the addendum environment for Supplementary Info, Acknowledgements, etc.
 \newenvironment{addendum}{%
@@ -133,22 +131,6 @@
 %% sans serif font.  Tables should all be moved to the end of the document
 %% manually.

-%\renewenvironment{figure}{\let\caption\NAT@figcaption}{}
-
-%\newcommand{\NAT@figcaption}[2][]{\AtEndDocument{%
-%    \refstepcounter{figure}
-%    \ifthenelse{\value{figure}=1}{
-%        \newpage\noindent%
-%%        \rule{\textwidth}{1pt}
-%    }{
-%        \par\vfill
-%    }
-%    \sffamily\noindent\textbf{Figure \arabic{figure}}\hspace{1em}#2}
-%    }

 \renewenvironment{table}{\@float{table}[p]\sffamily}{\end@float}

-%% ignore all \includegraphics commands in the document
-%\AtBeginDocument{\let\includegraphics\NAT@ignore}
-
-%\newcommand{\NAT@ignore}[2][]{}

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns