TeX - LaTeX Asked on March 11, 2021
I have a problem with compiling my LaTeX script and I have this error:
Missing endcsname inserted
Here is the thesis template which I run and the error basically comes from the line that I have: begin{document}
.
Any idea how to fix it?
% MNRAS Manuscript Template
documentclass[useams,onecolumn,usenatbib,twoside]{Thesis}
%pdfminorversion=5
%
usepackage[T1]{fontenc}
%
usepackage{fancyhdr}
pagestyle{fancy}
%
usepackage{titlesec}
usepackage{graphicx}
usepackage{longtable}
usepackage{lettrine}
%
usepackage{enumitem} %use to remove spacing in bullet points
%
usepackage{natbib}
usepackage{amsmath}
usepackage{setspace}
%usepackage{pdfpages}
%usepackage[times,hyper]{Rd}
usepackage[utf8,latin1]{inputenc}
%includepdfset{offset=2cm -2cm}
usepackage{setspace}
%usepackage{lscape}
usepackage{makeidx}
usepackage{pdflscape,array,booktabs}
usepackage{rotating}
graphicspath{{./images/}}
usepackage[table,xcdraw,svgnames]{xcolor}
%usepackage[colorlinks=true,
% citecolor=blue,
% linkcolor=blue,
% urlcolor=red,
% linktocpage=true,
% hyperfootnotes=false]{hyperref}
hypersetup{final}
hypersetup{citecolor=CornflowerBlue}
hypersetup{linkcolor=CornflowerBlue}
hypersetup{urlcolor=CornflowerBlue}
defPlanck{,{em Planck}}
defie{,{rm i.e.},}
defeg{,{rm e.g.},}
defum{{rm $mu$m},}
defsdss{{sc sdss}}
defviking{{sc viking}}
defhatlas{{sc h-atlas}}
defwise{{em WISE}}
defvista{{sc vista}}
defgalex{{em GALEX}}
deflambdar{{sc lambdar}}
deflamsc{{sc lambdar}}
defmagphys{{sc magphys}}
definterest{{sc interest}}
defbbf{}
%
% For Revisions: use bbf to make revised text bold,
% and uncomment the below. For final
% submission, re-comment the line to
% remove the bold-ness.
%defbbf{bf}
newcommandaap{A&A} % Astronomy and Astrophysics
letastap=aap % alternative shortcut
newcommandaapr{A&ARv} % Astronomy and Astrophysics Review (the)
newcommandaaps{A&AS} % Astronomy and Astrophysics Supplement Series
newcommandactaa{Acta Astron.} % Acta Astronomica
newcommandafz{Afz} % Astrofizika
newcommandaj{AJ} % Astronomical Journal (the)
newcommandao{Appl. Opt.} % Applied Optics
letapplopt=ao % alternative shortcut
newcommandaplett{Astrophys.~Lett.} % Astrophysics Letters
newcommandapj{ApJ} % Astrophysical Journal
newcommandapjl{ApJ} % Astrophysical Journal, Letters
letapjlett=apjl % alternative shortcut
newcommandapjs{ApJS} % Astrophysical Journal, Supplement
letapjsupp=apjs % alternative shortcut
% The following journal does not appear to exist! Disabled.
%newcommandapspr{Astrophys.~Space~Phys.~Res.} % Astrophysics Space Physics Research
newcommandapss{Ap&SS} % Astrophysics and Space Science
newcommandaraa{ARA&A} % Annual Review of Astronomy and Astrophysics
newcommandarep{Astron. Rep.} % Astronomy Reports
newcommandaspc{ASP Conf. Ser.} % ASP Conference Series
newcommandazh{Azh} % Astronomicheskii Zhurnal
newcommandbaas{BAAS} % Bulletin of the American Astronomical Society
newcommandbac{Bull. Astron. Inst. Czechoslovakia} % Bulletin of the Astronomical Institutes of Czechoslovakia
newcommandbain{Bull. Astron. Inst. Netherlands} % Bulletin Astronomical Institute of the Netherlands
newcommandcaa{Chinese Astron. Astrophys.} % Chinese Astronomy and Astrophysics
newcommandcjaa{Chinese J.~Astron. Astrophys.} % Chinese Journal of Astronomy and Astrophysics
newcommandfcp{Fundamentals Cosmic Phys.} % Fundamentals of Cosmic Physics
newcommandgca{Geochimica Cosmochimica Acta} % Geochimica Cosmochimica Acta
newcommandgrl{Geophys. Res. Lett.} % Geophysics Research Letters
newcommandiaucirc{IAU~Circ.} % IAU Cirulars
newcommandicarus{Icarus} % Icarus
newcommandjapa{J.~Astrophys. Astron.} % Journal of Astrophysics and Astronomy
newcommandjcap{J.~Cosmology Astropart. Phys.} % Journal of Cosmology and Astroparticle Physics
newcommandjcp{J.~Chem.~Phys.} % Journal of Chemical Physics
newcommandjgr{J.~Geophys.~Res.} % Journal of Geophysics Research
newcommandjqsrt{J.~Quant. Spectrosc. Radiative Transfer} % Journal of Quantitiative Spectroscopy and Radiative Transfer
newcommandjrasc{J.~R.~Astron. Soc. Canada} % Journal of the RAS of Canada
newcommandmemras{Mem.~RAS} % Memoirs of the RAS
newcommandmemsai{Mem. Soc. Astron. Italiana} % Memoire della Societa Astronomica Italiana
newcommandmnassa{MNASSA} % Monthly Notes of the Astronomical Society of Southern Africa
newcommandmnras{MNRAS} % Monthly Notices of the Royal Astronomical Society
%newcommandna{New~Astron.} % New Astronomy
newcommandnar{New~Astron.~Rev.} % New Astronomy Review
newcommandnat{Nature} % Nature
newcommandnphysa{Nuclear Phys.~A} % Nuclear Physics A
newcommandphdt{PhD.T} % PhD Thesis
newcommandpra{Phys. Rev.~A} % Physical Review A: General Physics
newcommandprb{Phys. Rev.~B} % Physical Review B: Solid State
newcommandprc{Phys. Rev.~C} % Physical Review C
newcommandprd{Phys. Rev.~D} % Physical Review D
newcommandpre{Phys. Rev.~E} % Physical Review E
newcommandprl{Phys. Rev.~Lett.} % Physical Review Letters
newcommandpasa{Publ. Astron. Soc. Australia} % Publications of the Astronomical Society of Australia
newcommandpasp{PASP} % Publications of the Astronomical Society of the Pacific
newcommandpasj{PASJ} % Publications of the Astronomical Society of Japan
newcommandphysrep{Phys.~Rep.} % Physics Reports
newcommandphysscr{Phys.~Scr.} % Physica Scripta
newcommandplanss{Planet. Space~Sci.} % Planetary Space Science
newcommandprocspie{Proc.~SPIE} % Proceedings of the Society of Photo-Optical Instrumentation Engineers
newcommandrmxaa{Rev. Mex. Astron. Astrofis.} % Revista Mexicana de Astronomia y Astrofisica
newcommandqjras{QJRAS} % Quarterly Journal of the RAS
newcommandsci{Science} % Science
newcommandskytel{Sky & Telesc.} % Sky and Telescope
newcommandsolphys{Sol.~Phys.} % Solar Physics
newcommandsovast{Soviet~Ast.} % Soviet Astronomy (aka Astronomy Reports)
newcommandssr{Space Sci. Rev.} % Space Science Reviews
newcommandzap{Z.~Astrophys.} % Zeitschrift fuer Astrophysik
%%%%%
% Rd functions
%%%%%
%defAsIs{bgroupletdo@makeotherRd@AsIs@dospecials@noligsobeylines@vobeyspacesparskipz@skipRd@AsIsX}
%defRd@AsIs@dospecials{do$do&do#do^do_do%do~}
%defRd@AsIsX#1{normalfont #1egroup}
% Arxiver Figure selection: Declare Figures to show on Arxiver
% ___Leave Commented out, just change the Figure Names___
% __Just use Figure Names, Path is determined internally__
%@arxiver{Figure1.png,Figure4.pdf,Figure5.eps}
newcommand{HRule}{rule{linewidth}{0.5mm}}
%%%%%
makeatletter
defthickhrulefill{leavevmode leaders hrule height 1ex hfill kern z@}
def@makechapterhead#1{%
%vspace*{50p@}%
vspace*{10p@}%
{parindent z@ centering reset@font
thickhrulefillquad
scshape @chapapp{} thechapter
quad thickhrulefill
parnobreak
vspace*{10p@}%
interlinepenalty@M
hrule
vspace*{10p@}%
Huge bfseries #1parnobreak
par
vspace*{10p@}%
hrule
%vskip 40p@
vskip 100p@
}}
def@makeschapterhead#1{%
%vspace*{50p@}%
vspace*{10p@}%
{parindent z@ centering reset@font
thickhrulefill
parnobreak
vspace*{10p@}%
interlinepenalty@M
hrule
vspace*{10p@}%
Huge bfseries #1parnobreak
par
vspace*{10p@}%
hrule
%vskip 40p@
vskip 100p@
}}
%%%%%
makeindex{}
begin{document}
%pagestyle{plain}
pagenumbering{roman}
DeclareGraphicsExtensions{.pdf,.png,.gif,.jpg}
%----------------------------------------------------------------------------------
% Title Page
%----------------------------------------------------------------------------------
begin{titlepage}
begin{center}
textsc {LARGE The University of SomeWhere}[0.5cm]
textsc {LARGE & }[0.5cm]
textsc {LARGE }[0.2cm]
textsc {LARGE }[1.5cm]
textsc{School of Lablab}[0.5cm]
LARGE PhD Thesis[0.5cm]
% Title
HRule [0.4cm]
{ huge bfseries
My Thesis Title
}[0.4cm]
HRule [0.5cm]
% Author and supervisor
begin{minipage}{0.45textwidth}
begin{flushleft} large
emph{Author:}
S textsc{Kvspace{2cm}}
end{flushleft}
end{minipage}
begin{minipage}{0.45textwidth}
begin{flushright} large
emph{Supervisors:}
W/Prof. S textsc{D}
A/Prof. A textsc{R}
Dr. L textsc{D}
end{flushright}
end{minipage}
vfill
begin{minipage}{0.7textwidth}
centering
includegraphics[width=1textwidth]{./images/logo.png}
end{minipage} [0.5cm]
% Bottom of the page
{large today}
end{center}
end{titlepage}
%----------------------------------------------------------------------------------
% Preamble
%----------------------------------------------------------------------------------
clearpage
include{Preamble}
cleardoublepage
pagenumbering{arabic}
%----------------------------------------------------------------------------------
% Content
%----------------------------------------------------------------------------------
%Chapter One: Introduction
include{ChapterOne}
%Chapter Two:
include{ChapterTwo}
%Chapter Three:
include{ChapterThree}
%Chapter Four:
include{ChapterFour}
%Chapter Five:
include{ChapterFive}
%Chapter Six:
include{ChapterSix}
cleardoublepage
addcontentsline{toc}{chapter}{References}
bibliographystyle{mnras}
bibliography{library}
appendix
include{AppendixOne}
include{AppendixTwo}
include{AppendixThree}
printindex{}
end{document}
and here is the Thesis.cls
:
%% 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
NeedsTeXFormat{LaTeX2e}[1996/12/01]
ProvidesClass{Thesis}
[2007/22/02 v1.0
LaTeX document class]
defbaseclass{book}
DeclareOption*{PassOptionsToClass{CurrentOption}{baseclass}}
def@checkoptions#1#2{
edef@curroptions{@ptionlist{@currname.@currext}}
@tempswafalse
@tfor@this:=#2do{
@expandtwoargsin@{,@this,}{,@curroptions,}
ifin@ @tempswatrue @break@tfor fi}
let@this@empty
if@tempswa else PassOptionsToClass{#1}{baseclass}fi
}
@checkoptions{12pt}{{10pt}{11pt}{12pt}}
PassOptionsToClass{a4paper}{baseclass}
ProcessOptionsrelax
LoadClass{baseclass}
newcommandbhrule{typeout{------------------------------------------------------------------------------}}
usepackage{geometry}
newcommandDeclaration[1]{
btypeout{Declaration of Authorship}
addtotoc{Declaration of Authorship}
thispagestyle{plain}
nullvfil
%vskip 60p@
begin{center}{hugebf Declaration of Authorshippar}end{center}
%vskip 60p@
{normalsize #1}
vfilvfilnull
%cleardoublepage
}
newcommandbtypeout[1]{bhruletypeout{space #1}bhrule}
deftoday{ifcasemonthor
Januaryor Februaryor Marchor Aprilor Mayor Juneor
Julyor Augustor Septemberor Octoberor Novemberor Decemberfi
space numberyear}
usepackage{setspace}
onehalfspacing
setlength{parindent}{0pt}
setlength{parskip}{2.0ex plus0.5ex minus0.2ex}
usepackage{vmargin}
setmarginsrb { 4cm} % left margin
{ 2cm} % top margin
{ 2cm} % right margin
{ 2cm} % bottom margin
{ 10pt} % head height
{0.25in} % head sep
{ 9pt} % foot height
{ 0.3in} % foot sep
raggedbottom
%setlength{topskip}{1topskip @plus 5p@}
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[rmthepage]{fancyplain{}{sl{rightmark}}}
rhead[fancyplain{}{sl{leftmark}}]{rmthepage}
chead{}lfoot{}rfoot{}cfoot{}
pagestyle{fancy}
renewcommand{chaptermark}[1]{btypeout{thechapterspace #1}markboth{@chapapp thechapter #1}{@chapapp thechapter #1}}
renewcommand{sectionmark}[1]{}
renewcommand{subsectionmark}[1]{}
defcleardoublepage{clearpageif@twoside ifoddc@pageelse
hbox{}
thispagestyle{empty}
newpage
if@twocolumnhbox{}newpagefififi}
usepackage{amsmath,amsfonts,amssymb,amscd,amsthm,xspace}
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=scriptsizettfamily,
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,
bookmarksnumbered=true,hypertexnames=true,
colorlinks,linkcolor={blue},citecolor={green},urlcolor={blue},
pdfstartview={FitV},unicode,breaklinks=true]{hyperref}
usepackage[colorlinks]{hyperref}
pdfstringdefDisableCommands{
letspace
}
newcommand*{supervisor}[1]{defsupname{#1}}
newcommand*{examiner}[1]{defexamname{#1}}
newcommand*{degree}[1]{defdegreename{#1}}
newcommand*{authors}[1]{defauthornames{#1}}
newcommand*{addresses}[1]{defaddressnames{#1}}
newcommand*{university}[1]{defunivname{#1}}
newcommand*{UNIVERSITY}[1]{defUNIVNAME{#1}}
newcommand*{department}[1]{defdeptname{#1}}
newcommand*{DEPARTMENT}[1]{defDEPTNAME{#1}}
newcommand*{group}[1]{defgroupname{#1}}
newcommand*{GROUP}[1]{defGROUPNAME{#1}}
newcommand*{faculty}[1]{deffacname{#1}}
newcommand*{FACULTY}[1]{defFACNAME{#1}}
newcommand*{subject}[1]{defsubjectname{#1}}
newcommand*{keywords}[1]{defkeywordnames{#1}}
supervisor {}
examiner {}
degree {}
authors {}
university {texorpdfstring{href{University Web Site URL Here (include http://)}
{The University}}
{The University}}
UNIVERSITY {texorpdfstring{href{University Web Site URL Here (include http://)}
{THE UNIVERSITY}}
{THE UNIVERSITY}}
department {texorpdfstring{href{Department or School Web Site URL Here (include http://)}
{School}}
{School}}
DEPARTMENT {texorpdfstring{href{Department or School Web Site URL Here (include http://)}
{SCHOOL OF PHYSICS}}
{SCHOOL OF PHYSICS}}
group {texorpdfstring{href{Research Group Web Site URL Here (include http://)}
{International}}
{International}}
GROUP {texorpdfstring{href{Research Group Web Site URL Here (include http://)}
{INTERNATIONAL}}
{INTERNATIONAL}}
faculty {texorpdfstring{href{Faculty Web Site URL Here (include http://)}
{Physical Science}}
{Physical Science}}
FACULTY {texorpdfstring{href{Faculty Web Site URL Here (include http://)}
{PHYSICAL SCIENCE}}
{PHYSICAL SCIENCE}}
addresses {}
subject {}
keywords {}
renewcommandmaketitle{
btypeout{Title Page}
hypersetup{pdftitle={@title}}
hypersetup{pdfsubject=subjectname}
hypersetup{pdfauthor=authornames}
hypersetup{pdfkeywords=keywordnames}
thispagestyle{empty}
begin{titlepage}
letfootnotesizesmall
letfootnoterulerelax
let footnote thanks
setcounter{footnote}{0}
nullvfil
vskip 60p@
begin{center}
setlength{parskip}{0pt}
{largetextbf{UNIVNAME}par}
vfill
{huge bf @title par}
vfill
{LARGE by par}
smallskip
{LARGE authornames par}
vfill
{large This thesis is presented for the degree of par}
{large Doctor of Philosophy par}
{large at the University par}
bigskip
bigskip
bigskip
{Large @date par}
bigskip
end{center}
par
@thanks
vfilnull
end{titlepage}
setcounter{footnote}{0}%
globalletthanksrelax
globalletmaketitlerelax
globallet@thanks@empty
globallet@author@empty
globallet@date@empty
globallet@title@empty
globallettitlerelax
globalletauthorrelax
globalletdaterelax
globalletandrelax
cleardoublepage
}
newenvironment{abstract}
{
btypeout{Abstract Page}
thispagestyle{empty}
nullvfil
begin{center}
setlength{parskip}{0pt}
{huge{textit{Abstract}} par}
end{center}
}
{
vfilvfilvfilnull
cleardoublepage
}
addtocounter{secnumdepth}{1}
setcounter{tocdepth}{6}
newcounter{dummy}
newcommandaddtotoc[1]{
refstepcounter{dummy}
addcontentsline{toc}{chapter}{#1}}
renewcommandtableofcontents{
btypeout{Table of Contents}
begin{spacing}{1}{
setlength{parskip}{1pt}
if@twocolumn
@restonecoltrueonecolumn
else
@restonecolfalse
fi
chapter*{contentsname
@mkboth{
MakeUppercasecontentsname}{MakeUppercasecontentsname}}
@starttoc{toc}
if@restonecoltwocolumnfi
cleardoublepage
}end{spacing}
}
renewcommandlistoffigures{
btypeout{List of Figures}
addtotoc{List of Figures}
begin{spacing}{1}{
setlength{parskip}{1pt}
if@twocolumn
@restonecoltrueonecolumn
else
@restonecolfalse
fi
chapter*{listfigurename
@mkboth{MakeUppercaselistfigurename}
{MakeUppercaselistfigurename}}
@starttoc{lof}
if@restonecoltwocolumnfi
cleardoublepage
}end{spacing}
}
renewcommandlistoftables{
btypeout{List of Tables}
addtotoc{List of Tables}
begin{spacing}{1}{
setlength{parskip}{1pt}
if@twocolumn
@restonecoltrueonecolumn
else
@restonecolfalse
fi
chapter*{listtablename
@mkboth{
MakeUppercaselisttablename}{MakeUppercaselisttablename}}
@starttoc{lot}
if@restonecoltwocolumnfi
cleardoublepage
}end{spacing}
}
newcommandlistsymbolname{Abbreviations}
usepackage{longtable}
newcommandlistofsymbols[2]{
btypeout{listsymbolname}
addtotoc{listsymbolname}
chapter*{listsymbolname
@mkboth{
MakeUppercaselistsymbolname}{MakeUppercaselistsymbolname}}
begin{longtable}[c]{#1}#2end{longtable}par
cleardoublepage
}
newcommandlistconstants{Physical Constants}
usepackage{longtable}
newcommandlistofconstants[2]{
btypeout{listconstants}
addtotoc{listconstants}
chapter*{listconstants
@mkboth{
MakeUppercaselistconstants}{MakeUppercaselistconstants}}
begin{longtable}[c]{#1}#2end{longtable}par
cleardoublepage
}
newcommandlistnomenclature{Symbols}
usepackage{longtable}
newcommandlistofnomenclature[2]{
btypeout{listnomenclature}
addtotoc{listnomenclature}
chapter*{listnomenclature
@mkboth{
MakeUppercaselistnomenclature}{MakeUppercaselistnomenclature}}
begin{longtable}[c]{#1}#2end{longtable}par
cleardoublepage
}
newcommandacknowledgements[1]{
btypeout{Acknowledgements}
addtotoc{Acknowledgements}
thispagestyle{plain}
begin{center}{huge{textit{Acknowledgements}} par}end{center}
{normalsize #1}
vfilvfilnull
}
newcommanddedicatory[1]{
btypeout{Dedicatory}
thispagestyle{plain}
nullvfil
vskip 60p@
begin{center}{Large sl #1}end{center}
vfilnull
cleardoublepage
}
renewcommandbackmatter{
if@openright
cleardoublepage
else
clearpage
fi
addtotoc{bibname}
btypeout{bibname}
@mainmatterfalse}
endinput
%%
%% End of file `Thesis.cls'.
and finally my Preamble.tex as:
%
% Preamble
%
%----------------------------------------------------------------------------------
% Abstract
%----------------------------------------------------------------------------------
cleardoublepage
begin{minipage}{13cm}
addcontentsline{toc}{chapter}{Abstract}
begin{center}
vspace{0.25in}
{Huge bfseries Abstract}
end{center}
input{Abstract}
end{minipage}
clearpage
%----------------------------------------------------------------------------------
% Quote
%----------------------------------------------------------------------------------
thispagestyle{empty}
begin{minipage}{13cm}
vspace{3in}
begin{center}
%{Largehfill``This is a terrible choice for a quote!''hfill }
end{center}
end{minipage}
clearpage
thispagestyle{empty}
%----------------------------------------------------------------------------------
% Acknowledgements
%----------------------------------------------------------------------------------
%Acknowledgements
clearpage
begin{minipage}{13cm}
addcontentsline{toc}{chapter}{Acknowledgements}
begin{center}
vspace{1in}
{Huge bfseries Acknowledgements}
end{center}
input{Acknowledgements}
end{minipage}
%----------------------------------------------------------------------------------
% ToC
%----------------------------------------------------------------------------------
clearpage
tableofcontents
%----------------------------------------------------------------------------------
% LoF
%----------------------------------------------------------------------------------
clearpage
listoffigures
%----------------------------------------------------------------------------------
% LoT
%----------------------------------------------------------------------------------
clearpage
listoftables
%----------------------------------------------------------------------------------
% Preface
%----------------------------------------------------------------------------------
clearpage
begin{minipage}{13cm}
begin{center}
addcontentsline{toc}{chapter}{Preface}
{Huge bfseries Preface}
end{center}
input{Preface}
end{minipage}
You commented out the use of the hyperref
package, thus causing the hypersetup
command not to be recognized. Get rid of the %
s in front of lines 32--37. See the documentation for the hyperref
package regarding setting colors for the various link types.
Answered by bishopcranmer on March 11, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP