1%% 2%% This is file `bmanual.cls', 3%% This file is a modified copy of the book.cls class. 4%% 5%% The original source files were: 6%% 7%% classes.dtx (with options: `book') 8%% 9%% This is a generated file. 10%% 11%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 12%% The LaTeX3 Project and any individual authors listed elsewhere 13%% in this file. 14%% 15%% This file was generated from file(s) of the LaTeX base system. 16%% -------------------------------------------------------------- 17%% 18%% It may be distributed and/or modified under the 19%% conditions of the LaTeX Project Public License, either version 1.2 20%% of this license or (at your option) any later version. 21%% The latest version of this license is in 22%% http://www.latex-project.org/lppl.txt 23%% and version 1.2 or later is part of all distributions of LaTeX 24%% version 1999/12/01 or later. 25%% 26%% This file may only be distributed together with a copy of the LaTeX 27%% base system. You may however distribute the LaTeX base system without 28%% such generated files. 29%% 30%% The list of all files belonging to the LaTeX base distribution is 31%% given in the file `manifest.txt'. See also `legal.txt' for additional 32%% information. 33%% 34%% \CharacterTable 35%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z 36%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z 37%% Digits \0\1\2\3\4\5\6\7\8\9 38%% Exclamation \! Double quote \" Hash (number) \# 39%% Dollar \$ Percent \% Ampersand \& 40%% Acute accent \' Left paren \( Right paren \) 41%% Asterisk \* Plus \+ Comma \, 42%% Minus \- Point \. Solidus \/ 43%% Colon \: Semicolon \; Less than \< 44%% Equals \= Greater than \> Question mark \? 45%% Commercial at \@ Left bracket \[ Backslash \\ 46%% Right bracket \] Circumflex \^ Underscore \_ 47%% Grave accent \` Left brace \{ Vertical bar \| 48%% Right brace \} Tilde \~} 49\NeedsTeXFormat{LaTeX2e}[1995/12/01] 50\ProvidesClass{bmanual} 51 [2014/03/02 v1.0 52 Standard bacula.org Book LaTeX document class] 53\RequirePackage{eso-pic,atxy,color,calc,ifthen,forarray,stringstrings,fancytabs,lastpage} 54\RequirePackage{eurosym,amssymb,xcolor,fancyvrb,datetime,pifont} 55\input{bedition} 56 57\AtEndPreamble{% 58 \renewcommand{\familydefault}{\sfdefault} 59 \RequirePackage[utf8]{inputenc} 60 \RequirePackage[T1]{fontenc} 61 \RequirePackage{graphicx,varioref,dcolumn,fancyhdr,diagbox,bbding} 62 \RequirePackage{lmodern,pdfpages,setspace,rotating,booktabs} 63 \RequirePackage[hyphens]{url} 64 \RequirePackage[normalem]{ulem} 65 \RequirePackage[printonlyused]{acronym} 66 \RequirePackage{MnSymbol} 67 \RequirePackage[plainpages=true,bookmarks=true,bookmarksopen=true,filecolor=black,linkcolor=black,urlcolor=btextcolor,filebordercolor={0. 0. 0.},menubordercolor={0. 0. 0.},urlbordercolor={0. 0. 0.},linkbordercolor={0. 0. 0.},hyperindex=false,colorlinks=true]{hyperref}% 68 \RequirePackage[toc,title,header,page]{appendix} 69 \RequirePackage{longtable,ltxtable,textcomp,lscape,colortbl} 70 \RequirePackage{multirow} 71 \RequirePackage{babel,xr-hyper,xstring} 72 \RequirePackage[font={sf,bf},textfont=md]{caption} 73 \setlength\arrayrulewidth{0.4pt} 74 \RequirePackage{moreverb} 75 \RequirePackage{xr} 76 \RequirePackage{html} 77 \RequirePackage{float} 78 \RequirePackage{morewrites} 79 \RequirePackage{bdefinitions} 80 \RequirePackage{enumitem} 81 \input{bcompatibility} 82 \DefineVerbatimEnvironment{bVerbatim}{Verbatim}{% 83 xleftmargin=2ex,fontfamily=tt,fontsize=\footnotesize,framesep=2ex,frame=leftline,framerule=0.3ex,rulecolor=\color{btextcolor},fillcolor=\color{bfillverbatimcolor}% 84 ,formatcom=\color{btextcolor}% 85 } 86 \def\bVerbatimInput#1{\VerbatimInput[xleftmargin=2ex,fontfamily=tt,fontsize=\relsize{-2},framesep=2ex,frame=leftline,framerule=0.3ex,rulecolor=\color{btextcolor}]{#1}} 87 \def\bregistered{\raisebox{0.75ex}{\scalebox{0.75}{\textregistered{}}}} 88 \def\bcopyright{\textcopyright{}} 89 %% 90 %% Enumerate 91 \newcommand{\circled}[2][]{% 92 \tikz[baseline=(char.base)]{% 93 \node[shape = circle, fill=btextcolor, inner sep = 1pt] 94 (char) {\phantom{\ifblank{#1}{#2}{#1}}};% 95 \node at (char.center) {\makebox[0pt][c]{#2}};}} 96 \robustify{\circled} 97 \newcounter{benumlocal} 98 %% \newenvironment{bdescription} 99 %% {\begin{description}[style=unboxed]} 100 %% {\end{description}} 101 \newenvironment{benumerate} 102 {\begin{enumerate}[label=\textcolor{white}{\small\circled[00]{\arabic*}}]} 103 {\end{enumerate}} 104 105 %% \newenvironment{benumerate}{% 106 %% % \renewcommand\theenumi{\protect\setcounter{benumlocal}{201+\the\value{enumi}}\protect\scalebox{1.1}{\textcolor{btextcolor}{\ding{\value{benumlocal}}}}} 107 %% \renewcommand\theenumi{\textcolor{white}{\circled[00]{\the\value{enumi}}}} 108 %% \renewcommand\labelenumi{\scalebox{0.7}{\theenumi}} 109 %% \vspace*{0.75ex} 110 %% \begin{enumerate} 111 %% \setlength{\itemsep}{0.5ex} 112 %% } 113 %% {\end{enumerate}\vspace*{1.5ex}% 114 %% } 115 116 \sloppy 117 \pdfminorversion=4 118 \input{external-references} 119} 120 121\AtBeginDocument{\setlength\parindent{0pt}} 122 123\AtEndDocument{% 124 %% \backmatter 125 %% \begin{appendices} 126 %% \input{bacronyms} 127 %% \end{appendices} 128} 129 130 131\newcommand\@ptsize{} 132\newif\if@restonecol 133\newif\if@titlepage 134\@titlepagetrue 135\newif\if@openright 136\newif\if@mainmatter\@mainmattertrue 137\newif\if@appendix 138\@appendixfalse 139\if@compatibility\else 140\DeclareOption{a4paper} 141 {\setlength\paperheight {297mm}% 142 \setlength\paperwidth {210mm}} 143\DeclareOption{a5paper} 144 {\setlength\paperheight {210mm}% 145 \setlength\paperwidth {148mm}} 146\DeclareOption{b5paper} 147 {\setlength\paperheight {250mm}% 148 \setlength\paperwidth {176mm}} 149\DeclareOption{letterpaper} 150 {\setlength\paperheight {11in}% 151 \setlength\paperwidth {8.5in}} 152\DeclareOption{legalpaper} 153 {\setlength\paperheight {14in}% 154 \setlength\paperwidth {8.5in}} 155\DeclareOption{executivepaper} 156 {\setlength\paperheight {10.5in}% 157 \setlength\paperwidth {7.25in}} 158\DeclareOption{landscape} 159 {\setlength\@tempdima {\paperheight}% 160 \setlength\paperheight {\paperwidth}% 161 \setlength\paperwidth {\@tempdima}} 162\fi 163\if@compatibility 164 \renewcommand\@ptsize{0} 165\else 166\DeclareOption{10pt}{\renewcommand\@ptsize{0}} 167\fi 168\DeclareOption{11pt}{\renewcommand\@ptsize{1}} 169\DeclareOption{12pt}{\renewcommand\@ptsize{2}} 170\if@compatibility\else 171\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse} 172\fi 173\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue} 174\DeclareOption{draft}{\setlength\overfullrule{5pt}} 175\if@compatibility\else 176\DeclareOption{final}{\setlength\overfullrule{0pt}} 177\fi 178\DeclareOption{titlepage}{\@titlepagetrue} 179\if@compatibility\else 180\DeclareOption{notitlepage}{\@titlepagefalse} 181\fi 182\if@compatibility 183\@openrighttrue 184\else 185\DeclareOption{openright}{\@openrighttrue} 186\DeclareOption{openany}{\@openrightfalse} 187\fi 188\if@compatibility\else 189\DeclareOption{onecolumn}{\@twocolumnfalse} 190\fi 191\DeclareOption{twocolumn}{\@twocolumntrue} 192\DeclareOption{leqno}{\input{leqno.clo}} 193\DeclareOption{fleqn}{\input{fleqn.clo}} 194\DeclareOption{openbib}{% 195 \AtEndOfPackage{% 196 \renewcommand\@openbib@code{% 197 \advance\leftmargin\bibindent 198 \itemindent -\bibindent 199 \listparindent \itemindent 200 \parsep \z@ 201 }% 202 \renewcommand\newblock{\par}}% 203} 204\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright} 205\ProcessOptions 206\input{bpage} 207\input{bk1\@ptsize.clo} 208\setlength\lineskip{1\p@} 209\setlength\normallineskip{1\p@} 210\renewcommand\baselinestretch{} 211\setlength\parskip{0\p@ \@plus \p@} 212\@lowpenalty 51 213\@medpenalty 151 214\@highpenalty 301 215 216 217\newcommand\BackgroundPic{% 218 \put(0,0){% 219 \parbox[b][\paperheight]{\paperwidth}{% 220 \vfill% 221 \centering% 222 \if@appendix% 223 \else 224 \ifodd\c@page% 225 \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\boddpage}% 226 \else% 227 \includegraphics[width=\paperwidth,height=\paperheight,keepaspectratio]{\bevenpage}% 228 \fi 229 \fi 230 \vfill 231 } 232 } 233} 234 235\setcounter{topnumber}{2} 236\renewcommand\topfraction{.7} 237\setcounter{bottomnumber}{1} 238\renewcommand\bottomfraction{.3} 239\setcounter{totalnumber}{3} 240\renewcommand\textfraction{.2} 241\renewcommand\floatpagefraction{.5} 242\setcounter{dbltopnumber}{2} 243\renewcommand\dbltopfraction{.7} 244\renewcommand\dblfloatpagefraction{.5} 245 246\if@twoside 247 \def\ps@headings{% 248 \let\@oddfoot\@empty\let\@evenfoot\@empty 249 \def\@evenhead{\thepage\hfil\slshape\leftmark}% 250 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% 251 \let\@mkboth\markboth 252 \def\chaptermark##1{% 253 \markboth {\MakeUppercase{% 254 \ifnum \c@secnumdepth >\m@ne 255 \if@mainmatter 256 \@chapapp\ \thechapter. \ % 257 \fi 258 \fi 259 ##1}}{}}% 260 \def\sectionmark##1{% 261 \markright {\MakeUppercase{% 262 \ifnum \c@secnumdepth >\z@ 263 \thesection. \ % 264 \fi 265 ##1}}}} 266\else 267 \def\ps@headings{% 268 \let\@oddfoot\@empty 269 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% 270 \let\@mkboth\markboth 271 \def\chaptermark##1{% 272 \markright {\MakeUppercase{% 273 \ifnum \c@secnumdepth >\m@ne 274 \if@mainmatter 275 \@chapapp\ \thechapter. \ % 276 \fi 277 \fi 278 ##1}}}} 279\fi 280\def\ps@myheadings{% 281 \let\@oddfoot\@empty\let\@evenfoot\@empty 282 \def\@evenhead{\thepage\hfil\slshape\leftmark}% 283 \def\@oddhead{{\slshape\rightmark}\hfil\thepage}% 284 \let\@mkboth\@gobbletwo 285 \let\chaptermark\@gobble 286 \let\sectionmark\@gobble 287 } 288\if@titlepage 289\newcommand\maketitle{\begin{titlepage}% 290 \let\footnotesize\small 291 \let\footnoterule\relax 292 \let \footnote \thanks 293 \null\vfil 294 \vskip 60\p@ 295 \begin{center}% 296 {\LARGE \@title \par}% 297 \vskip 3em% 298 {\large 299 \lineskip .75em% 300 \begin{tabular}[t]{c}% 301 \@author 302 \end{tabular}\par}% 303 \vskip 1.5em% 304 {\large \@date \par}% % Set date in \large size. 305 \end{center}\par 306 \@thanks 307 \vfil\null 308 \end{titlepage}% 309 \setcounter{footnote}{0}% 310 \global\let\thanks\relax 311 \global\let\maketitle\relax 312 \global\let\@thanks\@empty 313 \global\let\@author\@empty 314 \global\let\@date\@empty 315 \global\let\@title\@empty 316 \global\let\title\relax 317 \global\let\author\relax 318 \global\let\date\relax 319 \global\let\and\relax 320} 321\else 322\newcommand\maketitle{\par 323 \begingroup 324 \renewcommand\thefootnote{\@fnsymbol\c@footnote}% 325 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}% 326 \long\def\@makefntext##1{\parindent 1em\noindent 327 \hb@xt@1.8em{% 328 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}% 329 \if@twocolumn 330 \ifnum \col@number=\@ne 331 \@maketitle 332 \else 333 \twocolumn[\@maketitle]% 334 \fi 335 \else 336% \newpage 337 \global\@topnum\z@ % Prevents figures from going at top of page. 338 \@maketitle 339 \fi 340 \thispagestyle{empty}\@thanks 341 \endgroup 342 \setcounter{footnote}{0}% 343 \global\let\thanks\relax 344 \global\let\maketitle\relax 345 \global\let\@maketitle\relax 346 \global\let\@thanks\@empty 347% \global\let\@author\@empty 348 \global\let\@date\@empty 349% \global\let\@title\@empty 350 \global\let\title\relax 351 \global\let\author\relax 352 \global\let\date\relax 353 \global\let\and\relax 354} 355\def\@maketitle{% 356% \newpage 357 \null 358 \vskip 2em% 359 \begin{center}% 360 \let \footnote \thanks 361 {\LARGE \@title \par}% 362 \vskip 1.5em% 363 {\large 364 \lineskip .5em% 365 \begin{tabular}[t]{c}% 366 \@author 367 \end{tabular}\par}% 368 \vskip 1em% 369 {\large \@date}% 370 \end{center}% 371 \par 372 \vskip 1.5em 373} 374\fi 375 376\newcommand*\chaptermark[1]{} 377\setcounter{secnumdepth}{2} 378\newcounter {part} 379\newcounter {chapter} 380\newcounter {section}[chapter] 381\newcounter {subsection}[section] 382\newcounter {subsubsection}[subsection] 383\newcounter {paragraph}[subsubsection] 384\newcounter {subparagraph}[paragraph] 385\renewcommand \thepart {\@Roman\c@part} 386\renewcommand \thechapter {\@arabic\c@chapter} 387\renewcommand \thesection {\thechapter.\@arabic\c@section} 388\renewcommand\thesubsection {\thesection.\@arabic\c@subsection} 389\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection} 390\renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph} 391\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph} 392\newcommand\@chapapp{\chaptername} 393\newcommand\frontmatter{% 394 \cleardoublepage 395 \@mainmatterfalse 396 \pagenumbering{roman}} 397\newcommand\mainmatter{% 398 \cleardoublepage 399 \@mainmattertrue 400 \pagenumbering{arabic}} 401\newcommand\backmatter{% 402 \if@openright 403 \cleardoublepage 404 \else 405 \clearpage 406 \fi 407 \@mainmatterfalse} 408\newcommand\part{% 409 \if@openright 410 \cleardoublepage 411 \else 412 \clearpage 413 \fi 414 \thispagestyle{plain}% 415 \if@twocolumn 416 \onecolumn 417 \@tempswatrue 418 \else 419 \@tempswafalse 420 \fi 421 \null\vfil 422 \secdef\@part\@spart} 423 424\def\@part[#1]#2{% 425 \ifnum \c@secnumdepth >-2\relax 426 \refstepcounter{part}% 427 \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}% 428 \else 429 \addcontentsline{toc}{part}{#1}% 430 \fi 431 \markboth{}{}% 432 {\centering 433 \interlinepenalty \@M 434 \normalfont 435 \ifnum \c@secnumdepth >-2\relax 436 \huge\bfseries \partname\nobreakspace\thepart 437 \par 438 \vskip 20\p@ 439 \fi 440 \Huge \bfseries #2\par}% 441 \@endpart} 442\def\@spart#1{% 443 {\centering 444 \interlinepenalty \@M 445 \normalfont 446 \Huge \bfseries #1\par}% 447 \@endpart} 448\def\@endpart{\vfil\newpage 449 \if@twoside 450 \if@openright 451 \null 452% \thispagestyle{empty}% 453 \newpage 454 \fi 455 \fi 456 \if@tempswa 457 \twocolumn 458 \fi} 459\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi 460 \thispagestyle{plain}% 461 \global\@topnum\z@ 462 \@afterindentfalse 463 \secdef\@chapter\@schapter} 464\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne 465 \if@mainmatter 466 \refstepcounter{chapter}% 467 \typeout{\@chapapp\space\thechapter.}% 468 \addcontentsline{toc}{chapter}% 469 {\protect\numberline{\thechapter}#1}% 470 \else 471 \addcontentsline{toc}{chapter}{#1}% 472 \fi 473 \else 474 \addcontentsline{toc}{chapter}{#1}% 475 \fi 476 \chaptermark{#1}% 477 \addtocontents{lof}{\protect\addvspace{10\p@}}% 478 \addtocontents{lot}{\protect\addvspace{10\p@}}% 479 \if@twocolumn 480 \@topnewpage[\@makechapterhead{#2}]% 481 \else 482 \@makechapterhead{#2}% 483 \@afterheading 484 \fi} 485\def\@makechapterhead#1{% 486 \vspace*{50\p@}% 487 {\parindent \z@ \raggedright \normalfont 488 \ifnum \c@secnumdepth >\m@ne 489 \if@mainmatter 490 \huge\bfseries \@chapapp\space \thechapter 491 \par\nobreak 492 \vskip 20\p@ 493 \fi 494 \fi 495 \interlinepenalty\@M 496 \Huge \bfseries \textcolor{btextcolor}{#1}\par\nobreak 497 \vskip 40\p@ 498 }} 499\def\@schapter#1{\if@twocolumn 500 \@topnewpage[\@makeschapterhead{#1}]% 501 \else 502 \@makeschapterhead{#1}% 503 \@afterheading 504 \fi} 505\def\@makeschapterhead#1{% 506 \vspace*{50\p@}% 507 {\parindent \z@ \raggedright 508 \normalfont 509 \interlinepenalty\@M 510 \Huge \bfseries 511#1 512\par\nobreak 513 \vskip 40\p@ 514 }} 515\newcommand\section{\@startsection {section}{1}{\z@}% 516 {-3.5ex \@plus -1ex \@minus -.2ex}% 517 {2.3ex \@plus.2ex}% 518 {\normalfont\Large\bfseries}} 519\newcommand\subsection{\@startsection{subsection}{2}{\z@}% 520 {-3.25ex\@plus -1ex \@minus -.2ex}% 521 {1.5ex \@plus .2ex}% 522 {\normalfont\large\bfseries}} 523\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% 524 {-3.25ex\@plus -1ex \@minus -.2ex}% 525 {1.5ex \@plus .2ex}% 526 {\normalfont\normalsize\bfseries}} 527\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% 528 {3.25ex \@plus1ex \@minus.2ex}% 529 {-1em}% 530 {\normalfont\normalsize\bfseries}} 531\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% 532 {3.25ex \@plus1ex \@minus .2ex}% 533 {-1em}% 534 {\normalfont\normalsize\bfseries}} 535\if@twocolumn 536 \setlength\leftmargini {2em} 537\else 538 \setlength\leftmargini {2.5em} 539\fi 540\leftmargin \leftmargini 541\setlength\leftmarginii {2.2em} 542\setlength\leftmarginiii {1.87em} 543\setlength\leftmarginiv {1.7em} 544\if@twocolumn 545 \setlength\leftmarginv {.5em} 546 \setlength\leftmarginvi {.5em} 547\else 548 \setlength\leftmarginv {1em} 549 \setlength\leftmarginvi {1em} 550\fi 551\setlength \labelsep {.5em} 552\setlength \labelwidth{\leftmargini} 553\addtolength\labelwidth{-\labelsep} 554\@beginparpenalty -\@lowpenalty 555\@endparpenalty -\@lowpenalty 556\@itempenalty -\@lowpenalty 557\renewcommand\theenumi{\@arabic\c@enumi} 558\renewcommand\theenumii{\@alph\c@enumii} 559\renewcommand\theenumiii{\@roman\c@enumiii} 560\renewcommand\theenumiv{\@Alph\c@enumiv} 561\newcommand\labelenumi{\theenumi.} 562\newcommand\labelenumii{(\theenumii)} 563\newcommand\labelenumiii{\theenumiii.} 564\newcommand\labelenumiv{\theenumiv.} 565\renewcommand\p@enumii{\theenumi} 566\renewcommand\p@enumiii{\theenumi(\theenumii)} 567\renewcommand\p@enumiv{\p@enumiii\theenumiii} 568\newcommand\labelitemi{\textbullet} 569\newcommand\labelitemii{\normalfont\bfseries \textendash} 570\newcommand\labelitemiii{\textasteriskcentered} 571\newcommand\labelitemiv{\textperiodcentered} 572\newenvironment{description} 573 {\list{}{\labelwidth\z@ \itemindent-\leftmargin 574 \let\makelabel\descriptionlabel}} 575 {\endlist} 576\newcommand*\descriptionlabel[1]{\hspace\labelsep 577 \normalfont #1} 578\newenvironment{verse} 579 {\let\\\@centercr 580 \list{}{\itemsep \z@ 581 \itemindent -1.5em% 582 \listparindent\itemindent 583 \rightmargin \leftmargin 584 \advance\leftmargin 1.5em}% 585 \item\relax} 586 {\endlist} 587\newenvironment{quotation} 588 {\list{}{\listparindent 1.5em% 589 \itemindent \listparindent 590 \rightmargin \leftmargin 591 \parsep \z@ \@plus\p@}% 592 \item\relax} 593 {\endlist} 594\newenvironment{quote} 595 {\list{}{\rightmargin\leftmargin}% 596 \item\relax} 597 {\endlist} 598\if@compatibility 599\newenvironment{titlepage} 600 {% 601 \cleardoublepage 602 \if@twocolumn 603 \@restonecoltrue\onecolumn 604 \else 605 \@restonecolfalse\newpage 606 \fi 607 \thispagestyle{empty}% 608 \setcounter{page}\z@ 609 }% 610 {\if@restonecol\twocolumn \else\newpage \fi 611 } 612\else 613\newenvironment{titlepage} 614 {% 615 \cleardoublepage 616 \if@twocolumn 617 \@restonecoltrue\onecolumn 618 \else 619 \@restonecolfalse\newpage 620 \fi 621 \thispagestyle{empty} % 622 \setcounter{page}\@ne 623 }% 624 {\if@restonecol\twocolumn \else\newpage \fi 625 \if@twoside\else 626 \setcounter{page}\@ne 627 \fi 628 } 629\fi 630\newcommand\appendix{\par 631 \setcounter{chapter}{0}% 632 \setcounter{section}{0}% 633 \gdef\@chapapp{\appendixname}% 634 \gdef\thechapter{\@Alph\c@chapter} 635} 636\setlength\arraycolsep{5\p@} 637\setlength\tabcolsep{6\p@} 638\setlength\arrayrulewidth{.4\p@} 639\setlength\doublerulesep{2\p@} 640\setlength\tabbingsep{\labelsep} 641\skip\@mpfootins = \skip\footins 642\setlength\fboxsep{3\p@} 643\setlength\fboxrule{.4\p@} 644\@addtoreset {equation}{chapter} 645\renewcommand\theequation 646 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation} 647\newcounter{figure}[chapter] 648\renewcommand \thefigure 649 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure} 650\def\fps@figure{tbp} 651\def\ftype@figure{1} 652\def\ext@figure{lof} 653\def\fnum@figure{\figurename\nobreakspace\thefigure} 654\newenvironment{figure} 655 {\@float{figure}} 656 {\end@float} 657\newenvironment{figure*} 658 {\@dblfloat{figure}} 659 {\end@dblfloat} 660\newcounter{table}[chapter] 661\renewcommand \thetable 662 {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table} 663\def\fps@table{tbp} 664\def\ftype@table{2} 665\def\ext@table{lot} 666\def\fnum@table{\tablename\nobreakspace\thetable} 667\newenvironment{table} 668 {\@float{table}} 669 {\end@float} 670\newenvironment{table*} 671 {\@dblfloat{table}} 672 {\end@dblfloat} 673\newlength\abovecaptionskip 674\newlength\belowcaptionskip 675\setlength\abovecaptionskip{10\p@} 676\setlength\belowcaptionskip{10\p@} 677\long\def\@makecaption#1#2{% 678 \vskip\abovecaptionskip 679 \sbox\@tempboxa{#1: #2}% 680 \ifdim \wd\@tempboxa >\hsize 681 #1: #2\par 682 \else 683 \global \@minipagefalse 684 \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% 685 \fi 686 \vskip\belowcaptionskip} 687\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} 688\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} 689\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} 690\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} 691\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} 692\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl} 693\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc} 694\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal} 695\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal} 696\newcommand\@pnumwidth{1.55em} 697\newcommand\@tocrmarg{2.55em} 698\newcommand\@dotsep{4.5} 699\setcounter{tocdepth}{2} 700\newcommand\tableofcontents{% 701 \if@twocolumn 702 \@restonecoltrue\onecolumn 703 \else 704 \@restonecolfalse 705 \fi 706 \chapter*{\contentsname 707 \@mkboth{% 708 \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% 709 \@starttoc{toc}% 710 \if@restonecol\twocolumn\fi 711 } 712\newcommand*\l@part[2]{% 713 \ifnum \c@tocdepth >-2\relax 714 \addpenalty{-\@highpenalty}% 715 \addvspace{2.25em \@plus\p@}% 716 \setlength\@tempdima{3em}% 717 \begingroup 718 \parindent \z@ \rightskip \@pnumwidth 719 \parfillskip -\@pnumwidth 720 {\leavevmode 721 \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par 722 \nobreak 723 \global\@nobreaktrue 724 \everypar{\global\@nobreakfalse\everypar{}}% 725 \endgroup 726 \fi} 727\newcommand*\l@chapter[2]{% 728 \ifnum \c@tocdepth >\m@ne 729 \addpenalty{-\@highpenalty}% 730 \vskip 1.0em \@plus\p@ 731 \setlength\@tempdima{1.5em}% 732 \begingroup 733 \parindent \z@ \rightskip \@pnumwidth 734 \parfillskip -\@pnumwidth 735 \leavevmode \bfseries 736 \advance\leftskip\@tempdima 737 \hskip -\leftskip 738 #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par 739 \penalty\@highpenalty 740 \endgroup 741 \fi} 742\newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} 743\newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} 744\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} 745\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} 746\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} 747\newcommand\listoffigures{% 748 \if@twocolumn 749 \@restonecoltrue\onecolumn 750 \else 751 \@restonecolfalse 752 \fi 753 \chapter*{\listfigurename}% 754 \@mkboth{\MakeUppercase\listfigurename}% 755 {\MakeUppercase\listfigurename}% 756 \@starttoc{lof}% 757 \if@restonecol\twocolumn\fi 758 } 759\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} 760\newcommand\listoftables{% 761 \if@twocolumn 762 \@restonecoltrue\onecolumn 763 \else 764 \@restonecolfalse 765 \fi 766 \chapter*{\listtablename}% 767 \@mkboth{% 768 \MakeUppercase\listtablename}% 769 {\MakeUppercase\listtablename}% 770 \@starttoc{lot}% 771 \if@restonecol\twocolumn\fi 772 } 773\let\l@table\l@figure 774\newdimen\bibindent 775\setlength\bibindent{1.5em} 776\newenvironment{thebibliography}[1] 777 {\chapter*{\bibname}% 778 \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% 779 \list{\@biblabel{\@arabic\c@enumiv}}% 780 {\settowidth\labelwidth{\@biblabel{#1}}% 781 \leftmargin\labelwidth 782 \advance\leftmargin\labelsep 783 \@openbib@code 784 \usecounter{enumiv}% 785 \let\p@enumiv\@empty 786 \renewcommand\theenumiv{\@arabic\c@enumiv}}% 787 \sloppy 788 \clubpenalty4000 789 \@clubpenalty \clubpenalty 790 \widowpenalty4000% 791 \sfcode`\.\@m} 792 {\def\@noitemerr 793 {\@latex@warning{Empty `thebibliography' environment}}% 794 \endlist} 795\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em} 796\let\@openbib@code\@empty 797\newenvironment{theindex} 798 {\if@twocolumn 799 \@restonecolfalse 800 \else 801 \@restonecoltrue 802 \fi 803 \columnseprule \z@ 804 \columnsep 35\p@ 805 \twocolumn[\@makeschapterhead{\indexname}]% 806 \@mkboth{\MakeUppercase\indexname}% 807 {\MakeUppercase\indexname}% 808 \thispagestyle{plain}\parindent\z@ 809 \parskip\z@ \@plus .3\p@\relax 810 \let\item\@idxitem} 811 {\if@restonecol\onecolumn\else\clearpage\fi} 812\newcommand\@idxitem{\par\hangindent 40\p@} 813\newcommand\subitem{\@idxitem \hspace*{20\p@}} 814\newcommand\subsubitem{\@idxitem \hspace*{30\p@}} 815\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax} 816\renewcommand\footnoterule{% 817 \kern-3\p@ 818 \hrule\@width.4\columnwidth 819 \kern2.6\p@} 820\@addtoreset{footnote}{chapter} 821\newcommand\@makefntext[1]{% 822 \parindent 1em% 823 \noindent 824 \hb@xt@1.8em{\hss\@makefnmark}#1} 825\newcommand\contentsname{Contents} 826\newcommand\listfigurename{List of Figures} 827\newcommand\listtablename{List of Tables} 828\newcommand\bibname{Bibliography} 829\newcommand\indexname{Index} 830\newcommand\figurename{Figure} 831\newcommand\tablename{Table} 832\newcommand\partname{Part} 833\newcommand\chaptername{Chapter} 834\newcommand\appendixname{Appendix} 835\def\today{\ifcase\month\or 836 January\or February\or March\or April\or May\or June\or 837 July\or August\or September\or October\or November\or December\fi 838 \space\number\day, \number\year} 839\setlength\columnsep{10\p@} 840\setlength\columnseprule{0\p@} 841\pagestyle{headings} 842\pagenumbering{arabic} 843\if@twoside 844\else 845 \raggedbottom 846\fi 847\if@twocolumn 848 \twocolumn 849 \sloppy 850 \flushbottom 851\else 852 \onecolumn 853\fi 854\endinput 855%% 856%% End of file `bmanual.cls'. 857