%%%%%%%%%% npbpr10.sty %%%%%%%%%%
% `NUCL. PHYS. B PROCEEDINGS' DOCUMENT STYLE -- Version 2.4: 1 August 1990
%    for LaTeX version 2.09
%
% Created by Nico Poppelier (Elsevier Science Publishers)
%
%  ****************************************
%  *               FONTS                  *
%  ****************************************
%

\lineskip 1pt            % \lineskip is 1pt for all font sizes.
\normallineskip 1pt
\def\baselinestretch{1}
\frenchspacing           % no extra space at end of sentence

% Each size-changing command \SIZE executes the command
%        \@setsize\SIZE{BASELINESKIP}\FONTSIZE\@FONTSIZE
% where:
%   BASELINESKIP = Normal value of \baselineskip for that size.  (Actual
%                  value will be \baselinestretch * BASELINESKIP.)
%
%  \FONTSIZE     = Name of font-size command.  The currently available
%                  (preloaded) font sizes are: \vpt (5pt), \vipt (6pt),
%                  \viipt (etc.), \viiipt, \ixpt, \xpt, \xipt, \xiipt,
%                  \xivpt, \xviipt, \xxpt, \xxvpt.
%  \@FONTSIZE    = The same as the font-size command except with an
%                  '@' in front---e.g., if \FONTSIZE = \xivpt then
%                  \@FONTSIZE = \@xivpt.
%
% For reasons of efficiency that needn't concern the designer,
% the document style defines \@normalsize instead of \normalsize .  This is
% done only for \normalsize, not for any other size-changing commands.

\def\@normalsize{\@setsize\normalsize{14pt}\xpt\@xpt
\abovedisplayskip 8pt plus 2pt minus 2pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus 2pt%
\belowdisplayshortskip 6pt plus 2pt minus 2pt}

\def\small{\@setsize\small{12pt}\viiipt\@viiipt
\abovedisplayskip 6pt plus 2pt minus 4pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus 1pt%
\belowdisplayshortskip 3pt plus 1pt minus 2pt
\def\@listi{\topsep 4pt plus 2 pt minus 2pt \parsep 0pt \itemsep \parsep}}

\def\footnotesize{\@setsize\footnotesize{12pt}\viiipt\@viiipt
\abovedisplayskip 7pt plus 2pt minus 4pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus 1pt%
\belowdisplayshortskip 3pt plus 1pt minus 2pt
\def\@listi{\topsep 3pt plus 1pt minus 1pt \parsep 0pt \itemsep \parsep}}

\def\scriptsize{\@setsize\scriptsize{9pt}\viipt\@viipt}
\def\tiny{\@setsize\tiny{8pt}\vipt\@vipt}
\def\large{\@setsize\large{16pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{21pt}\xivpt\@xivpt}
\let\LARGE=\Large \let\huge=\Large \let\Huge=\Large

\normalsize  % Choose the normalsize font.










%  ****************************************
%  *            PAGE LAYOUT               *
%  ****************************************
%
% All margin dimensions measured from a point one inch from top and side
% of page.

% SIDE MARGINS:
\if@twoside                 % Values for two-sided printing:
   \oddsidemargin    0pt    %   Left margin on odd-numbered pages.
   \evensidemargin   0pt    %   Left margin on even-numbered pages.
   \marginparwidth  10pt    %   Width of marginal notes.
\else                       % Values for one-sided printing:
   \oddsidemargin  -30pt    %   Note that \oddsidemargin = \evensidemargin
   \evensidemargin -30pt
   \marginparwidth  10pt
\fi
\marginparsep 20pt          % Horizontal space between outer margin and
                            % marginal note

% VERTICAL SPACING:
                         % Top of page:
\topmargin 0.5in         %    Nominal distance from top of page to top of
                         %    box containing running head.
\headheight 20pt         %    Height of box containing running head.
\headsep 19pt            %    Space between running head and text.
% \topskip = 10pt        %    '\baselineskip' for first line of page.
                         % Bottom of (first) page:
\footheight 20pt         %    Height of box containing running foot.
\footskip 27pt           %    Distance from baseline of box containing foot
                         %    to baseline of last line of text.

% DIMENSION OF TEXT:
%
% height of text: 48 lines (normal baselineskip for 10pt is 12pt)
% width  of text in journal is 38pc (2+18pc + 2pc in two-column mode).
%
\textheight 40\baselineskip  % Height of text (including footnotes and figures,
\advance\textheight\topskip  % excluding running head and foot).
\textwidth 37.5pc            % Width of text line.
                             % For two-column mode:
\columnsep 2.5pc             %    Space between columns
\columnseprule 0pt           %    Width of rule between columns.

% A \raggedbottom command causes 'ragged bottom' pages: pages set to
% natural height instead of being stretched to exactly \textheight.

% FOOTNOTES:

\footnotesep 6.65pt   % Height of strut placed at the beginning of every
                      % footnote = height of normal \footnotesize strut,
                      % so no extra space between footnotes.

\skip\footins 8pt plus 10pt minus 2pt % Space between last line of text and
                                      % top of first footnote.

% FLOATS: (a float is something like a figure or table)
%
%  For floats on a text page:
%
%    One-column mode or single-column floats in two-column mode:
\floatsep 15pt plus 4pt minus 2pt        % Space between adjacent floats moved
                                         % to top or bottom of text page.
\textfloatsep 15pt plus 4pt minus 2pt    % Space between main text and floats
                                         % at top or bottom of page.
\intextsep 13pt plus 4pt minus 2pt       % Space between in-text figures and
                                         % text.
\@maxsep 20pt                            % The maximum of \floatsep,
                                         % \textfloatsep and \intextsep (minus
                                         % the stretch and shrink).
%    Two-column floats in two-column mode:
\dblfloatsep 15pt plus 4pt minus 2pt     % Same as \floatsep for double-column
                                         % figures in two-column mode.
\dbltextfloatsep 15pt plus 4pt minus 2pt % \textfloatsep for double-column
                                         % floats.
\@dblmaxsep 20pt                         % The maximum of \dblfloatsep and
                                         % \dbltexfloatsep.

%  For floats on a separate float page or column:
%    One-column mode or single-column floats in two-column mode:
\@fptop 0pt plus 1fil    % Stretch at top of float page/column. (Must be
                         % 0pt plus ...)
\@fpsep 8pt plus 2fil    % Space between floats on float page/column.
\@fpbot 0pt plus 1fil    % Stretch at bottom of float page/column. (Must be
                         % 0pt plus ... )

%   Double-column floats in two-column mode.
\@dblfptop 0pt plus 1fil % Stretch at top of float page. (Must be 0pt plus ...)
\@dblfpsep 8pt plus 2fil % Space between floats on float page.
\@dblfpbot 0pt plus 1fil % Stretch at bottom of float page. (Must be
                         % 0pt plus ... )
% Marginal notes:
%
\marginparpush 5pt       % Minimum vertical separation between two marginal
                         % notes.










%  ****************************************
%  *           PARAGRAPHING               *
%  ****************************************
%
\parskip 0pt                       % Extra vertical space between paragraphs.
\parindent 1em                     % Width of paragraph indentation.
\partopsep 0pt                     % Extra vertical space, in addition to
                                   % \parskip and \topsep, added when user
                                   % leaves blank line before environment.
\itemsep 0pt                       % Extra vertical space, in addition to
                                   % \parskip, added between list items.
% \spaceskip 0.3333em plus 0.3333em  % Interword space

% The following page-breaking penalties are defined

\@lowpenalty   51      % Produced by \nopagebreak[1] or \nolinebreak[1]
\@medpenalty  151      % Produced by \nopagebreak[2] or \nolinebreak[2]
\@highpenalty 301      % Produced by \nopagebreak[3] or \nolinebreak[3]

\@beginparpenalty 0    % Before a list or paragraph environment.
\@endparpenalty   0    % After a list or paragraph environment.
\@itempenalty     0    % Between list items.

\clubpenalty=150       % 'Club line'  at bottom of page.
\widowpenalty=150      % 'Widow line' at top of page.
% \displaywidowpenalty % Math display widow line.
% \predisplaypenalty   % Breaking before a math display.
% \postdisplaypenalty  % Breaking after a math display.
% \interlinepenalty    % Breaking at a line within a paragraph.
% \brokenpenalty       % Breaking after a hyphenated line.










%    ****************************************
%    *             SECTIONS                 *
%    ****************************************

% \secdef{UNSTARCMDS}{STARCMDS} :
%    When defining a sectionioning command without using
%    \@startsection, you can use \secdef as follows:
%       \def\part { ... \secdef \CMDA \CMDB }
%       \def\CMDA  [#1]#2{ ... }     % Command to define \part[...]{...}
%       \def\CMDB  #1{ ... }         % Command to define \part*{...}

% \@startsection {NAME}{LEVEL}{INDENT}{BEFORESKIP}{AFTERSKIP}{STYLE}
%            optional * [ALTHEADING]{HEADING}
%    Generic command to start a section.
%    NAME       : e.g., 'subsection'
%    LEVEL      : a number, denoting depth of section -- i.e., section=1,
%                 subsection = 2, etc.  A section number will be printed if
%                 and only if LEVEL < or = the value of the secnumdepth
%                 counter.
%    INDENT     : Indentation of heading from left margin
%    BEFORESKIP : Absolute value = skip to leave above the heading.
%                 If negative, then paragraph indent of text following
%                 heading is suppressed.
%    AFTERSKIP  : if positive, then skip to leave below heading,
%                       else - skip to leave to right of run-in heading.
%    STYLE      : commands to set style
%  If '*' missing, then increment the counter.  If it is present, then
%  there should be no [ALTHEADING] argument.  A sectioning command
%  is normally defined to \@startsection + its first six arguments.

\newdimen\@bls \@bls\baselineskip
\if@ussrhead
\def\@section{\@startsection{section}{1}{\z@}{0pt plus 1pt}%
  {-0.00001pt}{\normalsize\bf}}
\def\section#1{\@section{\null}}
\else
\def\@section{\@startsection{section}{1}{\z@}{2\@bls plus
  0.4\@bls}{\@bls}{\normalsize}}
\let\section\@section
\def\subsection{\@startsection{subsection}{2}{\z@}{\@bls plus
  0.2\@bls}{\@bls}{\normalsize\it}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{\@bls plus
  0.2\@bls}{0.0001pt}{\normalsize\it}}
\fi
\def\@appsection{\@startsection{section}{1}{\z@}{2.0\@bls plus 0.4\@bls
  minus 0.2\@bls}{\@bls}{\noindent\normalsize\bf Appendix }}

% Default initializations of \...mark commands.
% (See below for their use in defining page styles.)

% \def\sectionmark#1{}           % Preloaded definitions
% \def\subsectionmark#1{}
% \def\subsubsectionmark#1{}
% \def\paragraphmark#1{}
% \def\subparagraphmark#1{}

% The value of the counter secnumdepth gives the depth of the
% highest-level sectioning command that is to produce section numbers.

\setcounter{secnumdepth}{3}

\@secpenalty=0
    % originally -300

% definition of \@sect transplanted from latex.tex and
% adapted with respect to (1) spacing between section number and title
% and (2) paragraph behaviour of title
%
% \@fullstop = . (section, subsection, ...)
%            =   (appendix section, appendix subsection, ...)

\def\@fullstop{.}
\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
  \def\@svsec{}\else
  \refstepcounter{#1}
        \edef\@svsec{\csname the#1\endcsname\@fullstop \hskip 0.5em }\fi
  \@tempskipa #5\relax
  \ifdim \@tempskipa>\z@
    \begingroup #6\relax
      \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty\@M
      \rightskip=0pc plus 9pc #8\par}%
    \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\@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}}

%    ****************************************
%    *     ACKNOWLEDGMENTS AND APPENDIX     *
%    ****************************************
%
% ACKNOWLEDGEMENTS
\def\acknowledge{\let\section\@section \section*{Acknowledgements}}
\let\endacknowledge\par

% APPENDIX
%
% The \appendix command must do the following:
%    -- reset the section and subsection counters to zero
%    -- redefine the section counter to produce appendix numbers
%    -- redefine the \section command if appendix titles and headings are
%       to look different from section titles and headings.

\def\appendix{\setcounter{section}{0} \setcounter{subsection}{0}
  \setcounter{equation}{0} \@addtoreset{equation}{section}
  \if@ussrhead \else \def\section##1{\@appsection{\null}} \fi
  \let\@fullstop\relax \def\thesection{\Alph{section}}
  \def\theequation{\thesection.\arabic{equation}}
  \def\thesubsection{\thesection.\arabic{subsection}}
        \def\thesubsubsection{}}










%    ****************************************
%    *                LISTS                 *
%    ****************************************
%

% The following commands are used to set the default values for the list
% environment's parameters. See the LaTeX manual for an explanation of
% the meanings of the parameters.  Defaults for the list environment are
% set as follows.  First, \rightmargin, \listparindent and \itemindent
% are set to 0pt.  Then, for a Kth level list, the command \@listK is
% called, where 'K' denotes 'i', 'ii', ... , 'vi'.  (I.e., \@listiii is
% called for a third-level list.)  By convention, \@listK should set
% \leftmargin to \leftmarginK.
%
% For efficiency, level-one list's values are defined at top level, and
% \@listi is defined to set only \leftmargin
%
% The number of levels is brought down to just two,
% instead of four or six.

\leftmargini 0em
\leftmarginii 0em
\labelwidth 1.2em \labelsep 0.6em

\def\@listI{\leftmargin\leftmargini
  \itemindent\labelwidth \advance\itemindent\labelsep
  \topsep 8.5pt plus 2pt minus 4pt \itemsep 4pt plus 2pt minus 1pt}

\let\@listi\@listI
\@listi

\def\@listii{\leftmargin\leftmargini\itemindent\labelwidth
  \advance\itemindent\labelsep}

