Hello,

the tikzexternal library in pgfplots 1.4 does not work well with the
attached document class file. The figures are not centered and labels
and part of the axis are cropped. Is there a workaround to use pgfplots
with this style file?

Regards,
Miguel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% For support please email: [email protected] (or) [email protected]
%% The content, structure, format and layout of this style file is the
%% property of World Scientific Publishing Co. Pte. Ltd.
%% Copyright 2006 by World Scientific Publishing Co.
%% All rights are reserved.
%%
%% Proceedings Trim Size: 9in x 6in
%% Text Area: 7.35in (include runningheads) x 4.5in
%% Main Text is 10/13pt
%% Last Modified: 7-7-05
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ws-procs9x6}[1994/07/13 v1.2u Standard LaTeX document class]
\...@twosidetrue\@mparswitchtr...@twocolumnfalse
\newif...@openright
\...@openrighttrue
\newif...@restonecol
%
\newif...@draft
%
\newdimen\draftrule
\draftrule=0pt
%
\declareoption{splissue...@splissuetrue}
\declareoption{draft...@drafttrue\setlength\overfullrule{5pt}\draftrule0.01pt}%
%
\hoffset=0.1in
\voffset=0.2in
%
\DeclareOption{final}{\setlength\overfullrule{0pt}}
%
\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final}
\ProcessOptions
%
\newcommand\appendixname{Appendix}
\newcommand\abstractname{Abstract}
\newcommand\bibname{References}%
%
\newcommand\today{\ifcase\month\or
  January\or February\or March\or April\or May\or June\or
  July\or August\or September\or October\or November\or December\fi
    \space\number\day, \number\year}
\newcount\minute
\newcount\hour
\def\currenttime{%
    \minute\time
    \hour\minute
    \divide\hour60
    \the\hour:\multiply\hour60\advance\minute-\hour\the\minute}
