1 %% This is file `sunil.cls', modified version of `Book.cls'
3 %%% Created by Shashi Kumar / ITC [August 2008]
6 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
9 Standard LaTeX document class]
15 \newif\if@mainmatter \@mainmattertrue
16 \if@compatibility\else
17 \DeclareOption{a4paper}
18 {\setlength\paperheight {297mm}%
19 \setlength\paperwidth {210mm}}
20 \DeclareOption{a5paper}
21 {\setlength\paperheight {210mm}%
22 \setlength\paperwidth {148mm}}
23 \DeclareOption{b5paper}
24 {\setlength\paperheight {250mm}%
25 \setlength\paperwidth {176mm}}
26 \DeclareOption{letterpaper}
27 {\setlength\paperheight {11in}%
28 \setlength\paperwidth {8.5in}}
29 \DeclareOption{legalpaper}
30 {\setlength\paperheight {14in}%
31 \setlength\paperwidth {8.5in}}
32 \DeclareOption{executivepaper}
33 {\setlength\paperheight {10.5in}%
34 \setlength\paperwidth {7.25in}}
35 \DeclareOption{landscape}
36 {\setlength\@tempdima {\paperheight}%
37 \setlength\paperheight {\paperwidth}%
38 \setlength\paperwidth {\@tempdima}}
41 \renewcommand\@ptsize{0}
43 \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
45 \DeclareOption{11pt}{\renewcommand\@ptsize{1}}
46 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
47 \if@compatibility\else
48 \DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
50 \DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
51 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
52 \if@compatibility\else
53 \DeclareOption{final}{\setlength\overfullrule{0pt}}
55 \DeclareOption{titlepage}{\@titlepagetrue}
56 \if@compatibility\else
57 \DeclareOption{notitlepage}{\@titlepagefalse}
62 \DeclareOption{openright}{\@openrighttrue}
63 \DeclareOption{openany}{\@openrightfalse}
65 \if@compatibility\else
66 \DeclareOption{onecolumn}{\@twocolumnfalse}
68 \DeclareOption{twocolumn}{\@twocolumntrue}
69 \DeclareOption{leqno}{\input{leqno.clo}}
70 \DeclareOption{fleqn}{\input{fleqn.clo}}
71 \DeclareOption{openbib}{%
73 \renewcommand\@openbib@code{%
74 \advance\leftmargin\bibindent
75 \itemindent -\bibindent
76 \listparindent \itemindent
79 \renewcommand\newblock{\par}}%
81 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
83 \DeclareOption{numbysec}{\@numbysectrue}
84 \newif\if@numberinsequence
85 \DeclareOption{numberinsequence}{\@numberinsequencetrue}
86 \newif\if@nocaptionbreak
87 \DeclareOption{NoCaptionBreak}{\@nocaptionbreaktrue}
89 \DeclareOption{sevenbyten}{\@sevenbytentrue}
91 \DeclareOption{cip}{\@ciptrue}
93 \DeclareOption{times}{\@timestrue}
95 \DeclareOption{chapnumonly}{\@chapnumonlytrue}
96 \newif\if@ChapterResetsPage
97 \DeclareOption{ChapterResetsPage}{\@ChapterResetsPagetrue}
99 \DeclareOption{ChapterTOCs}{\@ChapterTOCstrue}
101 \DeclareOption{EOCRefs}{\@EOCRefstrue}%
102 \newif\if@SuperscriptCites
103 \DeclareOption{SuperscriptCites}{\@SuperscriptCitestrue}%
104 \newif\if@UnnumberedReferences
105 \DeclareOption{UnnumberedReferences}{\@UnnumberedReferencestrue}%
107 \DeclareOption{pdf}{\@pdftrue}
108 \DeclareOption{sunil1}{\@sunilatrue}
110 \DeclareOption{sunil2}{\@sunilbtrue}
112 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
115 \ExecuteOptions{letterpaper,10pt,twoside,onecolumn,final,openright}
122 \DeclareFontFamily{T1}{helvetica}{}%
123 \DeclareFontShape{T1}{helvetica}{m}{n}{<->s*[\helv@scale]phvr8t}{}%
124 \DeclareFontShape{T1}{helvetica}{m}{it}{<->s*[\helv@scale]phvro8t}{}%
125 \DeclareFontShape{T1}{helvetica}{m}{sc}{<->s*[\helv@scale]phvrc8t}{}%
126 \DeclareFontShape{T1}{helvetica}{b}{n}{<->s*[\helv@scale]phvb8t}{}%
127 \DeclareFontShape{T1}{helvetica}{b}{it}{<->s*[\helv@scale]phvbo8t}{}%
128 \DeclareFontShape{T1}{helvetica}{m}{sl}{<->s*[\helv@scale]phvro8t}{}%
129 \DeclareFontShape{T1}{helvetica}{b}{sc}{<->s*[\helv@scale]phvbc8t}{}%
130 \DeclareFontShape{T1}{helvetica}{b}{sl}{<->s*[\helv@scale]phvbo8t}{}%
131 \DeclareFontShape{T1}{helvetica}{bx}{n}{<->s*[\helv@scale]phvb8t}{}%
132 \DeclareFontShape{T1}{helvetica}{bx}{it}{<->s*[\helv@scale]phvbo8t}{}%
133 \DeclareFontShape{T1}{helvetica}{bx}{sc}{<->s*[\helv@scale]phvbc8t}{}%
134 \DeclareFontShape{T1}{helvetica}{bx}{sl}{<->ssub * helvetica/b/it}{}%
136 \DeclareFontFamily{OT1}{helvetica}{}%
137 \DeclareFontShape{OT1}{helvetica}{m}{n}{<->s*[\helv@scale]phvr7t}{}%
138 \DeclareFontShape{OT1}{helvetica}{m}{it}{<->s*[\helv@scale]phvro7t}{}%
139 \DeclareFontShape{OT1}{helvetica}{m}{sc}{<->s*[\helv@scale]phvrc7t}{}%
140 \DeclareFontShape{OT1}{helvetica}{b}{n}{<->s*[\helv@scale]phvb7t}{}%
141 \DeclareFontShape{OT1}{helvetica}{b}{it}{<->s*[\helv@scale]phvbo7t}{}%
142 \DeclareFontShape{OT1}{helvetica}{m}{sl}{<->s*[\helv@scale]phvro7t}{}%
143 \DeclareFontShape{OT1}{helvetica}{b}{sc}{<->s*[\helv@scale]phvbc8t}{}%
144 \DeclareFontShape{OT1}{helvetica}{b}{sl}{<->s*[\helv@scale]phvbo7t}{}%
145 \DeclareFontShape{OT1}{helvetica}{bx}{n}{<->s*[\helv@scale]phvb7t}{}%
146 \DeclareFontShape{OT1}{helvetica}{bx}{it}{<->s*[\helv@scale]phvbo7t}{}%
147 \DeclareFontShape{OT1}{helvetica}{bx}{sc}{<->s*[\helv@scale]phvbc8t}{}%
148 \DeclareFontShape{OT1}{helvetica}{bx}{sl}{<->s*[\helv@scale]phvbo7t}{}%
150 %%%%%%%%%%%%%%%%%%%%%
153 \input{bk1\@ptsize.clo}
154 \setlength\lineskip{1\p@}
155 \setlength\normallineskip{1\p@}
156 \renewcommand\baselinestretch{}
157 \setlength\parskip{0\p@ \@plus \p@}
161 \@beginparpenalty -\@lowpenalty
162 \@endparpenalty -\@lowpenalty
163 \@itempenalty -\@lowpenalty
165 \clubpenalty=0 % 'Club line' at bottom of page.
166 \widowpenalty=10000 % 'Widow line' at top of page.
167 \setcounter{topnumber}{2}
168 \renewcommand\topfraction{.7}
169 \setcounter{bottomnumber}{1}
170 \renewcommand\bottomfraction{.3}
171 \setcounter{totalnumber}{3}
172 \renewcommand\textfraction{.2}
173 \renewcommand\floatpagefraction{.5}
174 \setcounter{dbltopnumber}{2}
175 \renewcommand\dbltopfraction{.7}
176 \renewcommand\dblfloatpagefraction{.5}
178 % ****************************************
180 % ****************************************
182 % All margin dimensions measured from a point one inch from top and side
187 \oddsidemargin 6pc %5pc
188 \evensidemargin 5.7pc %5pc
199 \newdimen\normaltextheight
203 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Parameter Initializaton %%%%%%%%%%%%%%%%%%%%%%%%%%
209 \setlength\trimheight{9in}
210 \setlength\trimwidth{6in}
214 \textheight = 45\baselineskip
215 %\advance\textheight by \topskip
216 \addtolength\textheight{3pt}
218 \addtolength\textwidth{.5pt}
220 \oddsidemargin1.1875in
221 \evensidemargin1.1875in
227 \let\normaltextheight\textheight
230 % \advance\textheight by \topskip
240 \let\normaltextheight\textheight
242 \textheight = 43\baselineskip
243 %\advance\textheight by \topskip
244 \addtolength\textheight{3pt}
246 \addtolength\textwidth{.5pt}
248 \oddsidemargin1.1875in
249 \evensidemargin1.1875in
255 \let\normaltextheight\textheight
265 \skip\footins 12pt plus 3pt minus 1.5pt
268 %%%% Trim marks %%%%%%%%%%%
273 \def\top@cornermarks{%
275 \vbox to 0\p@{\vskip-\vtrimtop\llap{\copy\ul@box}\vss}%
276 \vbox to 0\p@{\vskip-\vtrimtop\rlap{\hskip\textwidth\hskip2\htrim\copy\ur@box}\vss}%
277 \vbox to 0\p@{\vskip\textheight\vskip\vtrimbot\llap{\copy\ll@box}\vss}%
278 \vbox to 0\p@{\vskip\textheight\vskip\vtrimbot\rlap{\hskip\textwidth\hskip2\htrim\copy\lr@box}\vss}%
280 \def\make@cornermarks{%
281 \sbox\ul@box{\rule{18\p@}{.25\p@}\hskip8\p@\hbox to.25\p@{\vbox to26\p@{\noindent\rule{.25\p@}{18\p@}}}}%
282 \sbox\ur@box{\hbox to.25\p@{\vbox to26\p@{\noindent\rule{.25\p@}{18\p@}}}\hskip8\p@\rule{18\p@}{.25\p@}}%
283 \sbox\ll@box{\rule{18\p@}{.25\p@}\hskip8\p@\lower34\p@\hbox to.25\p@{\vbox to26\p@{\noindent\rule{.25\p@}{18\p@}}}}%
284 \sbox\lr@box{\lower34\p@\hbox to.25\p@{\vbox to26\p@{\noindent\rule{.25\p@}{18\p@}}}\hskip8\p@\rule{18\p@}{.25\p@}}}
286 %%%%%%%%%%%%%%%%%%%% End Trim Marks %%%%%%%%%%%%
289 \def\ps@plain{\let\@mkboth\@gobbletwo
290 \let\@oddhead\top@cornermarks%\@empty
291 \def\@oddfoot{\reset@font\hfil\thepage
292 \hfil}\let\@evenhead\@empty\let\@evenfoot\@oddfoot}
298 {\@the@page\RunningHeadFont
304 \hfil{\RunningHeadFont
310 \def\@the@page{{\PageNumFont\thepage}}
315 \let\@mkboth\@gobbletwo
317 \let\@evenhead\@empty
319 \def\@oddfoot{\@cip\hfil}%
320 \def\@evenfoot{\@cip\hfil}%
323 \let\@evenfoot\@empty
324 \let\@evenhead\even@head
325 \let\@oddhead\odd@head
329 \def\ps@headings{\let\@mkboth\@gobbletwo%
331 \let\@evenhead\@empty
333 \def\@oddfoot{\@cip\hfil}%
334 \def\@evenfoot{\@cip\hfil}%
337 \let\@evenfoot\@empty
338 \let\@evenhead\even@head
339 \let\@oddhead\odd@head
344 \let\@oddfoot\@empty\let\@evenfoot\@empty
345 \def\@evenhead{\thepage\hfil\slshape\leftmark}%
346 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
347 \let\@mkboth\@gobbletwo
348 \let\chaptermark\@gobble
349 \let\sectionmark\@gobble
352 \let\@mkboth\@gobbletwo
354 \let\@evenhead\@empty
356 \def\@oddfoot{\@cip\hfil}%
357 \def\@evenfoot{\@cip\hfil}%
360 \let\@oddhead\top@cornermarks
361 \let\@evenhead\top@cornermarks
363 \let\@evenfoot\@empty
367 \let\@mkboth\@gobbletwo
369 \let\@evenhead\@empty
371 \def\@oddfoot{\@cip\hfil}%
372 \def\@evenfoot{\@cip\hfil}%
374 \let\@oddhead\top@cornermarks
379 \textwidth\@ciprulewidth
381 \if@cip\rule{\@ciprulewidth}{.25pt}\par
382 \hbox{\vbox{\noindent\copy\@cipboxa\par\noindent\copy\@cipboxb}}\fi}}
384 \let\@evenhead\top@cornermarks%\odd@head
385 \let\@evenfoot\@oddfoot
388 \newcommand\HeadingsBookChapter{%
389 \def\chaptermark##1{%
392 \def\sectionmark##1{}}
393 \def\HeadingsChapterSection{%
394 \def\chaptermark##1{%
397 \def\sectionmark##1{%
400 \def\pdfon{\@pdftrue}
401 \def\pdfoff{\@pdffalse}
403 \def\@cip{{\fontsize{6\p@}{8\p@}\selectfont\copyright 2001 by CRC Press LLC}}
407 \newdimen\@ciprulewidth
409 \sbox\@cipboxa{\fontsize{6\p@}{8\p@}\selectfont #1}%
410 \sbox\@cipboxb{\fontsize{6\p@}{8\p@}\selectfont #2}%
411 \@ciprulewidth\wd\@cipboxa
412 \ifnum\@ciprulewidth<\wd\@cipboxb\@ciprulewidth\wd\@cipboxb\fi}%
417 \@cip{\rule{0pt}{9pt}0-8493-0052-5/00/\$0.00+\$.50}%
418 {\copyright\ \ 2001 by CRC Press LLC}}%
421 \newcommand\maketitle{\begin{titlepage}%
422 \let\footnotesize\small
423 \let\footnoterule\relax
424 \let \footnote \thanks
425 {\parindent \z@ \raggedright \baselineskip \z@ \lineskip \z@ \parskip \z@
428 {\baselineskip 10bp\lineskip 10bp\NameFont\uppercase{\@author}\par}
430 \AffiliationFont \@affiliation
434 {\baselineskip 24bp\lineskip 24bp\TitlePageTitleFont\@title\par}}}
438 \setcounter{footnote}{0}%
439 \global\let\thanks\relax
440 \global\let\maketitle\relax
441 \global\let\@thanks\@empty
442 \global\let\@author\@empty
443 \global\let\@date\@empty
444 % \global\let\@title\@empty
445 \global\let\title\relax
446 \global\let\author\relax
447 \global\let\date\relax
448 \global\let\and\relax
451 \newcommand\maketitle{\par
453 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
454 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
455 \long\def\@makefntext##1{\parindent 1em\noindent
457 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
459 \ifnum \col@number=\@ne
462 \twocolumn[\@maketitle]%
466 \global\@topnum\z@ % Prevents figures from going at top of page.
469 \thispagestyle{empty}\@thanks
471 \setcounter{footnote}{0}%
472 \global\let\thanks\relax
473 \global\let\maketitle\relax
474 \global\let\@maketitle\relax
475 \global\let\@thanks\@empty
476 \global\let\@author\@empty
477 \global\let\@date\@empty
478 \global\let\@title\@empty
479 \global\let\title\relax
480 \global\let\author\relax
481 \global\let\date\relax
482 \global\let\and\relax
488 {\parindent \z@ \raggedright \baselineskip \z@ \lineskip \z@ \parskip \z@
491 {\baselineskip 10bp\lineskip 10bp\NameFont\uppercase{\@author}\par}
493 \AffiliationFont \@affiliation
497 {\baselineskip 24bp\lineskip 24bp\TitlePageTitleFont\@title\par}}}
502 %%%%%%%%%%%%%% Font Defined %%%%%%%%%%%%%%%%%
508 \newcommand\SectionHeadFont{\fontsize{12}{14}\bfseries\selectfont}
509 \newcommand\SubsectionHeadFont{\fontsize{11}{13}\bfseries\selectfont}
510 \newcommand\SubsubsectionHeadFont{\fontsize{10}{12}\bfseries\selectfont}
511 \newcommand\PageNumFont{\fontsize{10}{12}\selectfont}
512 \newcommand\ChapNumFont{\fontsize{24}{24}\slshape\bfseries\selectfont}
513 \newcommand\ChapTitleFont{\fontsize{18}{20}\slshape\bfseries\selectfont}
514 \newcommand\FMHeadFont{\fontsize{18}{20}\slshape\bfseries\selectfont}
515 \newcommand\RunningHeadFont{\fontsize{10}{12}\itshape\selectfont}
516 \newcommand\NameFont{\fontsize{10}{12}\itshape\selectfont}
517 \newcommand\AffiliationFont{\fontsize{8}{10}\selectfont}
518 \newcommand\TitlePageTitleFont{\fontsize{24}{28}\slshape\bfseries\selectfont}
519 \newcommand\FigCapFont{\fontsize{10}{12}\bfseries\selectfont}
520 \newcommand\TableColHeadFont{\fontsize{10}{12}\bfseries\selectfont}
521 \newcommand\TableTitleFont{\fontsize{10}{12}\selectfont}
522 \newcommand\TableNumberFont{\fontsize{11}{13}\bfseries\selectfont}
523 \newcommand\TableBodyFont{\fontsize{9}{11}\bfseries\selectfont}
524 \newcommand\CAPlusOneFont{\fontsize{10}{12}\bfseries\selectfont}
525 \newcommand\CAAPlusOneFont{\fontsize{10}{12}\itshape\selectfont}
526 \newcommand\tocfont{\fontsize{10}{12}\selectfont}
527 \newcommand\extraFont{\fontsize{24}{28}\selectfont}
528 \newcommand\VfFont{\fontsize{10.5}{12.5}\selectfont}
531 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
534 \newcommand*\chaptermark[1]{}
535 \setcounter{secnumdepth}{3}
537 \newcounter {chapter}
538 \newcounter {section}[chapter]
539 \newcounter {subsection}[section]
540 \newcounter {subsubsection}[subsection]
541 \newcounter {paragraph}[subsubsection]
542 \newcounter {subparagraph}[paragraph]
543 \renewcommand \thepart {\@Roman\c@part}
544 \renewcommand \thechapter {\@arabic\c@chapter}
545 \renewcommand \thesection {\thechapter.\@arabic\c@section}
546 \renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
547 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
548 \renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
549 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
550 \newcommand\@chapapp{\chaptername}
551 \newcommand\frontmatter{%
554 \pagenumbering{roman}}
555 \newcommand\mainmatter{%
558 \pagenumbering{arabic}}
559 \newcommand\backmatter{%
566 \newcommand\part{\make@cornermarks%
572 \thispagestyle{plain}%
580 \secdef\@part\@spart}
583 \ifnum \c@secnumdepth >-2\relax
584 \refstepcounter{part}%
585 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
587 \addcontentsline{toc}{part}{#1}%
591 \interlinepenalty \@M
593 \ifnum \c@secnumdepth >-2\relax
594 \huge\bfseries \partname\nobreakspace\thepart
598 \Huge \bfseries #2\par}%
602 \interlinepenalty \@M
604 \Huge \bfseries #1\par}%
606 \def\@endpart{\vfil\newpage
610 \thispagestyle{empty}%
620 \def\secnumwidth{21pt}\def\subsecnumwidth{30pt}\def\ssubsecnumwidth{36pt}\fi
621 \long\def\@trplarg#1{\@ifnextchar[{\@xtrplarg{#1}}{\@ztrplarg{#1}}}
622 \long\def\@xtrplarg#1[#2]{\@ifnextchar[{#1[#2]}{\@ytrplarg{#1}[{#2}]}}
623 \long\def\@ytrplarg#1[#2]#3{#1[{#2}][{#2}]{#3}}
624 \long\def\@ztrplarg#1#2{#1[{#2}][{#2}]{#2}}
627 \newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
630 \if@ChapterTOCs\if@filesw\immediate\closeout\@chaptoc\fi\fi
631 \pagestyle{headings}%
632 \thispagestyle{folio}%
633 \if@ChapterResetsPage\global\c@page\@ne\fi
635 \gdef\chapterauthor{\@ca}%
636 \gdef\endchapterauthors{\end@cas}%
638 % \secdef\@chapter\@schapter
639 \@ifstar{\@schapter}{\@trplarg{\@chapter}}}
642 \def\@chapter[#1][#2]#3{%
643 \ifnum\c@secnumdepth>\m@ne
645 \refstepcounter{chapter}%
646 \typeout{\@chapapp\space\thechapter.}%
647 \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
649 \addcontentsline{toc}{chapter}{#1}\fi
651 \addcontentsline{toc}{chapter}{#1}\fi
654 \addtocontents{lof}{\protect\addvspace{10\p@}}%
655 \addtocontents{lot}{\protect\addvspace{10\p@}}%
657 \@topnewpage[\@makechapterhead{#3}]%
659 \@makechapterhead{#3}%
661 \if@ChapterTOCs\if@filesw\immediate\openout\@chaptoc\thechapter.toc\fi\fi
663 \def\@makechapterhead#1{%
664 {\parindent \z@ \raggedright \baselineskip \z@ \lineskip \z@ \parskip \z@
675 {\baselineskip 20\p@\lineskip 20\p@\ChapTitleFont #1\par}%
682 \def\theequation{\thechapter.\arabic{equation}}}%
685 \def\@schapter#1{\if@twocolumn
686 \@topnewpage[\@makeschapterhead{#1}]%
688 \@makeschapterhead{#1}%
692 \def\@makeschapterhead#1{%
693 {\parindent \z@ \raggedright \baselineskip 6\p@ \lineskip \z@ \parskip \z@
700 \def\theequation{\thechapter.\arabic{equation}}}
702 \def\@startsection#1#2#3#4#5#6{%
703 \if@noskipsec\leavevmode\fi
707 \ifdim \@tempskipa <\z@
708 \@tempskipa -\@tempskipa \@afterindentfalse
713 \addpenalty\@secpenalty\addvspace\@tempskipa
716 {\@ssect{#1}{#3}{#4}{#5}{#6}}%
717 {\@trplarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
718 \def\@ssect#1#2#3#4#5#6{%
720 \ifdim \@tempskipa>\z@
723 \@hangfrom{\hskip #2}%
724 \interlinepenalty \@M #6\@@par}%
726 \csname #1mark\endcsname{#6}%
728 \def\@svsechd{#5{\hskip #2\relax #6}\csname #1mark\endcsname{#6}}%
731 \def\@sect#1#2#3#4#5#6[#7][#8]#9{%
732 \ifnum #2>\c@secnumdepth
736 \protected@edef\@svsec{\@seccntformat{#1}\relax}%
739 \ifdim \@tempskipa>\z@
742 \@hangfrom{\hskip #3\relax\@svsec}\interlinepenalty \@M %
745 \csname #1mark\endcsname{%
747 \addcontentsline{toc}{#1}{%
748 \ifnum #2>\c@secnumdepth \else
749 \protect\numberline{\csname the#1\endcsname}%
756 \csname #1mark\endcsname{%
758 \addcontentsline{toc}{#1}{%
759 \ifnum #2>\c@secnumdepth \else
760 \protect\numberline{\csname the#1\endcsname}%
766 \newcommand\section{%
767 \gdef\chapterauthor{\@caplusone}%
768 \gdef\endchapterauthors{\end@casplusone}%
769 \@ifstar{\@ssection}{\@trplarg{\@section}}}
772 \myaddcontentsline{\@chaptoc}{chapsection}{\string\makebox[\secnumwidth][l]{}#1}\fi
773 \@startsection{section}{1}{\z@}{30\p@}{6\p@}{\sec@rule\nopagebreak\vskip13.5\p@\nopagebreak\SectionHeadFont}*{#1}}
774 \def\@section[#1][#2]#3{%
776 \addtocounter{section}{1}%
777 \myaddcontentsline{\@chaptoc}{chapsection}{\string\makebox[\secnumwidth][l]{\thesection}#1}%
778 \addtocounter{section}{-1}\fi
779 \@startsection{section}{1}{\z@}{30\p@}{6\p@}{\sec@rule\nopagebreak\vskip13.5\p@\nopagebreak\SectionHeadFont}[#2]{#3}}
780 \def\sectionauthor#1{\hfill{\ChapTOCAuthorFont #1}}
782 \newcommand\subsection{\@ifstar{\@ssubsection}{\@trplarg{\@subsection}}}
783 \def\@ssubsection#1{%
785 \myaddcontentsline{\@chaptoc}{chapsubsection}{\string\makebox[\subsecnumwidth][l]{}#1}\fi
786 \@startsection{subsection}{2}{\z@}{18\p@}{6\p@}{%
787 \SubsectionHeadFont}*{#1}}
788 \def\@subsection[#1][#2]#3{%
790 \addtocounter{subsection}{1}%
791 \myaddcontentsline{\@chaptoc}{chapsubsection}{\string\makebox[\subsecnumwidth][l]{\thesubsection}#1}%
792 \addtocounter{subsection}{-1}\fi
793 \@startsection{subsection}{2}{\z@}{18\p@}{6\p@}{%
794 \SubsectionHeadFont}[#2]{#3}}
796 \newcommand\subsubsection{\@ifstar{\@ssubsubsection}{\@trplarg{\@subsubsection}}}
797 \def\@ssubsubsection#1{%
799 \myaddcontentsline{\@chaptoc}{chapsubsubsection}{\string\makebox[\subsecnumwidth][l]{}#1}\fi
800 \@startsection{subsubsection}{3}{\z@}{12\p@}{6\p@}{%
801 \SubsubsectionHeadFont}*{#1}}
802 \def\@subsubsection[#1][#2]#3{%
804 \addtocounter{subsubsection}{1}%
805 \myaddcontentsline{\@chaptoc}{chapsubsubsection}{\hskip21pt\string\makebox[\ssubsecnumwidth][l]{\thesubsubsection}#1}%
806 \addtocounter{subsubsection}{-1}\fi
807 \@startsection{subsubsection}{3}{\z@}{12\p@}{6\p@}{%
808 \SubsubsectionHeadFont}[#2]{#3}}
812 \setlength\leftmargini {2em}
814 \setlength\leftmargini {2.5em}
816 \leftmargin \leftmargini
817 \setlength\leftmarginii {2.2em}
818 \setlength\leftmarginiii {1.87em}
819 \setlength\leftmarginiv {1.7em}
821 \setlength\leftmarginv {.5em}
822 \setlength\leftmarginvi {.5em}
824 \setlength\leftmarginv {1em}
825 \setlength\leftmarginvi {1em}
827 \setlength \labelsep {.5em}
828 \setlength \labelwidth{\leftmargini}
829 \addtolength\labelwidth{-\labelsep}
830 \@beginparpenalty -\@lowpenalty
831 \@endparpenalty -\@lowpenalty
832 \@itempenalty -\@lowpenalty
833 \renewcommand\theenumi{\@arabic\c@enumi}
834 \renewcommand\theenumii{\@alph\c@enumii}
835 \renewcommand\theenumiii{\@roman\c@enumiii}
836 \renewcommand\theenumiv{\@Alph\c@enumiv}
837 \newcommand\labelenumi{\theenumi.}
838 \newcommand\labelenumii{(\theenumii)}
839 \newcommand\labelenumiii{\theenumiii.}
840 \newcommand\labelenumiv{\theenumiv.}
841 \renewcommand\p@enumii{\theenumi}
842 \renewcommand\p@enumiii{\theenumi(\theenumii)}
843 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
844 \newcommand\labelitemi{\textbullet}
845 \newcommand\labelitemii{\normalfont\bfseries \textendash}
846 \newcommand\labelitemiii{\textasteriskcentered}
847 \newcommand\labelitemiv{\textperiodcentered}
848 \newenvironment{description}
849 {\list{}{\labelwidth\z@ \itemindent-\leftmargin
850 \let\makelabel\descriptionlabel}}
852 \newcommand*\descriptionlabel[1]{\hspace\labelsep
853 \normalfont\bfseries #1}
854 \newenvironment{verse}
858 \listparindent\itemindent
859 \rightmargin \leftmargin
860 \advance\leftmargin 1.5em}%
863 \newenvironment{quotation}
864 {\list{}{\listparindent 1.5em%
865 \itemindent \listparindent
866 \rightmargin \leftmargin
867 \parsep \z@ \@plus\p@}%
870 \newenvironment{quote}
871 {\list{}{\rightmargin\leftmargin}%
875 \newenvironment{titlepage}
879 \@restonecoltrue\onecolumn
881 \@restonecolfalse\newpage
883 \thispagestyle{empty}%
886 {\if@restonecol\twocolumn \else \newpage \fi
889 \newenvironment{titlepage}
893 \@restonecoltrue\onecolumn
895 \@restonecolfalse\newpage
897 \thispagestyle{empty}%
898 \setcounter{page}\@ne
900 {\if@restonecol\twocolumn \else \newpage \fi
902 \setcounter{page}\@ne
906 \newcommand\appendix{\par
907 \setcounter{chapter}{0}%
908 \setcounter{section}{0}%
909 \gdef\@chapapp{\appendixname}%
910 \gdef\thechapter{\@Alph\c@chapter}}
911 \setlength\arraycolsep{5\p@}
912 \setlength\tabcolsep{6\p@}
913 \setlength\arrayrulewidth{.4\p@}
914 \setlength\doublerulesep{2\p@}
915 \setlength\tabbingsep{\labelsep}
916 \skip\@mpfootins = \skip\footins
917 \setlength\fboxsep{3\p@}
918 \setlength\fboxrule{.4\p@}
919 \@addtoreset {equation}{chapter}
920 \renewcommand\theequation
921 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
922 \newcounter{figure}[chapter]
923 \renewcommand \thefigure
924 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
928 \def\fnum@figure{\figurename\nobreakspace\thefigure}
929 \newenvironment{figure}
932 \newenvironment{figure*}
935 \newcounter{table}[chapter]
936 \renewcommand \thetable
937 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
941 \def\fnum@table{\tablename\nobreakspace\thetable}
942 \newenvironment{table}
945 \newenvironment{table*}
948 \newlength\abovecaptionskip
949 \newlength\belowcaptionskip
950 \setlength\abovecaptionskip{10\p@}
951 \setlength\belowcaptionskip{0\p@}
952 \long\def\@makecaption#1#2{%
953 \vskip\abovecaptionskip
954 \sbox\@tempboxa{#1: #2}%
955 \ifdim \wd\@tempboxa >\hsize
956 {\FigCapFont #1}: #2\par
958 \global \@minipagefalse
959 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
961 \vskip\belowcaptionskip}
962 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
963 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
964 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
965 \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
966 \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
967 \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
968 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
969 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
970 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
971 \newcommand\@pnumwidth{1.55em}
972 \newcommand\@tocrmarg{2.55em}
973 \newcommand\@dotsep{4.5}
974 \setcounter{tocdepth}{3}
977 \newcounter{numauthors}
979 \newif\if@firstauthor
980 \newcommand\tableofcontents{%
982 \@restonecoltrue\onecolumn
986 \chapter*{\contentsname
988 \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
990 \let\author\toc@author
996 \if@restonecol\twocolumn\fi
1000 \addpenalty{-\@highpenalty}%
1004 \parindent\z@\rightskip\@pnumwidth
1005 \parfillskip-\rightskip
1008 \advance\leftskip\@tempdima
1013 \hfil\nobreak\hb@xt@\@pnumwidth{\hss #2}%
1016 \penalty\@highpenalty\endgroup}
1022 \gdef\toc@draw{\draw@part{\large #1}{\large #2}}}
1025 \def\l@chapter#1#2{%
1027 \gdef\toc@draw{\draw@chapter{#1}{#2}}}
1028 \def\@pnumwidth{1.8em}
1029 \def\draw@chapter#1#2{%
1030 \addpenalty{-\@highpenalty}%
1034 \parindent\z@\rightskip\@pnumwidth
1035 \parfillskip-\rightskip
1038 \advance\leftskip\@tempdima
1043 \hfil\nobreak\hb@xt@\@pnumwidth{\hss #2}%
1047 \penalty\@highpenalty\endgroup}
1048 \def\toc@author#1#2{%
1052 \ifx\@authors\@empty
1053 \xdef\@authors{\last@author}%
1055 \@cons{\@authors}{, \last@author}\fi\fi
1056 \stepcounter{numauthors}%
1057 %%%%%%% commented and deleted below the second part to aviod inaccessible error % shashi % September-2008
1058 %% \gdef\last@author{#1 {\rm\fontsize{9\p@}{11\p@}\selectfont #2}}
1059 \gdef\last@author{#1}
1064 \let\@t\last@author\fi
1067 \ifx\@authors\@empty
1070 \ifnum\c@numauthors>2,\fi
1073 \last@author\break\fi
1075 \def\reset@authors{%
1077 \gdef\last@author{}%
1079 \setcounter{numauthors}{0}}
1080 \newlength\section@toc@skip
1081 \section@toc@skip1.5em
1082 \newlength\SectionTOCWidth
1083 \SectionTOCWidth2.3em
1084 \def\l@section#1#2{%
1086 \gdef\toc@draw{\draw@section{#1}{#2}}}
1087 \def\draw@section#1#2{%
1088 \@dottedtocline{1}{\section@toc@skip}{\SectionTOCWidth}{#1 }{{
1090 \newlength\subsection@toc@skip
1091 \subsection@toc@skip\section@toc@skip
1092 \advance\subsection@toc@skip\SectionTOCWidth
1093 \newlength\SubSectionTOCWidth
1094 \SubSectionTOCWidth3.2em
1095 \def\l@subsection#1#2{%
1097 \gdef\toc@draw{\draw@subsection{#1}{#2}}}
1098 \def\draw@subsection#1#2{%
1099 \@dottedtocline{2}{\subsection@toc@skip}{\SubSectionTOCWidth}{#1}{{
1101 \newlength\subsubsection@toc@skip
1102 \subsubsection@toc@skip\subsection@toc@skip
1103 \advance\subsubsection@toc@skip\SubSectionTOCWidth
1104 \newlength\SubSubSectionTOCWidth
1105 \SubSubSectionTOCWidth4.1em
1106 \def\l@subsubsection#1#2{%
1108 \gdef\toc@draw{\draw@subsubsection{#1}{#2}}}
1109 \def\draw@subsubsection#1#2{%
1110 \@dottedtocline{3}{\subsubsection@toc@skip}{\SubSubSectionTOCWidth}{#1}{{
1112 \newlength\paragraph@toc@skip
1113 \paragraph@toc@skip\subsubsection@toc@skip
1114 \advance\paragraph@toc@skip\SubSubSectionTOCWidth
1115 \newlength\ParagraphTOCWidth
1116 \ParagraphTOCWidth4.1em
1117 \def\l@paragraph#1#2{%
1119 \gdef\toc@draw{\draw@paragraph{#1}{#2}}}
1120 \def\draw@paragraph#1#2{%
1121 \@dottedtocline{4}{\paragraph@toc@skip}{\ParagraphTOCWidth}{#1}{{
1123 \newlength\subparagraph@toc@skip
1124 \subparagraph@toc@skip\paragraph@toc@skip
1125 \advance\subparagraph@toc@skip\ParagraphTOCWidth
1126 \def\l@subparagraph#1#2{%
1128 \gdef\toc@draw{\draw@subparagraph{#1}{#2}}}
1129 \def\draw@subparagraph#1#2{%
1130 \@dottedtocline{5}{\subparagraph@toc@skip}{6em}{#1}{{
1133 \def\@dottedtocline#1#2#3#4#5{%
1134 \ifnum #1>\c@tocdepth
1136 \vskip \z@ \@plus.2\p@
1137 {\leftskip #2\relax\rightskip\@tocrmarg\parfillskip-\rightskip
1138 \parindent #2\relax\@afterindenttrue
1139 \interlinepenalty\@M
1142 \advance\leftskip\@tempdima\null\hskip-\leftskip
1146 \leaders\hbox{$\m@th\mkern\@dotsep mu\hbox{.}\mkern\@dotsep mu$}\hfill
1148 \hb@xt@\@pnumwidth{\hfil\normalfont\normalcolor #5}%
1152 \newcommand\chapterauthors{%
1153 \def\break{\string\break\ }%
1154 \def\protect##1{\string ##1 }}
1156 \def\end@casplusone{\vskip4pt\@doendpe}
1158 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1159 \def\make@chaptoc{% chapter author
1161 \newcommand\FolioBoldFont{}%
1163 \def\bullet{\raisebox{2pt}{$\scriptscriptstyle\@b$}}%
1164 \let\SubsectionItalicFont\it
1165 %\ifx\chapter@author\@empty\else
1166 {\rm\fontsize{10\p@}{10\p@}\bfseries\selectfont
1168 \ifnum\c@numauthors=1
1169 \chapter@authorone\vskip6\p@
1170 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
1172 \ifnum\c@numauthors=2
1173 \chapter@authorone\vskip6\p@
1174 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
1175 \chapter@authortwo\vskip6\p@
1176 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}
1178 \ifnum\c@numauthors=3
1179 \chapter@authorone\vskip6\p@
1180 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
1181 \chapter@authortwo\vskip6\p@
1182 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}\vskip12\p@
1183 \chapter@authorthree\vskip6\p@
1184 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationthree}
1186 \ifnum\c@numauthors=4
1187 \chapter@authorone\vskip6\p@
1188 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
1189 \chapter@authortwo\vskip6\p@
1190 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}\vskip12\p@
1191 \chapter@authorthree\vskip6\p@
1192 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationthree}\vskip12\p@
1193 \chapter@authorfour\vskip6\p@
1194 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfour}
1196 \ifnum\c@numauthors=5
1197 \chapter@authorone\vskip6\p@
1198 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
1199 \chapter@authortwo\vskip6\p@
1200 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}\vskip12\p@
1201 \chapter@authorthree\vskip6\p@
1202 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationthree}\vskip12\p@
1203 \chapter@authorfour\vskip6\p@
1204 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfour}\vskip12\p@
1205 \chapter@authorfive\vskip6\p@
1206 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfive}
1208 \ifnum\c@numauthors=6
1209 \chapter@authorone\vskip6\p@
1210 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationone}\vskip12\p@
1211 \chapter@authortwo\vskip6\p@
1212 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationtwo}\vskip12\p@
1213 \chapter@authorthree\vskip6\p@
1214 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationthree}\vskip12\p@
1215 \chapter@authorfour\vskip6\p@
1216 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfour}\vskip12\p@
1217 \chapter@authorfive\vskip6\p@
1218 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationfive}\vskip12\p@
1219 \chapter@authorsix\vskip6\p@
1220 {\it\fontsize{10\p@}{10\p@}\selectfont\chapter@affiliationsix}
1223 \gdef\chapter@authorone{}\gdef\chapter@affiliationone{}%
1224 \gdef\chapter@authortwo{}\gdef\chapter@affiliationtwo{}%
1225 \gdef\chapter@authorthree{}\gdef\chapter@affiliationthree{}%
1226 \gdef\chapter@authorfour{}\gdef\chapter@affiliationfour{}%
1227 \gdef\chapter@authorfive{}\gdef\chapter@affiliationfive{}%
1228 \gdef\chapter@authorsix{}\gdef\chapter@affiliationsix{}%
1230 {\leftskip\secnumwidth\def\author##1##2{}\@input{\thechapter.toc}\par}%
1233 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1234 \newif\iffinishedfromone
1235 \global\finishedfromonefalse
1237 \newif\iffinishedfromtwo
1238 \global\finishedfromtwofalse
1240 \newif\iffinishedfromthree
1241 \global\finishedfromthreefalse
1243 \newif\iffinishedfromfour
1244 \global\finishedfromfourfalse
1246 \newif\iffinishedfromfive
1247 \global\finishedfromfivefalse
1249 \newif\iffinishedfromsix
1250 \global\finishedfromsixfalse
1251 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1253 \newcommand\singleauthorchapter{\finishedfromonetrue}
1254 \newcommand\twoauthorchapter{\finishedfromtwotrue}
1255 \newcommand\threeauthorchapter{\finishedfromthreetrue}
1256 \newcommand\fourauthorchapter{\finishedfromfourtrue}
1257 \newcommand\fiveauthorchapter{\finishedfromfivetrue}
1258 \newcommand\sixauthorchapter{\finishedfromsixtrue}
1260 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1263 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1264 \newsavebox\@AUonebox
1265 \newsavebox\@AUtwobox
1266 \newsavebox\@AUthreebox
1267 \newsavebox\@AUfourbox
1268 \newsavebox\@AUfivebox
1269 \newsavebox\@AUsixbox
1271 \newsavebox\@AUaffonebox
1272 \newsavebox\@AUafftwobox
1273 \newsavebox\@AUaffthreebox
1274 \newsavebox\@AUafffourbox
1275 \newsavebox\@AUafffivebox
1276 \newsavebox\@AUaffsixbox
1278 \newsavebox\@finalAUboxfromone
1279 \newsavebox\@finalAUboxfromtwo
1280 \newsavebox\@finalAUboxfromthree
1281 \newsavebox\@finalAUboxfromfour
1282 \newsavebox\@finalAUboxfromfive
1283 \newsavebox\@finalAUboxfromsix
1284 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1287 % \def\chapter@author{#1}%
1288 % \def\chapter@affiliation{#2}%
1291 \string\@writefile{toc}{\string\author{#1}{}}%
1296 \ifnum\c@numauthors>6
1297 %\setcounter{numauthors}{0}
1298 \resetcounter{numauthors}
1300 \stepcounter{numauthors}
1302 \ifnum\c@numauthors=1 %
1303 \sbox\@AUonebox{\CAPlusOneFont#1}
1304 \sbox\@AUaffonebox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
1305 \sbox\@finalAUboxfromone{\copy\@AUonebox}
1306 \def\chapter@authorone{\copy\@finalAUboxfromone}
1307 \def\chapter@affiliationone{\copy\@AUaffonebox}
1308 \fi \ifnum\c@numauthors=2
1309 \sbox\@AUtwobox{\CAPlusOneFont#1}
1310 \sbox\@AUafftwobox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
1311 \sbox\@finalAUboxfromtwo{\copy\@AUtwobox}
1312 \def\chapter@authortwo{\copy\@finalAUboxfromtwo}
1313 \def\chapter@affiliationtwo{\copy\@AUafftwobox}
1314 \fi \ifnum\c@numauthors=3
1315 \sbox\@AUthreebox{\CAPlusOneFont#1}
1316 \sbox\@AUaffthreebox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
1317 \sbox\@finalAUboxfromthree{\copy\@AUthreebox}
1318 \def\chapter@authorthree{\copy\@finalAUboxfromthree}
1319 \def\chapter@affiliationthree{\copy\@AUaffthreebox}
1320 \fi \ifnum\c@numauthors=4
1321 \sbox\@AUfourbox{\CAPlusOneFont#1}
1322 \sbox\@AUafffourbox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
1323 \sbox\@finalAUboxfromfour{\copy\@AUfourbox}
1324 \def\chapter@authorfour{\copy\@finalAUboxfromfour}
1325 \def\chapter@affiliationfour{\copy\@AUafffourbox}
1326 \fi \ifnum\c@numauthors=5
1327 \sbox\@AUfivebox{\CAPlusOneFont#1}
1328 \sbox\@AUafffivebox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
1329 \sbox\@finalAUboxfromfive{\copy\@AUfivebox}
1330 \def\chapter@authorfive{\copy\@finalAUboxfromfive}
1331 \def\chapter@affiliationfive{\copy\@AUafffivebox}
1332 \fi \ifnum\c@numauthors=6
1333 \sbox\@AUsixbox{\CAPlusOneFont#1}
1334 \sbox\@AUaffsixbox{\vbox{\hsize\textwidth\CAAPlusOneFont\noindent #2\par}}
1335 \sbox\@finalAUboxfromsix{\copy\@AUsixbox}
1336 \def\chapter@authorsix{\copy\@finalAUboxfromsix}
1337 \def\chapter@affiliationsix{\copy\@AUaffsixbox}
1342 \def\@caplusone{\@ifstar{\@scaplusone}{\@ifnextchar[{\@xcaplusone}{\@xcaplusone[]}}}
1343 \def\@xcaplusone[#1]#2#3{%
1344 \def\@@empty{#1}\ifx\@empty\@@empty\@ca{#2}{#3}\else\@ca{#2}{#1}\fi\@scaplusone{#2}{#3}}
1345 \def\@scaplusone#1#2{%
1346 \ifhmode\vskip-12pt\fi
1348 %%% \noindent\hskip3pc{\CAPlusOneFont\baselineskip14pt #1\def\@t{#2}\ifx\@t\@empty\else,\fi}\hskip6pt{\CAAPlusOneFont #2}\par
1351 \def\chapterauthoronly#1#2{\@ca{#1}{}\@scaplusone{#1}{#2}}
1352 \def\myaddcontentsline#1#2#3{%
1355 \let\label\@gobble\let\index\@gobble\let\glossary\@gobble
1357 \def\protect##1{\string ##1 }%
1358 \@temptokena{\thepage}%
1359 \edef\@tempa{\write#1{\string\chapcontentsline{#2}{\string\raggedright\space #3}{\the\@temptokena}}}\@tempa
1360 \if@nobreak\ifvmode\nobreak\fi\fi
1363 \def\chapcontentsline#1{\csname l@#1\endcsname}
1364 \def\l@chapsection{\@mydottedtocline{1}{\z@}{6pt}}
1365 \def\l@chapsubsection{\@mydottedtocline{2}{\secnumwidth}{6pt}}
1366 \def\l@chapsubsubsection{\@mydottedtocline{3}{\subsecnumwidth}{36pt}}
1367 \newcount\c@chaptocdepth
1368 \setcounter{chaptocdepth}{3}
1369 \def\@mytocline#1#2#3#4#5{%
1370 \ifnum #1>\c@chaptocdepth
1372 \vskip 2pt plus.2\p@
1373 \ifnum #1=1\ifnum\c@chaptocdepth>1\addvspace{12pt}\fi\fi
1374 {\leftskip #2\relax% \rightskip \@tocrmarg \parfillskip -\rightskip
1375 \interlinepenalty\@M
1379 \vbox{\ChapTOCFont #4\nobreak}%
1381 \def\@mydottedtocline#1#2#3#4#5{%
1382 \ifnum #1>\c@chaptocdepth
1384 \vskip 2pt plus.2\p@
1385 {\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -21pt %-\rightskip
1386 % \parindent #2\relax\@afterindenttrue
1387 \interlinepenalty\@M
1392 \advance\hsize-\secnumwidth
1393 {\fontsize{9.5\p@}{\baselineskip}\selectfont #4
1394 \nobreak\leaders\hbox{$\m@th\mkern\@dotsep mu.\mkern\@dotsep mu$}
1395 \hfill\hbox to 1.5pc{\hfill#5}}
1398 \newcommand\listoffigures{%
1400 \@restonecoltrue\onecolumn
1404 \chapter*{\listfigurename}%
1405 \@mkboth{\MakeUppercase\listfigurename}%
1406 {\MakeUppercase\listfigurename}%
1408 \if@restonecol\twocolumn\fi
1410 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
1411 \newcommand\listoftables{%
1413 \@restonecoltrue\onecolumn
1417 \chapter*{\listtablename}%
1419 \MakeUppercase\listtablename}%
1420 {\MakeUppercase\listtablename}%
1422 \if@restonecol\twocolumn\fi
1424 \let\l@table\l@figure
1426 \setlength\bibindent{1.5em}
1427 \newenvironment{thebibliography}[1]
1428 {\chapter*{\bibname}%
1429 \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
1430 \addcontentsline{toc}{section}{\bibname}
1431 \list{\@biblabel{\@arabic\c@enumiv}}%
1432 {\settowidth\labelwidth{\@biblabel{#1}}%
1433 \leftmargin\labelwidth
1434 \advance\leftmargin\labelsep
1436 \usecounter{enumiv}%
1437 \let\p@enumiv\@empty
1438 \renewcommand\theenumiv{\@arabic\c@enumiv}}%
1441 \@clubpenalty \clubpenalty
1445 {\@latex@warning{Empty `thebibliography' environment}}%
1447 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
1448 \let\@openbib@code\@empty
1449 \newenvironment{theindex}
1450 {\cleardoublepage\if@twocolumn
1455 \twocolumn[\@makeschapterhead{\indexname}]%
1456 \@mkboth{\MakeUppercase\indexname}%
1457 {\MakeUppercase\indexname}%
1458 \pagestyle{headings}
1459 \addcontentsline{toc}{chapter}{\indexname}
1460 \thispagestyle{folio}\parindent\z@
1461 \parskip\z@ \@plus .3\p@\relax
1465 {\if@restonecol\onecolumn\else\clearpage\fi}
1466 \newcommand\@idxitem{\par\hangindent 40\p@}
1467 \newcommand\subitem{\@idxitem \hspace*{20\p@}}
1468 \newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
1469 \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
1470 \renewcommand\footnoterule{%
1472 \hrule\@width.4\columnwidth
1474 \@addtoreset{footnote}{chapter}
1475 \newcommand\@makefntext[1]{%
1478 \hb@xt@1.8em{\hss\@makefnmark}#1}
1479 \newcommand\contentsname{Contents}
1480 \newcommand\listfigurename{List of Figures}
1481 \newcommand\listtablename{List of Tables}
1482 \newcommand\bibname{Bibliography}
1483 \newcommand\indexname{Index}
1484 \newcommand\figurename{FIGURE}
1485 \newcommand\tablename{TABLE}
1486 \newcommand\partname{Part}
1487 \newcommand\chaptername{Chapter}
1488 \newcommand\appendixname{Appendix}
1489 \def\today{\ifcase\month\or
1490 January\or February\or March\or April\or May\or June\or
1491 July\or August\or September\or October\or November\or December\fi
1492 \space\number\day, \number\year}
1493 \setlength\columnsep{10\p@}
1494 \setlength\columnseprule{0\p@}
1495 \pagestyle{headings}
1496 \pagenumbering{arabic}
1508 \newcommand\crcrule{\hbox to\textwidth{\rule{\textwidth}{.5\p@}}}
1509 \newcommand\chap@rule{\crcrule}
1510 \newcommand\sec@rule{\crcrule}
1511 \def\@affiliate[#1]{\gdef\@affiliation{#1}}
1514 \def\def@theequation{%
1515 \if@numberinsequence
1517 \if@numbysec\thesection\else\thechapter\fi.%
1521 \if@numbysec\thesection\else\thechapter\fi.%
1522 \@arabic\c@equation}\fi}
1524 \def\affiliation#1{{\AffiliationFont\noindent #1\vskip 36bp}}
1527 \newdimen\nomenwidth
1529 \newenvironment{symbollist}[1]{%
1531 \setbox\tempbox\hbox{#1\hskip1em}%
1532 \global\nomenwidth\wd\tempbox
1533 %\section*{Sumbol Description}
1534 \noindent{\SectionHeadFont Symbol Description}\vskip6pt
1535 \begin{multicols}{2}}{%
1536 \end{multicols}\par\addvspace{12pt}}
1537 \def\symbolentry#1#2{\par\noindent\@hangfrom{\hbox to \nomenwidth{#1\hss}}#2\par}
1539 %%%%%%%%%%%%%%%%%%%%
1541 \def\Boxhead#1{\par\addvspace{3pt plus2pt}\noindent{\centering\bfseries#1\par}\vskip3pt}
1545 \newdimen\tempdimen%
1547 \newenvironment{shortbox}{\par\addvspace{12pt plus2pt}%
1549 \setbox\tempbox\vbox\bgroup\hsize27pc%
1551 \setbox\tempbox\vbox\bgroup\hsize32pc%
1553 \setbox\tempbox\vbox\bgroup\hsize25pc%
1557 \noindent\fboxsep6pt\fboxrule.5pt\hspace*{0pt}\fbox{\box\tempbox}
1558 \par\addvspace{12pt plus2pt}}%
1562 \def\grayink{\special{color cmyk 0 0 0 0.2}}
1563 \def\blackink{\special{color cmyk 0 0 0 1.0}} %
1564 \def\whiteink{\special{color cmyk 0 0 0 0}} % 0%
1566 \newenvironment{shadebox}{%
1567 \setbox\tempbox\hbox\bgroup\vbox\bgroup\leftskip12pt\rightskip\leftskip}{\par\addvspace{12pt}
1568 \egroup\egroup\par\addvspace{25pt}
1569 \tempdimen\ht\tempbox
1570 \advance\tempdimen by 1pc
1571 \noindent{\hbox to \wd\tempbox{\vbox to \ht\tempbox{\hsize\textwidth{\special{color push}\grayink\vspace*{-12pt}\noindent\vrule height\tempdimen width\textwidth
1572 \special{color pop}\blackink}}}}%
1573 \llap{\unhbox\tempbox}\par\addvspace{12pt}}
1576 %%%%%%%%%% Note %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1579 \newenvironment{notelist}[1]{%
1581 \setbox\tempbox\hbox{#1\hskip.57em}%
1582 \global\notewidth\wd\tempbox
1584 \par\addvspace{6pt}}
1586 \def\notes#1#2{\par\noindent\@hangfrom{\hbox to \notewidth{\bf #1\hss}}#2\par}
1587 %%%%%%%%%%%%%%%% wherelist %%%%%%%%%%%%%%%%
1589 \newdimen\wherewidth
1590 \newenvironment{wherelist}[1]{\leftskip10pt%
1592 \setbox\wherebox\hbox{#1\hskip1em}%
1593 \global\wherewidth\wd\wherebox
1594 \noindent\hspace*{-14pt} where
1596 \par\addvspace{6pt}}
1597 \def\whereentry#1#2#3{\par\noindent\@hangfrom{\hbox to \wherewidth{#1\hss}#2\hskip6pt}#3\par}
1599 \newenvironment{unnumlist}{%
1600 \ifnum \@enumdepth >3 \@toodeep\else
1601 \advance\@enumdepth\@ne
1603 \leftmargini27.5pt \leftmarginii17.5pt\leftmarginiv17.5pt
1604 % \leftmargin\parindent
1605 \advance\leftmargin-.2em
1606 \advance\leftmarginii.2em
1607 \advance\leftmarginiii.1em
1608 \advance\leftmarginiv.2em
1609 \def\makelabel##1{\hss\llap{##1}}}
1614 \newenvironment{extract}{%
1615 \par\addvspace{11.5pt minus2pt}%
1616 \leftskip2em\rightskip\leftskip
1617 \noindent\ignorespaces
1619 \par\addvspace{11.5pt minus2pt}%
1623 \def\VA#1#2{\addvspace{12pt}\raggedleft #1\rightskip3em\par #2\rightskip3em}
1625 \newenvironment{VF}{\VfFont%
1626 \par\addvspace{12pt minus2pt}%
1627 \noindent{\vrule height2pt width\textwidth}\par\vskip7.3pt
1628 \leftskip3em\rightskip\leftskip
1629 \noindent\ignorespaces
1631 \par\vskip6pt\leftskip0pt\noindent{{\vrule height2pt width\textwidth}}\par\addvspace{12pt minus2pt}%
1634 \def\VTA#1#2{\addvspace{12pt}\raggedleft #1\rightskip3em\par {\it #2}\rightskip3em}
1637 \def\VT{\par\addvspace{3.5pt}\noindent}
1639 \def\VH#1{{\normalfont\fontsize{12.5}{14.5}\itshape\centering\selectfont #1\par}\addvspace{5.5pt}}
1641 \newenvironment{VT1}{\VfFont%
1642 \par\addvspace{12pt minus2pt}%
1643 \noindent{\vrule height2pt width\textwidth}\par\vskip7.5pt
1644 \leftskip3em\rightskip\leftskip
1647 \noindent\ignorespaces
1649 \par\vskip6pt\leftskip0pt\noindent{{\vrule height2pt width\textwidth}}\par\addvspace{10pt minus2pt}%
1653 %%%%%%%%%%%% Glossary %%%%%%%%%%%%%%%%%%%%%%%
1654 \newenvironment{Glossary}
1655 {\list{}{\labelwidth\z@\leftmargin18pt \itemindent-18pt
1656 \let\makelabel\glosslabel}}
1658 \newcommand\glosslabel[1]{\hspace\labelsep\normalfont\bfseries #1:}
1662 \arrayrulewidth .5pt
1664 %\newcounter{subtable}[table]
1665 \newif\if@tablerules\@tablerulestrue
1666 \newif\if@centertable\@centertabletrue
1667 \newif\if@centertabletitle\@centertabletitletrue
1669 \newbox\@tabletitlebox
1670 \newdimen\@tablewidth
1671 \newdimen\@tabletitlewidth
1672 \newdimen\max@tablewidth
1673 \newcommand\automaticrules{\@tablerulestrue}
1674 \newcommand\noautomaticrules{\@tablerulesfalse}
1680 \@arabic\c@table\alph{subtable}}
1681 \def\resettableletter{\setcounter{subtable}{0}}
1683 \newcommand\tabletitle{\@ifnextchar[{\@xtabletitle}{\@tabletitlewidth\z@\@ytabletitle}}
1685 \newif\ifshorttabletitle
1686 \global\shorttabletitlefalse
1687 %\def\@xtabletitle#1{\@tabletitlewidth#1\@ytabletitle}
1689 \def\@xtabletitle[#1]#2{%
1690 \gdef\@@tabletitle{#1}%
1691 \gdef\@tabletitle{#2}%
1692 \let\@Tabletitle\@TableTitle
1693 \refstepcounter{table}%
1694 {\let\footnotemark\@empty
1695 \let\footnote\@gobble
1696 \addcontentsline{\ext@table}{table}{\protect\numberline{\thetable}{\@@tabletitle}}}}
1698 %\long\def\@xtabletitle[#1]#2{%
1699 % \setbox\@ttbox\hbox{#1}\global\shorttabletitletrue
1700 % \def\@@tabletitle{\ifx\@ttbox\@empty\else#1\fi}%
1701 % \def\@tabletitle{#2}%
1702 % \let\@Tabletitle\@TableTitle
1703 % \refstepcounter{table}%
1704 % {\let\footnotemark\@empty
1705 % \let\footnote\@gobble
1706 % \addcontentsline{\ext@table}{table}{\protect\numberline{\thetable}{%
1707 %\ifshorttabletitle\@@tabletitle\else\@tabletitle\fi}}}}
1711 \long\def\@ytabletitle#1{%
1712 \def\@tabletitle{#1}%
1713 \let\@Tabletitle\@TableTitle
1714 \refstepcounter{table}%
1715 {\let\footnotemark\@empty
1716 \let\footnote\@gobble
1717 \addcontentsline{\ext@table}{table}{\protect\numberline{\thetable}{\@tabletitle}}}}
1718 \def\tabletitlelet{\@ifnextchar[{\@xtabletitlelet}{\@tabletitlewidth\z@\@ytabletitlelet}}
1719 \def\@xtabletitlelet[#1]{\@tabletitlewidth#1\@ytabletitlelet}
1720 \long\def\@ytabletitlelet#1{%
1721 \def\@tabletitle{#1}%
1722 \let\@Tabletitle\@TableTitle
1723 \ifnum\c@subtable=0\stepcounter{table}\fi
1724 \let\@currentlabel\thesubtable
1725 {\let\footnotemark\@empty
1726 \let\footnote\@gobble
1727 \addcontentsline{\ext@table}{table}{\protect\numberline{\thetable}{\@tabletitle}}}}
1731 {{\TableNumberFont TABLE \thetable:\quad}}\TableTitleFont\@tabletitle}}
1733 %\long\def\caption##1{\tabletitle{##1}\@TableTitle\par}%
1736 \long\def\caption##1{\tabletitle{##1}\@TableTitle\par}%
1741 \if@centertable\hfil\fi
1743 \setbox\@tablebox\hbox\bgroup
1745 \global\let\@fn\@empty
1746 \def\footnote##1{\footnotemark\gdef\@fn{##1}}
1747 \renewcommand{\arraystretch}{.916666666667}%
1748 $\let\@acol\@tabacol
1749 \let\@classz\@tabclassz
1750 \let\@classiv\@tabclassiv
1754 \crcr\egroup\egroup $\egroup
1755 \@tablewidth\wd\@tablebox
1756 \ifnum\@tabletitlewidth>0
1757 {\hsize\@tabletitlewidth\raggedright\global\setbox\@tabletitlebox\vbox{\@Tabletitle}}%
1759 \setbox\@tabletitlebox\hbox{\@Tabletitle}%
1760 \ifnum\wd\@tabletitlebox>\@tablewidth
1761 {\hsize\@tablewidth\raggedright\global\setbox\@tabletitlebox\vbox{\@Tabletitle}}\fi
1762 \@tabletitlewidth\wd\@tabletitlebox\fi
1763 \ifnum\@tabletitlewidth>0
1764 \ifnum\@tabletitlewidth>\@tablewidth\@tablewidth\@tabletitlewidth\fi
1765 \hbox to\@tabletitlewidth{\if@centertabletitle\hfil\fi\box\@tabletitlebox\hfil}\par\fi
1766 \max@tablewidth\@tablewidth
1767 \ifnum\@tabletitlewidth>\max@tablewidth\max@tablewidth\@tabletitlewidth\fi
1769 \ifnum\@tabletitlewidth>0\vskip-6pt\fi
1770 \hbox to\max@tablewidth{\if@centertable\hfil\fi\rule{\@tablewidth}{1pt}\hfil}\par\fi
1771 \hbox to\max@tablewidth{\if@centertable\hfil\fi\box\@tablebox\hfil}\vskip1pt
1772 \if@tablerules\hbox to\max@tablewidth{\if@centertable\hfil\fi\rule{\@tablewidth}{1pt}\hfil}\par\fi
1773 \ifx\@fn\@empty\else\FootnoteFont\parindent\z@\noindent\@makefnmark\@fn\par\fi
1775 \vskip 0pt plus 12pt
1776 \gdef\@Tabletitle{}}
1778 \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
1779 \hbox{}\thispagestyle{empty}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
1785 \def\tch#1{\TableColHeadFont #1\llstrut\hfill}
1786 \def\tsh#1{\TableSubheadFont #1\hfill}
1787 \newcommand\llstrut{\rule[-6pt]{0pt}{14pt}}
1788 \newcommand\flstrut{\rule{0pt}{10pt}}
1789 \newcommand\tabletitlestrut{\rule{0pt}{20pt}}
1790 \@centertabletitlefalse
1791 \HeadingsBookChapter
1792 %\HeadingsChapterSection
1795 %% End of file `sunil.cls'.