~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to doc/doc_src/detectors/tracker/01-Current/99-Styles/IDS-NF.cls

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
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}
25
 
\newlength\ids@border
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{%
47
 
  \par
48
 
  \vskip\abovecaptionskip
49
 
  \begingroup
50
 
   \small\rmfamily
51
 
   \setlength\ids@capwidth{\textwidth}
52
 
   \addtolength\ids@capwidth{-4em}
53
 
   \sbox\@tempboxa{%
54
 
    \let\\\heading@cr
55
 
    \@make@capt@title{#1}{#2}%
56
 
   }%
57
 
   \@ifdim{\wd\@tempboxa >\ids@capwidth}{%
58
 
    \begingroup
59
 
     \samepage
60
 
     \begin{center}
61
 
       \begin{minipage}{\ids@capwidth}
62
 
         \flushing
63
 
         \let\footnote\@footnotemark@gobble
64
 
         \@make@capt@title{#1}{#2}\par
65
 
       \end{minipage}
66
 
     \end{center}
67
 
    \endgroup
68
 
   }{%
69
 
     \global \@minipagefalse
70
 
     \hb@xt@\hsize{\hfil\unhbox\@tempboxa\hfil}%
71
 
   }%
72
 
  \endgroup
73
 
  \vskip\belowcaptionskip
74
 
}%
75
 
\leftmargini   28pt
76
 
\leftmarginii  18pt
77
 
\leftmarginiii 18pt
78
 
\leftmarginiv  18pt
79
 
\leftmarginv   18pt
80
 
\leftmarginvi  18pt
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}