-
Notifications
You must be signed in to change notification settings - Fork 1
/
Thesis.cls
644 lines (602 loc) · 20.6 KB
/
Thesis.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Thesis LaTeX Template - THESIS CLASS FILE
%
% This template has been downloaded from:
% http://www.latextemplates.com
%
% This class file defines the structure and design of the template.
%
% There is one part of this file that needs to be filled out - the variables
% dictating the document particulars such as the author name, university
% name, etc. You will find these in the commented "DOCUMENT VARIABLES"
% section below.
%
% The other two easily-editable sections are the margin sizes and abstract.
% These have both been commented for easy editing. Advanced LaTeX
% users will have no trouble editing the rest of the document to their liking.
%
% Original header:
%% This is file `Thesis.cls', based on 'ECSthesis.cls', by Steve R. Gunn
%% generated with the docstrip utility.
%%
%% Created by Steve R. Gunn, modified by Sunil Patel: www.sunilpatel.co.uk
%% Further modified by www.latextemplates.com
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
\ProvidesClass{Thesis}
[2007/22/02 v1.0
LaTeX document class]
\def\baseclass{book}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}
\def\@checkoptions#1#2{
\edef\@curroptions{\@ptionlist{\@currname.\@currext}}
\@tempswafalse
\@tfor\@this:=#2\do{
\@expandtwoargs\in@{,\@this,}{,\@curroptions,}
\ifin@ \@tempswatrue \@break@tfor \fi}
\let\@this\@empty
\if@tempswa \else \PassOptionsToClass{#1}{\baseclass}\fi
}
\@checkoptions{11pt}{{10pt}{11pt}{12pt}}
\PassOptionsToClass{a4paper}{\baseclass}
\ProcessOptions\relax
\LoadClass{\baseclass}
\newcommand\bhrule{\typeout{------------------------------------------------------------------------------}}
\newcommand\btypeout[1]{\bhrule\typeout{\space #1}\bhrule}
\def\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\year}
\usepackage{setspace}
\onehalfspacing
\setlength{\parindent}{0pt}
\setlength{\parskip}{2.0ex plus0.5ex minus0.2ex}
\usepackage{vmargin}
\RequirePackage[utf8]{inputenc} % Allows the use of international characters (e.g. Umlauts)
%----------------------------------------------------------------------------------------
% MARGINS
%----------------------------------------------------------------------------------------
\setmarginsrb { 3.5cm} % left margin
{ 2.5cm} % top margin
{ 2.5cm} % right margin
{ 2.5cm} % bottom margin
{ 20pt} % head height
{0.25in} % head sep
{ 9pt} % foot height
{ 0.3in} % foot sep
%----------------------------------------------------------------------------------------
\raggedbottom
\setlength{\topskip}{1\topskip \@plus 5\p@}
\doublehyphendemerits=10000 % No consecutive line hyphens.
\brokenpenalty=10000 % No broken words across columns/pages.
\widowpenalty=9999 % Almost no widows at bottom of page.
\clubpenalty=9999 % Almost no orphans at top of page.
\interfootnotelinepenalty=9999 % Almost never break footnotes.
\usepackage{fancyhdr}
\lhead[\rm\thepage]{\fancyplain{}{\sl{\rightmark}}}
\rhead[\fancyplain{}{\sl{\leftmark}}]{\rm\thepage}
\chead{}\lfoot{}\rfoot{}\cfoot{}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\btypeout{\thechapter\space #1}\markboth{\@chapapp\ \thechapter\ #1}{\@chapapp\ \thechapter\ #1}}
\renewcommand{\sectionmark}[1]{}
\renewcommand{\subsectionmark}[1]{}
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}
\thispagestyle{empty}
\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\usepackage{amsmath,amsfonts,amssymb,amscd,amsthm,xspace}
\usepackage{enumitem}
\usepackage{ragged2e}
\usepackage{tabularx}
\usepackage{tabu}
\usepackage{soul}
\usepackage [english]{babel}
\usepackage [autostyle]{csquotes}
\usepackage[normalem]{ulem}
\usepackage{umoline}
\theoremstyle{plain}
\newtheorem{example}{Example}[chapter]
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{axiom}[theorem]{Axiom}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}
\usepackage[centerlast,small,sc]{caption}
\setlength{\captionmargin}{20pt}
\newcommand{\fref}[1]{Figure~\ref{#1}}
\newcommand{\tref}[1]{Table~\ref{#1}}
\newcommand{\eref}[1]{Equation~\ref{#1}}
\newcommand{\cref}[1]{Chapter~\ref{#1}}
\newcommand{\sref}[1]{Section~\ref{#1}}
\newcommand{\aref}[1]{Appendix~\ref{#1}}
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{.85}
\renewcommand{\textfraction}{0.1}
\renewcommand{\dbltopfraction}{.85}
\renewcommand{\floatpagefraction}{0.75}
\renewcommand{\dblfloatpagefraction}{.75}
\setcounter{topnumber}{9}
\setcounter{bottomnumber}{9}
\setcounter{totalnumber}{20}
\setcounter{dbltopnumber}{9}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[scriptsize]{subfigure}
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{listings}
\usepackage{lstpatch}
\lstset{captionpos=b,
frame=tb,
basicstyle=\scriptsize\ttfamily,
showstringspaces=false,
keepspaces=true}
\lstdefinestyle{matlab} {
language=Matlab,
keywordstyle=\color{blue},
commentstyle=\color[rgb]{0.13,0.55,0.13}\em,
stringstyle=\color[rgb]{0.7,0,0} }
\usepackage[pdfpagemode={UseOutlines},bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=0,bookmarksnumbered=true,hypertexnames=false,
colorlinks,linkcolor={blue},citecolor={blue},urlcolor={red},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
\pdfstringdefDisableCommands{
\let\\\space
}
\newcommand*{\supervisor}[1]{\def\supname{#1}}
\newcommand*{\thesistitle}[1]{\def\ttitle{#1}}
\newcommand*{\examiner}[1]{\def\examname{#1}}
\newcommand*{\degree}[1]{\def\degreename{#1}}
\newcommand*{\authors}[1]{\def\authornames{#1}}
\newcommand*{\addresses}[1]{\def\addressnames{#1}}
\newcommand*{\university}[1]{\def\univname{#1}}
\newcommand*{\UNIVERSITY}[1]{\def\UNIVNAME{#1}}
\newcommand*{\department}[1]{\def\deptname{#1}}
\newcommand*{\DEPARTMENT}[1]{\def\DEPTNAME{#1}}
\newcommand*{\subject}[1]{\def\subjectname{#1}}
\newcommand*{\keywords}[1]{\def\keywordnames{#1}}
\newcommand*{\rollno}[1]{\def\rollnumber{#1}}
\newcommand*{\unisite}[1]{\def\univsite{#1}}
\newcommand*{\depsite}[1]{\def\deptsite{#1}}
\newcommand*{\placeshrt}[1]{\def\placesh{#1}}
\newcommand*{\placelng}[1]{\def\placeln{#1}}
\newcommand*{\datesub}[1]{\def\datesubs{#1}}
\newcommand*{\semsub}[1]{\def\semsubs{#1}}
\newcommand*{\degreemajor}[1]{\def\degreenamemajor{#1}}
\newcommand*{\coursecd}[1]{\def\coursecds{#1}}
\newcommand*{\datesig}[1]{\def\datesign{#1}}
%----------------------------------------------------------------------------------------
% DOCUMENT VARIABLES
% Fill in the lines below to update the thesis template
% If you wish to cite each of the variables defined below, look at the
% section above for the citation command e.g. \examiner{} below is
% defined as \examname above so you cite it as \examname
%----------------------------------------------------------------------------------------
\thesistitle{Thesis Title} % Your thesis title - this is used in the title and abstract
%-------------------------------------------------
\supervisor{Supervisor} % You supervisor's name - this is used in the title page
%-------------------------------------------------
\examiner{} % Your examiner's name - this is not currently used anywhere in the template, cite it with \examname if you want it
%-------------------------------------------------
\degree{Degree} % Your degree name - this is currently used in the title page and abstract
%-------------------------------------------------
\authors{Author} % Your name - this is used in the title page and abstract
%-------------------------------------------------
\rollno{Roll No.} % Your name - this is used in the title page and abstract
%-------------------------------------------------
\addresses{} % Your address - this is not currently used anywhere in the template, cite it with \addressnames if you want it
%-------------------------------------------------
\subject{} % Your subject area - this is not currently used anywhere in the template, cite it with \subjectname if you want it
%-------------------------------------------------
\keywords{Keywords} % Keywords for your thesis - this is not currently used anywhere in the template, cite it with \keywordnames if you want it
%-------------------------------------------------
\university{\texorpdfstring{\href{\univsite} % Your university's URL
{University Name}} % Your university's name - this is currently used in the title page
{University Name}}
%-------------------------------------------------
\UNIVERSITY{\texorpdfstring{\href{\univsite} % Your university's URL
{\MakeUppercase{\univname}}} % Your university's name in capitals - this is currently used in the abstract page
{\MakeUppercase{\univname}}}
%-------------------------------------------------
\department{\texorpdfstring{\href{\deptsite} % Your department's URL
{Department Name}} % Your department's name - used in the title page and abstract
{Department Name}}
%-------------------------------------------------
\DEPARTMENT{\texorpdfstring{\href{\deptsite} % Your department's URL
{\MakeUppercase{\deptname}}} % Your department's name in capitals - this is not currently used anywhere in the template, cite it with \DEPTNAME if you want it
{\MakeUppercase{\deptname}}}
%-------------------------------------------------
% The default title page, this is not used in this www.latextemplates.com version
\renewcommand\maketitle{
\hypersetup{pdftitle={\@title}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
\btypeout{Title Page}
\thispagestyle{empty}
\begin{titlepage}
\begin{spacing}{1}
\centering
\large{\bfseries \@title \par}
\vfill
\normalsize{\coursecds report submitted to \par
\univname \par
in fulfilment for the award of the degree of \par
\degreename \par
in \par
\degreenamemajor \par
}
\vfill
{\bfseries
by \par
\authornames \par
(\rollnumber) \par
}
\vfill
{\bfseries
Under the supervision of \par
\supname \par
}
\vfill
\includegraphics[height=4cm]{logo.jpg}\par
\vfill
{\bfseries
\deptname \par
\univname \par
\semsubs \par
\datesubs \par
}
\end{spacing}
\end{titlepage}
}
%\renewcommand\maketitle{
% \btypeout{Title Page}
% \hypersetup{pdftitle={\@title}}
% \hypersetup{pdfsubject=\subjectname}
% \hypersetup{pdfauthor=\authornames}
% \hypersetup{pdfkeywords=\keywordnames}
% \thispagestyle{empty}
% \begin{titlepage}
% \let\footnotesize\small
% \let\footnoterule\relax
% \let \footnote \thanks
% \setcounter{footnote}{0}
% \null\vfil
% \vskip 60\p@
% \begin{center}
% \setlength{\parskip}{0pt}
% {\large\textbf{\UNIVNAME}\par}
% \vfill
% {\huge \bf \@title \par}
% \vfill
% {\LARGE by \par}
% \smallskip
% {\LARGE \authornames \par}
% \vfill
% {\large A thesis submitted in partial fulfillment for the \par}
% {\large degree of \degreename \par}
% \bigskip
% \bigskip
% {\large in the \par}
% {\large \facname \par}
% {\large \deptname \par}
% \bigskip
% \bigskip
% \bigskip
% {\Large \@date \par}
% \bigskip
% \end{center}
% \par
% \@thanks
% \vfil\null
% \end{titlepage}
% \setcounter{footnote}{0}%
% \global\let\thanks\relax
% \global\let\maketitle\relax
% \global\let\@thanks\@empty
% \global\let\@author\@empty
% \global\let\@date\@empty
% \global\let\@title\@empty
% \global\let\title\relax
% \global\let\author\relax
% \global\let\date\relax
% \global\let\and\relax
% \cleardoublepage
%}
\newcommand\Declaration[1]{
\btypeout{Declaration}
\addtotoc{Declaration}
\thispagestyle{plain}
%\null\vfil
%\vskip 60\p@
\begin{center}
\large{\bfseries DECLARATION}
\end {center}
\vspace{1cm}
I certify that\par
\begin{enumerate}[label=(\alph*)]
\item The work contained in this report has been done by me under the guidance of my supervisor.
\item The work has not been submitted to any other Institute for any degree or diploma.
\item I have conformed to the norms and guidelines given in the Ethical Code of Conduct of the Institute.
\item Whenever I have used materials (data, theoretical analysis, figures, and text) from other sources, I have given due credit to them by citing them in the text of the thesis and giving their details in the references. Further, I have taken permission from the copyright owners of the sources, whenever necessary.
\end{enumerate}
\vfill
Date: \datesign\hfill (\authornames)\par
\vspace{-15pt}
Place: \placesh \hfill (\rollnumber)%\vskip 60\p@
{\normalsize #1}
\vfil\vfil\null
\cleardoublepage
}
%----------------------------------------------------------------------------------------
% TITLE PAGE DESIGN
%----------------------------------------------------------------------------------------
\newenvironment{titlepg}
{
\hypersetup{pdftitle={\@title}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
\btypeout{Title Page}
\thispagestyle{empty}
\begin{titlepage}
\begin{spacing}{1}
\centering
\large{\bfseries \@title \par}
\vfill
\normalsize{{\coursecds} report submitted to \par
\univname \par
in partial fulfilment for the award of the degree of \par
\degreename \par
in \par
\degreenamemajor \par
}
\vfill
{\bfseries
by \par
\authornames \par
(\rollnumber) \par
}
\vfill
{\bfseries
Under the supervision of \par
\supname \par
}
\vfill
\includegraphics[height=4cm]{logo.jpg}\par
\vfill
{\bfseries
\deptname \par
\univname \par
\semsubs \par
\datesubs \par
}
\end{spacing}
\end{titlepage}
%\null\vfil
%\cleardoublepage
}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% ABSTRACT PAGE DESIGN
%----------------------------------------------------------------------------------------
\newenvironment{abstract}
{
\btypeout{Abstract Page}
\thispagestyle{plain}
%\null\vfil
\begin{flushleft}
\setlength{\parskip}{0pt}
%{\normalsize \UNIVNAME \par} % University name in capitals
%\bigskip
{\centering{\huge{\textit{Abstract}}} \par}
\bigskip
\HRule \\[0.4cm] % Horizontal line
Name of the student: \textbf{\authornames} \hfill Roll No: \textbf{\rollnumber} \\
Degree for which submitted: \textbf{\degreename} \\
Department: \textbf{\deptname} \\
Thesis title: \textbf{\@title}\\
Thesis supervisor: \textbf{\supname}\\
Month and year of thesis submission: \textbf{{{\datesubs}}\\[0.4cm] }
\HRule \\[1.5cm] % Horizontal line
\end{flushleft}
}
%----------------------------------------------------------------------------------------
%----------------------------------------------------------------------------------------
% CERTIFICATE PAGE DESIGN
%----------------------------------------------------------------------------------------
\newenvironment{certificate}
{
\btypeout{Certificate Page}
\thispagestyle{plain}
\begin{center}
\begin{spacing}{1}\bfseries\large{\DEPTNAME\par
\UNIVNAME\par
\MakeUppercase{\placeln}\par}
\end{spacing}
\vspace{0.8cm}
\includegraphics[height=5cm]{logo.jpg}\par
\vspace{0.5cm}
\textit{\textbf {\large{CERTIFICATE}}}\par
\end{center}
%\vspace{1cm}
%\newcommand*\together[1]{#1}
%\soulregister\together{1}
%\soulregister{\authornames}{0}
This is to certify that the project report entitled \enquote{\textbf{\ul\ttitle}} submitted by \textbf{\ul\authornames} (Roll No. \rollnumber) to {\univname} towards partial fulfilment of requirements for the award of degree of {\degreename} in {\degreenamemajor} is a record of bona fide work carried out by him under my supervision and guidance during \semsubs.
%\vspace{4cm}
\vfill
\renewcommand{\arraystretch}{0.75}
%\begin{tabularx}{\textwidth}{|l|>{\raggedleft\arraybackslash}X|}
\begin{tabu} to \textwidth{X[l]X[1.15c]}
&\supname\\
Date: \datesign&\deptname\\
Place: \placesh&\univname\\ &\placeln\\
%\end{tabularx}
\end{tabu}
\vfil\vfil\null
\cleardoublepage
}
%----------------------------------------------------------------------------------------
% DECLARATION DESIGN
%----------------------------------------------------------------------------------------
%\newenvironment{declrpg}
%{
%\begin{titlepage}
%\begin{spacing}{1.5}
%
%\begin{center}
%\large{\bfseries DECLARATION}
%\end {center}
%\vspace{1cm}
%
%
%I certify that\par
%\begin{enumerate}[label=(\alph*)]
%\item The work contained in this report has been done by me under the guidance of my supervisor.
%\item The work has not been submitted to any other Institute for any degree or diploma.
%\item I have conformed to the norms and guidelines given in the Ethical Code of Conduct of the Institute.
%\item Whenever I have used materials (data, theoretical analysis, figures, and text) from other sources, I have given due credit to them by citing them in the text of the thesis and giving their details in the references. Further, I have taken permission from the copyright owners of the sources, whenever necessary.
%\end{enumerate}
%
%\vfill
%
%
%
%
%Date: \hfill (\authorname)\par
%Place: \placesh \hfill (\rollnumber)
%
%
%
%\end{spacing}
%
%\end{titlepage}
%}
%----------------------------------------------------------------------------------------
\addtocounter{secnumdepth}{1}
\setcounter{tocdepth}{6}
\newcounter{dummy}
\newcommand\addtotoc[1]{
\refstepcounter{dummy}
\addcontentsline{toc}{chapter}{#1}}
\renewcommand\tableofcontents{
\btypeout{Table of Contents}
\addtotoc{Contents}
\begin{spacing}{1}{
\setlength{\parskip}{1pt}
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{
\MakeUppercase\contentsname}{\MakeUppercase\contentsname}}
\@starttoc{toc}
\if@restonecol\twocolumn\fi
\cleardoublepage
}\end{spacing}
}
\renewcommand\listoffigures{
\btypeout{List of Figures}
\addtotoc{List of Figures}
\begin{spacing}{1}{
\setlength{\parskip}{1pt}
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\chapter*{\listfigurename
\@mkboth{\MakeUppercase\listfigurename}
{\MakeUppercase\listfigurename}}
\@starttoc{lof}
\if@restonecol\twocolumn\fi
\cleardoublepage
}\end{spacing}
}
\renewcommand\listoftables{
\btypeout{List of Tables}
\addtotoc{List of Tables}
\begin{spacing}{1}{
\setlength{\parskip}{1pt}
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\chapter*{\listtablename
\@mkboth{
\MakeUppercase\listtablename}{\MakeUppercase\listtablename}}
\@starttoc{lot}
\if@restonecol\twocolumn\fi
\cleardoublepage
}\end{spacing}
}
\newcommand\listsymbolname{Abbreviations}
\usepackage{longtable}
\newcommand\listofsymbols[2]{
\btypeout{\listsymbolname}
\addtotoc{\listsymbolname}
\chapter*{\listsymbolname
\@mkboth{
\MakeUppercase\listsymbolname}{\MakeUppercase\listsymbolname}}
\begin{longtable}[c]{#1}#2\end{longtable}\par
\cleardoublepage
}
\newcommand\listconstants{Physical Constants}
\usepackage{longtable}
\newcommand\listofconstants[2]{
\btypeout{\listconstants}
\addtotoc{\listconstants}
\chapter*{\listconstants
\@mkboth{
\MakeUppercase\listconstants}{\MakeUppercase\listconstants}}
\begin{longtable}[c]{#1}#2\end{longtable}\par
\cleardoublepage
}
\newcommand\listnomenclature{Symbols}
\usepackage{longtable}
\newcommand\listofnomenclature[2]{
\btypeout{\listnomenclature}
\addtotoc{\listnomenclature}
\chapter*{\listnomenclature
\@mkboth{
\MakeUppercase\listnomenclature}{\MakeUppercase\listnomenclature}}
\begin{longtable}[c]{#1}#2\end{longtable}\par
\cleardoublepage
}
\newcommand\acknowledgements[1]{
\btypeout{Acknowledgements}
\addtotoc{Acknowledgements}
\thispagestyle{plain}
\begin{center}{\huge{\textit{Acknowledgements}} \par}\end{center}
{\normalsize #1}
\vfil\vfil\null
}
\newcommand\dedicatory[1]{
\btypeout{Dedicatory}
\thispagestyle{plain}
\null\vfil
\vskip 60\p@
\begin{center}{\Large \sl #1}\end{center}
\vfil\null
\cleardoublepage
}
\renewcommand\backmatter{
\if@openright
\cleardoublepage
\else
\clearpage
\fi
\addtotoc{\bibname}
\btypeout{\bibname}
\@mainmatterfalse}
\endinput