1
\NeedsTeXFormat{LaTeX2e}
2
\ProvidesClass{IDS-NF}[2012/04/27]
3
\let\ids@startsection\@startsection
4
\LoadClass[a4paper,fleqn,preprintnumbers,nofootinbib,PRD,11pt]{revtex4-1}
5
%-- YU: [prl,12pt,tightenlines]
6
\renewcommand\thesection{\arabic{section}}
7
\renewcommand\p@section{}
8
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
9
\renewcommand\p@subsection{}
10
\renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}}
11
\renewcommand\p@subsubsection{}
12
\renewcommand\theparagraph{\thesubsubsection.\arabic{paragraph}}
13
\renewcommand\p@paragraph{}
14
\renewcommand\thesubparagraph{\theparagraph.\arabic{subparagraph}}
15
\renewcommand\p@subparagraph{}
16
\newcommand\ids@section[2]{\ids@startsection{#1}{#2}{\z@}{-0.8cm \@plus-0.2cm \@minus-0.1cm}{0.5cm}{\normalfont\large\bfseries}}
17
\renewcommand\section{\ids@section{section}{1}}
18
\renewcommand\subsection{\ids@section{subsection}{2}}
19
\renewcommand\subsubsection{\ids@section{subsubsection}{3}}
20
\renewcommand\paragraph{\ids@section{paragraph}{4}}
21
\renewcommand\subparagraph{\ids@section{subparagraph}{5}}
22
\renewcommand\l@subsubsection[2]{}
23
\setcounter{tocdepth}{2}
24
\setcounter{secnumdepth}{5}
26
\setlength\ids@border{20mm}
27
\setlength\paperheight{297mm}
28
\setlength\paperwidth{210mm}
29
\special{papersize=210mm,297mm}
30
\setlength\hoffset{\ids@border}
31
\addtolength\hoffset{-1in}
32
\setlength\oddsidemargin{0mm}
33
\setlength\evensidemargin{\oddsidemargin}
34
\setlength\textwidth{\paperwidth}
35
\addtolength\textwidth{-2\ids@border}
36
\setlength\voffset{\ids@border}
37
\addtolength\voffset{-1in}
38
\setlength\topmargin{0mm}
39
\setlength\headheight{0mm}
40
\setlength\headsep{0mm}
41
\setlength\footskip{13mm}
42
\setlength\textheight{\paperheight}
43
\addtolength\textheight{-2\ids@border}
44
\addtolength\textheight{-\footskip}
45
\newlength\ids@capwidth
46
\long\def\@makecaption#1#2{%
48
\vskip\abovecaptionskip
51
\setlength\ids@capwidth{\textwidth}
52
\addtolength\ids@capwidth{-4em}
55
\@make@capt@title{#1}{#2}%
57
\@ifdim{\wd\@tempboxa >\ids@capwidth}{%
61
\begin{minipage}{\ids@capwidth}
63
\let\footnote\@footnotemark@gobble
64
\@make@capt@title{#1}{#2}\par
69
\global \@minipagefalse
70
\hb@xt@\hsize{\hfil\unhbox\@tempboxa\hfil}%
73
\vskip\belowcaptionskip
81
\renewcommand\baselinestretch{1.1}
82
\renewcommand\@listI{\leftmargin\leftmargini\parsep0pt plus 1pt\itemsep\parsep\topsep\parsep}
83
\renewcommand\@listii{\leftmargin\leftmarginii\parsep0pt plus 1pt\itemsep\parsep\topsep\parsep}
84
\renewcommand\@listiii{\leftmargin\leftmarginiii\parsep0pt plus 1pt\itemsep\parsep\topsep\parsep}
85
\renewcommand\@listiv{\leftmargin\leftmarginiv\parsep0pt plus 1pt\itemsep\parsep\topsep\parsep}
86
\renewcommand\@listv{\leftmargin\leftmarginv\parsep0pt plus 1pt\itemsep\parsep\topsep\parsep}
87
\renewcommand\@listvi{\leftmargin\leftmarginvi\parsep0pt plus 1pt\itemsep\parsep\topsep\parsep}