%
\newdimen\trimheight
\newdimen\trimwidth
\newdimen\typeheight
\newdimen\typewidth
\newdimen\tempdimen
\newdimen\tablewidth
\newdimen\normaltextheight
\newbox\tempbox
\newdimen\tablewd
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Fonts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\foliofont{\fontsize{8}{10}\selectfont}
\def\bibfont{\fontsize{9}{11}\selectfont}
\def\rhfont{\footnotesize\itshape{}}
\def\catchlinefont{\footnotesize}
\def\titlefont{\fontsize{10}{13}\bfseries\boldmath\selectfont\centering{}}
\def\authorfont{\footnotesize}
\def\abstractfont{\footnotesize}
\let\affiliationfont\rhfont
\def\datefont{\footnotesize}
\def\sectionfont{\bfseries\boldmath\rightskip2pc plus1fill{}}
\def\subsectionfont{\bfseries\boldmath\itshape\rightskip2pc plus1fill{}}
\def\subsubsectionfont{\itshape\rightskip2pc plus1fill{}}
\def\paragraphfont{\bfseries\boldmath}
\def\subparagraphfont{\itshape}
\def\figurecaptionfont{\footnotesize}
\def\tablefont{\footnotesize}
\def\tablecaptionfont{\footnotesize}
\def\foot{\small}
%
\renewcommand\normalsize{%
   \...@setfontsize\normalsize\@xpt{13...@xiiipt    %%10/13pt
   \abovedisplayskip...@\@plus...@\@minus2\p@
   \abovedisplayshortskip\abovedisplayskip
   \belowdisplayshortskip\abovedisplayshortskip
   \belowdisplayskip\abovedisplayskip
   \l...@listi\@listI}
\normalsize
%
\newcommand\small{%
   \...@setfontsize\small\@ixpt{11}%
   \abovedisplayskip 8\p@ \...@plus3\p@ \...@minus4\p@
   \abovedisplayshortskip \z@ \...@plus2\p@
   \belowdisplayshortskip 4\p@ \...@plus2\p@ \...@minus2\p@
   \d...@listi{\leftmargin\leftmargini
               \topsep 4\p@ \...@plus2\p@ \...@minus2\p@
               \parsep 2\p@ \...@plus\p@ \...@minus\p@
               \itemsep \parsep}%
   \belowdisplayskip \abovedisplayskip}
%
\newcommand\footnotesize{%
   \...@setfontsize\footnotesize\@viiipt{10}%
   \abovedisplayskip 6\p@ \...@plus2\p@ \...@minus4\p@
   \abovedisplayshortskip \z@ \...@plus\p@
   \belowdisplayshortskip 3\p@ \...@plus\p@ \...@minus2\p@
   \d...@listi{\leftmargin\leftmargini
               \topsep 3\p@ \...@plus\p@ \...@minus\p@
               \parsep 2\p@ \...@plus\p@ \...@minus\p@
               \itemsep \parsep}%
   \belowdisplayskip \abovedisplayskip}
%
\newcommand\scriptsiz...@setfontsize\scriptsize\@vii...@viiipt}
\newcommand\tin...@setfontsize\tiny\@v...@vipt}
\newcommand\larg...@setfontsize\large\@xiipt{14}}%
\newcommand\larg...@setfontsize\large\@xivpt{16}}%%
\newcommand\larg...@setfontsize\large\@xviipt{22}}
\newcommand\hug...@setfontsize\huge\@xxpt{25}}
\newcommand\hug...@setfontsize\huge\@xxvpt{30}}
\setlength\smallskipamount{3\p@ \...@plus 1\p@ \...@minus 1...@}
\setlength\medskipamount{6\p@ \...@plus 2\p@ \...@minus 2...@}
\setlength\bigskipamount{12\p@ \...@plus 4\p@ \...@minus 4...@}
%
\DeclareOldFontCommand{\rm}{\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\itshape}{\mathit}
\declareoldfontcommand{\sl}{\slshape...@nomath\sl}
\declareoldfontcommand{\sc}{\scshape...@nomath\sc}
\DeclareOldFontCommand{\bi}{\bfseries\itshape}{\bfseries\itshape}
\renewcommand{\rmdefault}{cmr}%
%
\DeclareMathSizes{28}{28}{25}{20}
\DeclareMathSizes{24}{24}{21}{18}
\DeclareMathSizes{22}{22}{19}{17}
\DeclareMathSizes{20}{20}{17}{15}
\DeclareMathSizes{18}{18}{15}{10}
\DeclareMathSizes{12}{11}{8}{5}
\DeclareMathSizes{11}{11}{8}{5}
\DeclareMathSizes{10}{10}{7}{5}
\DeclareMathSizes{9.5}{9}{7}{5}
\DeclareMathSizes{9}{9}{7}{5}
\DeclareMathSizes{8}{8}{6}{5}
\DeclareMathSizes{7}{7}{5}{5}
\DeclareMathSizes{6}{6}{5}{5}
\DeclareMathSizes{5}{5}{5}{5}
\def\bm#1{\mathchoice
    {\mbox{\boldmath$#1$}}%
          {\mbox{\boldmath$#1$}}%
          {\mbox{\boldmath$\scriptstyle#1$}}%
          {\mbox{\boldmath$\scriptscriptstyle#1$}}}%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%Initializations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newdimen\trimheight \trimheight9truein
\newdimen\trimwidth \trimwidth6truein
\newdimen\typeheight \typeheight7.35in
%
\setlength\parindent{15pt}
\setlength\headheight{...@}
\setlength\headsep   {.25in}
\setlength\topskip   {...@}
\setlength\footskip{10pt}
\setlength\maxdepth{...@}
\setleng...@maxdepth\maxdepth
\setlength\textwidth{4.5in}
\setlength\textheight\typeheight
\advance\textheight-\headheight
\advance\textheight-\headsep
\setlength\normaltextheight{\textheight}
\setlength\oddsidemargin{19mm}
\setlength\evensidemargin{\trimwidth}
\addtolength\evensidemargin{-\textwidth}
\addtolength\evensidemargin{-\oddsidemargin}
\setlength\marginparwidth{.75in}
\setlength\marginparsep{...@}
\setlength\marginparpush{...@}
\setlength\topmargin{0.54in}
\setlength\footnotesep{...@} %6pt
\setlength{\skip\footins}{18\p@ \...@plus 5\p@ \...@minus 2...@}
\setlength\floatsep    {18\p@ \...@plus 2\p@ \...@minus 2...@}
\setlength\textfloatsep{18\p@ \...@plus 2\p@ \...@minus 4...@}
\setlength\intextsep   {18\p@ \...@plus 2\p@ \...@minus 2...@}
\setlength\dblfloatsep    {18\p@ \...@plus 2\p@ \...@minus 2...@}
\setlength\dbltextfloatsep{18\p@ \...@plus 2\p@ \...@minus 4...@}
\setleng...@fptop{0\p@}
\setleng...@fpsep{8\p@ \...@plus 2fil}
\setleng...@fpbot{0\p@ \...@plus 1fil}
\setleng...@dblfptop{0\p@ \...@plus 1fil}
\setleng...@dblfpsep{8\p@ \...@plus 2fil}
\setleng...@dblfpbot{0\p@ \...@plus 1fil}
\setlength\partopsep{...@}
%
\setlength\lineskip{...@}
\setlength\normallineskip{...@}%
\renewcommand\baselinestretch{}%{}
\setlength\parskip{...@}
\...@lowpenalty   51
\...@medpenalty  151
\...@highpenalty 301
\...@beginparpenalty -...@lowpenalty
\...@endparpenalty   -...@lowpenalty
\...@itempenalty     -...@lowpenalty
%
\newenvironment{contents}{%
    \cleardoublepage
    \vspace*{0.92in}
    {\centering{
    {\bf {\uppercase{Contents}}\par}\par}}
    \vskip 0.05in             %VSPACE BEFORE CONTENT TEXT
    \vskip -3pt
    \normalsize
}{\par\vfill\pagebreak\par}%
%
\newcommand\mastertoc{%
    \cleardoublepage
    \title{CONTENTS}
    \normalsize
    \...@starttoc{toc}%
    \par\vfill\pagebreak\par
    \pagenumbering{arabic}
    \setcounter{page}{1}}
%
\newenvironment{titlepages}{%
    \thispagestyle{plain}
    \renewcommand\thepage{\roman{page}}
    \par\ \par
    \vspace*{2in}
     \begin{flushleft}
     \large
     {\bfseries Proceedings Trim Size: 9in x 6in \\
     Text Area: 7.35in (include runningheads) x 4.5in \\
     Main Text is 10/13pt} \\[29pt]
     {\large For Half-Title Page (prepared by publisher)}
    \end{flushleft}
    \vfill
    \pagebreak\par
    \thispagestyle{plain}
    \ \par
    \vspace*{2.5in}
    {\begin{center}\large Publishers' page --- (Blank page)\end{center} }\par
    \vfill
    \pagebreak\par
    \thispagestyle{plain}
    \ \par
    \vspace*{2.5in}
    {\begin{center}\large For Full Title Page (prepared by publisher)
    \end{center} }\par
    \vfill
    \pagebreak
    \vspace*{2.5in}
    {\begin{center}\large For Copyright Page (prepared by publisher)
    \end{center} }\par
    \vfill
    \pagebreak\par}{\par}%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%% Part %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\CNfont{\large\bfseries}
\def\CTfont{\Large\bfseries\boldmath{}}
\newcounter{part}
\renewcommand\thepart{\Alph{part}}
\newcommand\part{\cleardoublepage
                 \renewcommand\thepage{\arabic{page}}
                 \thispagestyle{pblind}%
                 \glob...@topnum\z@
                 \...@afterindentfalse
                 \secd...@part\@spart}
%
\d...@part[#1]#2#3{%
 {\vspace*{3pc}
  \vbox{\parindent\z@ \re...@font
         \refstepcounter{part}
%    \addcontentsline{toc}{part}{#2}
    \addcontentsline{toc}{part}{Part~\thepart\quad #1}
         \vskip 1.4in
         {\centering{\CNfont PART \thepart}
         \par
         \vskip 12\p@
    \vbox{\CTfont #1}\par}
    \vskip 106\p@
    \vbox{\noindent #3}\par
    \nobreak}}
  \...@endpart}
%
\d...@spart#1{%
    {\PTfont #1\par}%
    \...@endpart}
%
\d...@endpart{\vfil\newpage
              \...@twoside
                \hbox{}%
                \thispagestyle{pblind}%
                \newpage
              \fi}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%Title %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\d...@clinebuf{}
%
\def\title#1{
    \setcounter{section}{0}
    \setcounter{subsection}{0}
    \setcounter{subsubsection}{0}
    \setcounter{footnote}{0}
    \setcounter{table}{0}
    \setcounter{figure}{0}
    \setcounter{equation}{0}
    \setcounter{appendixc}{0}
    \...@addtoreset{theorem}{section}
    \renewcommand{\thelemma}{\thesection.\arabic{lemma}}
    \renewcommand{\thetheorem}{\thesection.\arabic{theorem}}
    \renewcommand{\thedefinition}{\thesection.\arabic{definition}}
    \renewcommand{\thecorollary}{\thesection.\arabic{corollary}}
    \renewcommand\theequation{\arabic{equation}}
    \renewcommand\thefootnot...@fnsymbol\c@footnote}%
    \long\d...@makefntext##1{\noindent
    \...@textsuperscript{\normalfont\@thefnmark}{{##1}}}%
   %\cleardoublepage %to start a new paper in odd page
    \thispagestyle{plai...@thanks
    \vspace*{-14pt}
    \vskip 79pt
    \...@clinebuf
    {\centering{\titlefont #1\par}}%
    \vskip 1em
}
\def\subtitle#1{\titlefont :~{{#1}}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Title %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
\newcounter{ptitl}
\d...@empty{}

\def\wstoc#1#2{\refstepcounter{ptitl}
    \addtocontents{toc}
    {\protect\contentsline{chapter}
        \protect{\noindent#1}{\thepage}
    }
    \ifx...@empty\else
    \addcontentsline{toc}{authors}{\noindent#2}\fi
    }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Local Definitions %%%%%%%%%%%%%%%%%%%%%%
%
\def\cdash{$^{\raisebox{-0.5pt}{\hbox{--}}}$}
\def\mtb{\fboxsep=0pt\fbox{\phantom{e}}}
\def\email#1{\it #1\par}
\def\http#1{\it http://#1\par}

\def\breakhere{\par\vskip-\lastskip
            \pagebreak}
\def\forcebreak{\vadjust{\pagebreak}}
%

\newcommand{\cal}{\protect\pcal}
\newcommand{\pcal...@fontswitch{\relax}{\mathcal}}
%
\def\author#1{\par
    {\centering{\authorfont#1}\par\vspace*{0.05in}}
}

\def\address#1{\par
    {\centering{\affiliationfont#1\par}}\par\vspace*{11pt}
}
%
\newenvironment{abstract}{\par%
    \vspace*{6pt}
    \abstractfont
    \noindent\leftskip18pt\rightskip18pt
}{%
  \par}
%
\def\keywords#1{\par
    \vspace*{8pt}
    {\authorfont{\leftskip18pt\rightskip\leftskip
    \noindent{\it Keywords}\/:\ #1\par}}\vskip-12pt}
%
\def\category#1#2{\par
    \vspace*{8pt}
    {\authorfont{\leftskip18pt\rightskip\leftskip
    \noindent{\it Categories}\/:\ #1:\ #2\par}}\par}
%
\newif...@cghi
\def\cit...@cghitrue\@ifnextchar [...@tempswatrue
    \...@citex}{\@tempswafal...@citex[]}}
\def\citelo...@cghifalse\@ifnextchar [...@tempswatrue
    \...@citex}{\@tempswafal...@citex[]}}
\d...@cite#1#2{{$^{#1}$\if@tempswa\typeout
    {WSPC warning: optional citation argument
    ignored: `#2'} \fi}}
\newcommand{\citeup}{\cite}
%
\newcou...@tempcntc
\d...@citex[#1]#2{\if@filesw\immediate\wri...@auxout{\string\citation{#2}}\fi
 \...@tempcnta\z@\...@tempcntb\m@ne\d...@citea{}\@cit...@for\@citeb:=#2\do
  {...@ifundefined
   {...@\@citeb...@citeo\@tempcnt...@ne\@citea\d...@citea{,}%
     {\mbox{\bfseries ?...@warning
   {Citation `...@citeb' on page \thepage \space undefined}}%
  {\setbo...@\hbox{\global\@tempcntc0\csname b...@\@citeb\endcsname\relax}%
   \ifn...@tempcntc=\z@ \...@citeo\@tempcnt...@ne
    \...@citea\def\@citea{;\ }\hbox{\csname b...@\@citeb\endcsname}%
   \else
    \advan...@tempcntb\@ne
    \ifn...@tempcntb=\@tempcntc
    \else\advan...@tempcntb\m@n...@citeo
    \...@tempcnta\@tempcn...@tempcntb\@tempcntc\fi\fi...@citeo}{#1}}
\d...@citeo{\ifnum\@tempcnta>\...@tempcntb\else\@citea\d...@citea{,}%
 \ifn...@tempcnta=\@tempcntb\t...@tempcnta\else
  {\advan...@tempcnta\@ne\ifn...@tempcnta=\@tempcntb \else \d...@citea{\mbox{--\/}}\fi
   \advan...@tempcnta\m@ne\t...@tempcnta\@citea\t...@tempcntb}\fi\fi}
\d...@refcitex[#1]#2{\if@filesw\immediate\wri...@auxout
    {\string\citation{#2}}\fi
\d...@citea{}\@refcit...@for\@citeb:=#2\do
    {...@citea\def\@citea{, }...@ifundefined
    {...@\@citeb}{{\bf ?...@warning
    {Citation `...@citeb' on page \thepage \space undefined}}
    \hbox{\csname b...@\@citeb\endcsname}}}{#1}}
 \d...@refcite#1#2{{#1\if@tempswa\typeout
        {WSPC warning: optional citation argument
    ignored: `#2'} \fi}}
 \def\refcit...@ifnextchar[{\@tempswatrue
    \...@refcitex}{\@tempswafal...@refcitex[]}}
%%%%%%%%%%%%%%%%%%%%%%%% Table of Contents %%%%%%%%%%%%%%%%%%%%%%%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Lists %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\d...@listi{\leftmargin\leftmargini
            \listparindent\itemindent
            \parsep \...@\labelsep.5em
            \topsep 6.5\p@ \...@plus3\p@% \...@minus2\p@
            \itemsep...@}
%
\l...@listi\@listI
\...@listi
%
\d...@listii {\leftmargin\leftmarginii
              \labelwidth\leftmarginii
              \advance\labelwidth-\labelsep
              \topsep    3.5\p@ \...@plus2\p@ \...@minus\p@
              \parsep    \z@
              \itemse...@}
\d...@listiii{\leftmargin\leftmarginiii
              \labelwidth\leftmarginiii
              \advance\labelwidth-\labelsep
              \topsep 3.5\p@ \...@plus\p@\...@minus\p@
              \parsep \z@
             % \partopsep \p@ \...@plus\z@ \...@minus\p@
              \itemsep...@}%
\d...@listiv {\leftmargin\leftmarginiv
              \labelwidth\leftmarginiv
              \advance\labelwidth-\labelsep}
\d...@listv  {\leftmargin\leftmarginv
              \labelwidth\leftmarginv
              \advance\labelwidth-\labelsep}
\d...@listvi {\leftmargin\leftmarginvi
              \labelwidth\leftmarginvi
              \advance\labelwidth-\labelsep}
%
\setlength\leftmargini{3pc}
\setlength\leftmarginii{2.2em}
\setlength\leftmarginiii{1.87em}
\setlength\leftmarginiv{1.7em}
\setlength\leftmarginv{1em}
\setlength\leftmarginvi{1em}
\setlength\leftmargin{\leftmargini}
\setlength\listparindent{\parindent}
\setlength\labelsep{.5em}
\setlength\labelwidth{\leftmargini}
\addtolength\labelwidth{-\labelsep}
\renewcommand\theenumi{\arabic{enumi}}
\renewcommand\theenumii{\alph{enumii}}
\renewcommand\theenumiii{\roman{enumiii}}
\renewcommand\theenumiv{\Alph{enumiv}}
\newcommand\labelenumi{(\theenumi)}
\newcommand\labelenumii{(\theenumii)}
\newcommand\labelenumiii{\theenumiii.}
\newcommand\labelenumiv{\theenumiv.}
\renewcomman...@enumii{\theenumi}
\renewcomman...@enumiii{\theenumi(\theenumii)}
\renewcomman...@enumiv{\p@enumiii\theenumiii}
\newcommand\labelitemi{...@th\bullet$}
\newcommand\labelitemii{\normalfont\bfseries --}
\newcommand\labelitemiii{...@th\ast$}
\newcommand\labelitemiv{...@th\cdot$}
%
\def\enummax#1{\setbox\tempbox=\hbox{#1\hskip\labelsep}%
  \expandafter\global\csname leftmargin\romannumeral\t...@enumdepth\endcsname\wd\tempbox}
%
\def\enumerat...@ifnextchar[{\@enumerate...@enumerate[\csname lab...@enumctr\endcsname]}}
%
\d...@enumerate[#1]{\ifnum \...@enumdepth >3 \...@toodeep\else
      \advan...@enumdepth \...@ne\edef\@enumctr{enum\romannumeral\t...@enumdepth}%
      \enummax{#1}\list
      {\csname lab...@enumctr\endcsname}{\usecounter
        {...@enumctr}\def\makelabel##1{\hss\llap{##1}}}\fi}
%
\let\Item\item
\newenvironment{enumeroman}{%
  \def\theenumi{\roman{enumi}}\def\theenumii{\alph{enumii}}%
  \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
        \let\item\Item
  \begin{enumerate}%
}{%
  \end{enumerate}}
%
\newenvironment{alphlist}{%
  \def\theenumi{\alph{enumi}}\def\theenumii{\alph{enumii}}%
  \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
        \let\item\Item
  \begin{enumerate}%
}{%
  \end{enumerate}}
%
\newenvironment{arabiclist}{%
    \def\theenumi{\arabic{enumi}}\def\theenumii{\alph{enumii}}
    \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
    \let\item\Item
    \begin{enumerate}
    }{%
    \end{enumerate}}
%
\newenvironment{romanlist}{%
    \def\theenumi{\roman{enumi}}\def\theenumii{\alph{enumii}}
    \def\labelenumi{(\theenumi)}\def\labelenumii{(\theenumii)}%
    \let\item\Item
    \begin{enumerate}
    }{%
    \end{enumerate}}
%
\newenvironment{itemlist}{%
    \def\labelenumi{\labelitemi}
    \let\item\Item
    \begin{enumerate}
    }{%
    \end{enumerate}}
%
\newenvironment{description}
               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                        \let\makelabel\descriptionlabel}}
               {\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep
                                \normalfont\bfseries #1}
%
\newenvironment{unnumlist}{%
    \let\item\Item
    \leftmargini2pc
    \ifnum \...@enumdepth >3 \...@toodeep\else
        \advan...@enumdepth \...@ne
        \list{}{\itemindent-2pc\topsep6pt
              \def\makelabel##1{\hss\llap{##1}}}%
   \fi
}{%
  \endlist}
%
\newenvironment{quote}
               {\list{}{\rightmargin18pt\leftmargin18pt}%
                \item[]}
               {\endlist}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Sections %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\setcounter{secnumdepth}{3}
\newcounter {section}
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]
\renewcommand\thesection      {\arabic{section}}
\renewcommand\thesubsection   {\thesection.\arabic{subsection}}
\renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}}
\renewcommand\theparagraph    {\thesubsubsection.\arabic{paragraph}}
\renewcommand\thesubparagraph {\theparagraph.\arabic{subparagraph}}
%
\newcommand\sectio...@startsection{section}{1}{\z@}{-18pt \...@plus-3pt minus-6pt}{5pt}{\sectionfont}}
\newcommand\subsectio...@startsection{subsection}{2}{\z@}{-18pt \...@plus-3pt minus-6pt}{5pt}{\subsectionfont}}
\newcommand\subsubsectio...@startsection{subsubsection}{3}{\z@}{-18pt \...@plus-3pt minus-3pt}{5pt}{\subsubsectionfont}}
\newcommand\paragrap...@startsection{paragraph}{4}{\z@}{12pt \...@plus -3pt}{-.5em}{\paragraphfont}}
\newcommand\subparagrap...@startsection{subparagraph}{5}{\parindent}{3.25ex \...@plus1ex}{-1em}{\subparagraphfont}}
%
\d...@seccntformat#1{{\upshape{\csname the#1\endcsname.}}\hskip .5em}
%
\def\body{
\setcounter{footnote}{0}
\def\thefootnote{\alph{footnote}}
\d...@makefnmark{{$^{\rm \...@thefnmark}$}}
}
\def\bodymatter{\body}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Floats %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\setcounter{topnumber}{3}
\def\topfraction{.98}
\setcounter{bottomnumber}{3}
\def\bottomfraction{.98}
\setcounter{totalnumber}{6}%4
\def\textfraction{.01}
\def\floatpagefraction{.98100}
\setcounter{dbltopnumber}{2}
\def\dbltopfraction{.981}
\def\dblfloatpagefraction{.99}
%
%
\newlength\abovecaptionskip
\newlength\belowcaptionskip
\setlength\abovecaptionskip{...@}% plus3pt minus3pt}
\setlength\belowcaptionskip{-...@}
%
\def\FigName{figure}%
%
\InputIfFileExists{psfig.sty}{\typeout{^^Jpsfig.sty inputed...ok}}{\typeout{^^JWarning: psfig.sty could be be found.^^J}}
\InputIfFileExists{epsfsafe.tex}{\typeout{^^Jepsfsafe.tex inputed...ok}}
            {\typeout{^^JWarning: epsfsafe.tex could not be found.^^J}}
\InputIfFileExists{epsfig.sty}{\typeout{^^Jepsfig.sty inputed...ok}}{\typeout{^^JWarning: epsfig.sty could not be found.^^J}}
\InputIfFileExists{epsf.sty}{\typeout{^^Jepsf.sty inputed...ok}}{\typeout{^^JWarning: epsf.sty could not be found.^^J}}%
%
\newbox\captionbox
%
\long\d...@makecaption#1#2{%
  \ifx\figna...@captype
        \vskip\abovecaptionskip
    \setbox\captionbox\hbox{%
    {\figurecaptionfont#1.\unskip\ignorespaces\hskip1em#2\par}}
    \ifdim\wd\captionbox>\hsize
    {\figurecaptionfont#1.\unskip\ignorespaces\hskip1em#2\par}\par
    \else
    \centerline{\figurecaptionfont#1.\unskip\ignorespaces\hskip1em#2}\par
    \fi\else\global\setbox\captionbox\hbox{%
    {\tablecaptionfont#1.\ignorespaces\hskip1em#2\par}}
    \fi
}
%
\def\figurename{Fig.}
\newcounter{figure}
\renewcommand\thefigur...@arabic\c@figure}
\def\...@figure{htbp}
\def\ft...@figure{1}
\def\...@figure{lof}
\def\f...@figure{\figurename~\thefigure}
\newenvironment{figure}
               {...@float{figure}}
               {\...@float}
\newenvironment{figure*}
               {...@dblfloat{figure}}
               {\...@dblfloat}
%
\def\ArtDir{\jobname/}
\def\figurebox#1#2#3{%
        \def\arg{#3}%
        \ifx\arg\empty
        {\hfill\vbox{\hsize#2\hrule\hbox to #2{%
                \vrule\hfill\vbox to #1{\hsize#2\vfill}\vrule}\hrule}\hfill}%
        \else
        \hbox to \hsize{\hfill\epsfbox{\ArtDir#3.eps}\hfill}
        \fi}
%
\def\PSFIG#1#2#3{\par
  {\hbox to \hsize{%
    \hfill{\psfig{file=\ArtDir#1.eps,width=#2,angle=#3}}\hfill}\par}}%
%
\newcounter{table}
\def\tablename{Table}
\renewcommand\thetabl...@arabic\c@table}
\def\...@table{htbp}
\def\ft...@table{2}
\def\...@table{lot}
\def\f...@table{\tablename~\thetable}
\newenvironment{table}
               {...@float{table}}
               {\...@float}
\newenvironment{table*}
               {...@dblfloat{table}}
               {\...@dblfloat}
%
\long\def\tbl#1#2{%
    \parinden...@\ignorespaces\noindent\tablecaptionfont
    \caption{#1}%
    \par\setbox\tempbox\hbox{\tablefont #2}%
    \tablewd\hsize\advance\tablewd-\wd\tempbox\global\divide\tablewd\tw@
    \ifdim\wd\captionbox<\wd\tempbox\centerline{\unhbox\captionbox}
    \else\leftskip\tablewd\rightskip\leftskip{\unhbox\captionbox}\par
    \fi\vskip5pt\centerline{\box\tempbox}
}%
\long\def\ttbl#1#2#3{%
    \parindent\z@
    \noindent
    \tablecaptionfont
    \caption{#2}%
    \tablewd\hsize
    \advance\tablewd-#1
    \global\divide\tablewd\tw@
    \ifdim \wd\captionbox<#1
    \centerline{\unhbox\captionbox}
    \else
    {\leftskip\tablewd% plus1fill{}
    \rightskip\tablewd% plus1fill{}
    \unhbox\captionbox\par}
    \fi
    \vskip-8pt
    \centerline{#3}
}%
%
\newenvironment{InTextTable}{%
    \par\addvspace{16pt plus6pt minus6pt}%
    \begin{center}
    \tablecaptionfont\noindent\ignorespaces
}{%
    \end{center}
    \par\addvspace{17pt plus6pt minus6pt}}
%
\newenvironment{tabnote}{%
    \par\vskip5pt\footnotesize%
    \...@ifnextchar[{\@tabnote...@tabnote[note]}}{%
    \par\vskip-5pt}
\d...@tabnote[#1]{%
    \leftskip\tablewd\rightskip\leftskip {\it #1}\/:\ \ignorespaces}
%

\def\Hline{%
  \noalign{\ifnum0=`}\fi\hrule \...@height 2\arrayrulewidth \futurelet
   \...@tempa\@xhline}

\def...@{\extracolsep{\fill}}}
\def\toprule{\Hline\\[-6.5pt]}
\def\colrule{\\[-7pt]\hline\\[-6pt]}
\def\TMcolrule{\\[-9.5pt]\hline\\[-9.5pt]}
\def\botrule{\\[-7pt]\Hline}
\def\crule#1{\\[-7pt]#1\\[-6pt]}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Maths %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\setlength\arraycolsep{1....@}
\setlength\tabcolsep{...@}
\setlength\arrayrulewidth{....@}
\setlength\doublerulesep{...@}
\setlength\tabbingsep{\labelsep}
\sk...@mpfootins = \skip\footins
\setlength\fboxsep{...@}
\setlength\fboxrule{....@}

\renewcommand\theequation{\arabic{equation}}

%
\setlength\columnsep{1...@}
\setlength\columnseprule{...@}
%
\def\bstrut{\vrule width0pt depth5pt}
\def\tstrut{\vrule width0pt height10pt}
\jot=3pt
%

\def\refstepeqcnt{\refstepcounter{equation}}
\def\eqnnum{\displaywidth\linewidth\hbo...@eqnnum}}
%
\d...@equation{\let\topsep\abovedisplayskip\@beginparpenalty\predisplaypenal...@endparpenalty\postdisplaypenalty
     \refstepeqcnt
     \trivlist \item[]\leavevmode
       \hbox to\linewidth\bgroup\hfill $...@th% $
       \displaystyle}%
\def\...@equation{$\hfill\eqnnum\egroup\endtrivlist}
%
\renewenvironment{eqnarray}{%
   \stepcounter{equation}%
   \d...@currentlabel{\p@equation\theequation}%
   \glob...@eqnswtrue
   \...@th
   \glob...@eqcnt\z@
   \tabsk...@centering
   \let...@eqncr
   $$\everycr{}\halign to\displaywidth\bgroup
       \hsk...@centering$\displaystyle\tabskip\z@skip{##...@eqnsel
      &\glob...@eqcnt\@ne\hskip \...@\arraycolsep \hfil${##}$\hfil
      &\glob...@eqcnt\tw@ \hskip \...@\arraycolsep
         $\displaystyle{##}$\hfil\tabsk...@centering
      &\glob...@eqcnt\thr@@ \...@xt@\...@\bgroup\hss##\egroup
         \tabski...@skip
      \cr}
        {%
      \@@eqncr
      \egroup
      \global\advanc...@equation\m@ne
   $$\glob...@ignoretrue
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Footnote %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\renewcommand\footnoterule{%
  \kern-3\p@
%  \hrule depth0pt height0pt \[email protected]\columnwidth
  \hrule width .4\columnwidth
  \kern2....@}
\newcomma...@makefntext[1]{%
    \parindent 1em%
    \noindent
     \...@makefnmark#1}
%
\d...@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or
    \mathchar "278\or \mathchar "27B\or \|\or **\or \dagger\dagger
    \or \ddagger\ddagger \el...@ctrerr\fi}}
%
\def\thefootnote{\alph{footnote}}
\d...@makefnmark{{$^{\rm \...@thefnmark}$}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Page Style %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\mark{{}{}}
%
\def...@plain{%
     \l...@mkboth\@gobbletwo
    \l...@oddfoot\@empty
    \l...@evenfoot\@empty
    \d...@evenhead{\rhfont{\upshape{\thepage}}\hfill}%
    \d...@oddhead{\hfill\rhfont{\upshape{\thepage}}}}%
%
\def\RightMark{}
%
\def...@headings{%
    \l...@oddfoot\@empty
    \l...@evenfoot\@empty
    \d...@evenhead{\rhfont{\upshape{\thepage}}\hskip1em\leftmark\hfill}%
    \d...@oddhead{\hfill\rhfont\rightmark\hskip1em{\upshape{\thepage}}}%
    \l...@mkboth\markboth
    \def\authormark##1{\markboth{##1}{\RightMark}}%
    \def\chaptermark##1{\gdef\RightMark{##1}\markright{##1}}}%
    %\def\sectionmark##1{\gdef\RightMark{##1}\markright{##1}}}%
%
\def...@myheadings{%
    \l...@oddfoot\@empty\l...@evenfoot\@empty
    \d...@evenhead{\rlap{\foliofont \thepage}\hfill{\rhfont\leftmark}\hfill}%
    \d...@oddhead{\hfill{\rhfont\rightmark}\hfill{\foliofont\thepage}}%
    \l...@mkboth\@gobbletwo
    \let\chapterma...@gobble
    \let\sectionma...@gobble}
%
\def...@pblind{%
    \l...@mkboth\@gobbletwo
    \d...@evenhead{}%
    \d...@oddhead{}
    \d...@oddfoot{\hfill\mbox{\lower8pc\hbox{}}\hfill}
   \l...@evenfoot\@oddfoot}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%% Index Shortcuts %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\aindx#1{\index{author}{#1}}    %For Author index
\def\sindx#1{\index{subject}{#1}}   %For Subject index
\def\gindx#1{\index{general}{#1}}   %For General index
%
%%%%%%%%%%%%%%%%%%%%%%%% THEOREM ENVIRONMENTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\d...@xthm#1#2{\@begintheorem{#2}{\csname the#1\endcsname}{}\ignorespaces}
\d...@ythm#1#2[#3]{\@opargbegintheorem{#2}{\csname the#1\endcsname}{#3}\ignorespaces}
\d...@opargbegintheorem#1#2#3{\trivlist
      \item[\hskip \labelsep{\bfseries #1\ #2\ (#3).}]\itshape}
%
\let\Casefont\upshape%
\let\Commentfont\upshape%
\let\Conditionfont\upshape
\let\Conventionfont\upshape
\let\Criterionfont\upshape
\let\Definitionfont\upshape%
\let\Questionfont\upshape
\let\Notationfont\upshape
\let\Notefont\upshape
\let\Remarkfont\upshape
\let\Examplefont\upshape
\let\Propfont\upshape
\let\Observationfont\upshape
\let\Solutionfont\upshape
\let\Stepfont\upshape
\let\Summaryfont\upshape
\let\Algorithmfont\itshape
\let\Answerfont\itshape
\let\Assertionfont\itshape
\let\Assumptionfont\itshape
\let\Claimfont\itshape
\let\Conjecturefont\itshape
\let\Corollaryfont\itshape
\let\Lemmafont\itshape
\let\Theoremfont\itshape
\let\Problemfont\itshape
\let\Propositionfont\itshape
%
\let\Algorithmheadfont\bfseries
\let\Answerheadfont\bfseries
\let\Assertionheadfont\bfseries
\let\Assumptionheadfont\bfseries
\let\Caseheadfont\bfseries
\let\Claimheadfont\bfseries
\let\Commentheadfont\bfseries
\let\Conditionheadfont\bfseries
\let\Conjectureheadfont\bfseries
\let\Conventionheadfont\bfseries
\let\Corollaryheadfont\bfseries
\let\Criterionheadfont\bfseries
\let\Definitionheadfont\bfseries
\let\Exampleheadfont\bfseries
\let\Lemmaheadfont\bfseries
\let\Notationheadfont\bfseries
\let\Noteheadfont\bfseries
\let\Observationheadfont\bfseries
\let\Problemheadfont\bfseries
\let\Propheadfont\bfseries
\let\Propositionheadfont\bfseries
\let\Questionheadfont\bfseries
\let\Remarkheadfont\bfseries
\let\Solutionheadfont\bfseries
\let\Stepheadfont\bfseries
\let\Summaryheadfont\bfseries
\let\Theoremheadfont\bfseries
%
\d...@begintheorem#1#2#3{\par\addvspace{8pt plus3pt minus2pt}%
              \noindent{\csname#1headfont\endcsname#1\ \ignorespaces#3 #2.}%
              \csname#1font\endcsname\hskip.5em\ignorespaces}
\d...@endtheorem{\par\addvspace{8pt plus3pt minus2p...@endparenv}
%
\newtheorem{algorithm}{Algorithm}[section]
%\newtheorem{answer}{Answer}[section]
\newtheorem{assertion}{Assertion}[section]
\newtheorem{assumption}{Assumption}[section]
%\newtheorem{case}{Case}[section]
\newtheorem{claim}{Claim}[section]
%\newtheorem{comment}{Comment}[section]
\newtheorem{condition}{Condition}[section]
\newtheorem{conjecture}{Conjecture}[section]
\newtheorem{convention}{Convention}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{criterion}{Criterion}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{example}{Example}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{notation}{Notation}[section]
%\newtheorem{note}{Note}[section]
\newtheorem{observation}{Observation}[section]
\newtheorem{problem}{Problem}[section]
\newtheorem{prop}{Prop}[section]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{question}{Question}[section]
\newtheorem{remark}{Remark}[section]
%\newtheorem{solution}{Solution}[section]
%\newtheorem{step}{Step}
%\newtheorem{summary}{Summary}[section]
\newtheorem{theorem}{Theorem}[section]
%
\newenvironment{answer}[1][Answer]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newenvironment{case}[1][Case]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newenvironment{comment}[1][Comment]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newenvironment{note}[1][Note]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newenvironment{solution}[1][Solution]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newenvironment{step}[1][Step]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newenvironment{summary}[1][Summary]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1.}]}{\end{trivlist}}
%
\newif\iflogo
\def\prbox{\par
    \vskip-\lastskip\vskip-\baselineskip\hbox to \hsize{\hfill\fboxsep0pt\fbox{\phantom{\vrule width5pt height5pt depth0pt}}}\global\logofalse}
%
\newenvironment{proof}{%
    \par\addvspace{12pt plus3pt minus3pt}
   \global\logotrue
   \...@ifnextchar[{\@proof...@proof[proof]}%
   }{%
    \par\iflogo\vskip-\lastskip
    \vskip-\baselineskip\prbox\par
    \addvspace{12pt plus3pt minus3pt}\fi}
%
\d...@proof[#1]{\noindent{\normalfont\bfseries#1.}\hskip.5em\ignorespaces}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CITATIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcommand{\eref}[1]{Eq.~(\ref{#1})}
\newcommand{\sref}[1]{Sec.~\ref{#1}}
\newcommand{\cref}[1]{Chap.~\ref{#1}}
\newcommand{\fref}[1]{Fig.~\ref{#1}}
\newcommand{\tref}[1]{Table~\ref{#1}}
\newcommand{\Eref}[1]{Equation (\ref{#1})}
\newcommand{\Sref}[1]{Section~\ref{#1}}
\newcommand{\Cref}[1]{Chapter~\ref{#1}}
\newcommand{\Fref}[1]{Figure~\ref{#1}}
\newcommand{\Tref}[1]{Table~\ref{#1}}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newdimen\bibindent
\bibindent=2em
\d...@biblabel#1{#1.}
\newenvironment{thebibliography}[1]
     {\section*{\bibname}\bibfont%
      \lis...@biblabel{\arabic{enumiv}}}%
           {\settowidth\labelwidt...@biblabel{#1}}%
            \leftmargin\labelwidth
        \labelsep6pt%.33em
            \advance\leftmargin\labelsep
        \itemsep0pt\parsep0pt
            \usecounter{enumiv}%
            \renewcommand\theenumiv{\arabic{enumiv}}}%
      \sloppy\clubpenalty4000\widowpenalty4000%
      \sfcode`\...@m}
     {\d...@noitemerr
       {...@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\newcommand\newblock{}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\newcounter{appendixc}
\newcounter{subappendixc}[appendixc]
\newcounter{subsubappendixc}[subappendixc]
\renewcommand{\theappendixc}{\Alph{appendixc}}
\renewcommand{\thesubappendixc}{\Alph{appendixc}.\arabic{subappendixc}}
\renewcommand{\thesubsubappendixc}
   {\Alph{appendixc}.\arabic{subappendixc}.\arabic{subsubappendixc}}

\newcommand{\appendix}[1]{
       \vspace{14pt}
       \refstepcounter{appendixc}
       \setcounter{figure}{0}
       \setcounter{table}{0}
       \setcounter{lemma}{0}
       \setcounter{theorem}{0}
       \setcounter{corollary}{0}
       \setcounter{definition}{0}
       \setcounter{equation}{0}
       \renewcommand{\thefigure}{\Alph{appendixc}\arabic{figure}}
       \renewcommand{\thetable}{\Alph{appendixc}\arabic{table}}
       \renewcommand{\theappendixc}{\Alph{appendixc}}
       \renewcommand{\thelemma}{\Alph{appendixc}.\arabic{lemma}}
       \renewcommand{\thetheorem}{\Alph{appendixc}.\arabic{theorem}}
       \renewcommand{\thedefinition}{\Alph{appendixc}.\arabic{definition}}
       \renewcommand{\thecorollary}{\Alph{appendixc}.\arabic{corollary}}
       \renewcommand{\theequation}{\Alph{appendixc}.\arabic{equation}}
       \noindent{\sectionfont\appendixname~\theappendixc.{~\boldmath~#1}}
       \par\vspace{5p...@afterheading}

\newcommand{\subappendix}[1]{\vspace{14pt}
       \refstepcounter{subappendixc}
       \noindent{\sectionfont\appendixname~\thesubappendixc.~{~\bfseries\boldmath\itshape #1}}
       \par\vspace{8p...@afterheading}

\newcommand{\subsubappendix}[1]{\vspace{14pt}
       \refstepcounter{subsubappendixc}
       \noindent{\appendixname~\thesubsubappendixc.~{~\subsubsectionfont #1}}
       \par\vspace{8p...@afterheading}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Appendix %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\bib{B\kern-.05em{I}\kern-.025em{B}\kern-.08em}
\def\btex{B\kern-.05em{I}\kern-.025em{B}\kern-.08em\TeX}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Trim Marks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\def\draftnote{\hbox to \trimwidth{\scriptsize\sf\ \today
\quad\currenttime\hfil WSPC - Proceedings Trim Size: 9in x 6in
\quad\jobname\hfil}}%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Crop Mark %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\cropmarks{\nointerlineskip%
     \vbox to 0pt{\vskip-8.6pt
    \parindent0pt\hspace*{6pt}\draftnote
     \par\advance\trimheight by 2pc
     \vbox to \trimheight{\offinterlineskip\parindent0pt\vskip-2pc
     \hbox to \trimwidth{\raise2.6pc\hbox{\vrule height2pc width0.3pt}\raisebox{2pc}
   {\hspace*{-2.6pc}\vrule width2pc height0.3pt}\hfill\raisebox{2pc}
   {\vrule width2pc height0.3pt}\hspace*{-2.6pc}\raise2.6pc\hbox{\vrule height2pc width0.3pt}}\vfill
     \hbox to \trimwidth{\lower1.2pc\hbox{\vrule height2pc width0.3pt}\raisebox{1.4pc}
        {\hspace*{-2.6pc}\vrule width2pc height0.3pt}\hfill
    \lower1.2pc\hbox{\vrule height2pc width0.3pt}\rlap{\hspace*{0.6pc}\raisebox{1.4pc}{\vrule width2pc height0.3pt}}}}}
     \vbox to 0pt{\offinterlineskip\parindent0pt\vskip\topmargin%\vskip1.3pt
     \tempdimen\normaltextheight
     \advance\tempdimen24pt
     \moverig...@themargin
     \vbox to \tempdimen{\hrule height\draftrule
     \vbox to 0pt{\vskip\headheight\vskip\headsep%\vskip3pt
                \vrule height\draftrule width\textwidth}%
      \hbox to \textwidth{\vrule width\draftrule \hfill\vrule height\tempdimen width\draftrule}%
           \hrule height\draftrule}}}%%
%
\let\trimmarks\cropmarks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Crop Marks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Output Routine %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
\d...@outputpage{%
\begingroup           % the \endgroup is put in by \aftergroup
  \let \protect \noexpand
  \...@resetactivechars
  \let...@dischyph
  \let\'\...@acci\let\`\@accii\let...@acciii
  \let...@normalcr
  \let\par\@@par          %% 15 Sep 87
  \shipout \vbox{%
    \...@typeset@protect
    \aftergroup \endgroup
    \aftergroup \...@typeset@protect
                                % correct? or just restore by ending
                                % the group?
  \...@specialpage
    \glob...@specialpagefalse\@nameuse...@\@specialstyle}%
  \fi
  \...@twoside
    \ifodd\count\z@ \l...@thehead\@oddhead \l...@thefoot\@oddfoot
         \l...@themargin\oddsidemargin
    \else \l...@thehead\@evenhead
       \l...@thefoot\@evenfoot \l...@themargin\evensidemargin
    \fi
  \fi
  \re...@font
  \normalsize
  \baselineski...@skip \lineski...@skip \lineskiplimit\z@
    \...@begindvi\trimmarks
    \vskip \topmargin
    \moverig...@themargin \vbox {%
      \setb...@tempboxa \vbox to\headheight{%
        \vfil
        \co...@hbox
          \normalcolor
          \...@xt@\textwidth {%
            \let \label \...@gobble
            \let \index \...@gobble
            \let \glossary \...@gobble %% 21 Jun 91
            \...@thehead
            }%
        \co...@endbox
        }%                        %% 22 Feb 87
      \...@tempboxa \z@
      \b...@tempboxa
      \vskip \headsep
      \b...@outputbox
      \baselineskip \footskip
      \co...@hbox
        \normalcolor
        \...@xt@\textwidth{%
          \let \label \...@gobble
          \let \index \...@gobble      %% 22 Feb 87
          \let \glossary \...@gobble   %% 21 Jun 91
          \...@thefoot
          }%
      \co...@endbox
      }%
    }%
\global \...@colht \textheight
\stepcounter{page}%
\let\firstmark\botmark
}
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Process Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\pagestyle{headings}
\pagenumbering{arabic}
\onecolumn
\frenchspacing
\flushbottom
\def\sloppy{\tolerance=100000\hfuzz=\maxdimen \vfuzz=\maxdimen}
\sloppy
\vbadness=12000
\hbadness=12000
\usepackage{amsfonts,amssymb,amsmath}
\usepackage[figuresright]{rotating}
\usepackage{dcolumn,url}
\usepackage{chapterbib}
\usepackage[super,nospace]{cite}
\let\refcite\citen
\endinput
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End of file %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%      For technical support please email: [email protected]
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Pgfplots-features mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to