Problems with the table of contentsTable of contents problemsPretty Table of Contentsformatting of the table of contentsFormat table of contents with LaTexPage number on the left with book classVery specifically customized sections and table of contentsHow to show Mini table only sections in a chapter not other chapter?Table of contents amsartAdd entry “Contents” in Table of ContentsProblems with Table of contents and Header/Footer
Why can't we play rap on piano?
Approximately how much travel time was saved by the opening of the Suez Canal in 1869?
Are the number of citations and number of published articles the most important criteria for a tenure promotion?
Why is Minecraft giving an OpenGL error?
Filter any system log file by date or date range
What's the point of deactivating Num Lock on login screens?
Roll the carpet
Which country benefited the most from UN Security Council vetoes?
Has there ever been an airliner design involving reducing generator load by installing solar panels?
Why does Kotter return in Welcome Back Kotter?
if condition in the past
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Is it inappropriate for a student to attend their mentor's dissertation defense?
Is it possible to run Internet Explorer on OS X El Capitan?
How does one intimidate enemies without having the capacity for violence?
Alternative to sending password over mail?
Modeling an IP Address
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
Two films in a tank, only one comes out with a development error – why?
How is it possible to have an ability score that is less than 3?
Replacing matching entries in one column of a file by another column from a different file
Java Casting: Java 11 throws LambdaConversionException while 1.8 does not
DC-DC converter from low voltage at high current, to high voltage at low current
Watching something be written to a file live with tail
Problems with the table of contents
Table of contents problemsPretty Table of Contentsformatting of the table of contentsFormat table of contents with LaTexPage number on the left with book classVery specifically customized sections and table of contentsHow to show Mini table only sections in a chapter not other chapter?Table of contents amsartAdd entry “Contents” in Table of ContentsProblems with Table of contents and Header/Footer
I am facing two types of problems with the table of contents.
First, I want to remove underlining (from the section titles) and bold (from the chapter titles) from the table of contents. The page now looks like this:

For context, the reason the section titles have underlined text is that I have used underline for all section titles, as given in the below picture, which is the university formatting rule for theses:

I do not know, though, why the chapter titles are turning bold.
The second problem is that, as you can see, the table of contents does not include INTRODUCTION as the first chapter. I did use chapter code for INTRODUCTION as well though.
The Latex code for my document is large, so I am just including the code until the first chapter (INTRODUCTION) below. I hope it helps.
documentclass[12pt]report
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]geometry
usepackagesetspace
usepackageamsbsy
usepackagefancyhdr
usepackagelipsum
usepackagegraphicx
usepackageenumitem
usepackagetextcomp
usepackagelscape
usepackageamsmath
usepackagecalc
usepackage[rm,tiny]titlesec %added this to change the chapter title's font as default regular text font.
newlengthdepthofsumsign
setlengthdepthofsumsigndepthof$sum$
newlengthtotalheightofsumsign
newlengthheightanddepthofargument
usepackagepdflscape,booktabs
usepackage[flushleft]threeparttable
renewcommandTPTtagStyletextit
usepackage[font=it,skip=0.5baselineskip]caption % italic text for captions
%to put page numbers as the header
fancyhf
fancyhead[C]thepage
pagestylefancy
titleformatchapternormalfontcentering0pt
titlelabel
titlespacing*chapter0pt-25pt4pt
titleformatsectionnormalfontcentering0pt
%koleygr: Redefining chapter to include thispagestylefancy
letoldchapterchapter
makeatletter
defchapter%
@ifstar@Starred@nonStarred%
def@Starred%
@ifnextchar[%
GenericWarningWarning: A starred section can not have parameters. I am going to ignore them!@StarredWith%
@StarredWithout%
def@StarredWith[#1]#2%
oldchapter*#2%
thispagestylefancy
def@StarredWithout#1
oldchapter*#1%
thispagestylefancy
def@nonStarred%
@ifnextchar[%
@nonStarredWith%
@nonStarredWithout%
def@nonStarredWith[#1]#2%
oldchapter[#1]#2%
thispagestylefancy
def@nonStarredWithout#1%
oldchapter#1%
thispagestylefancy
makeatother
interfootnotelinepenalty=10000
begindocument
setlengthheadheight50pt %to note where the header lies.
setlengthheadsep15pt %to set the distance between header and the first line after it.
renewcommandheadrulewidth0pt
doublespacing
thispagestyleempty
begincenter
vspace*0.2in
THESIS TITLE\
vspace*0.4in
by\
Samyam Shrestha\
vspace*1.2in
singlespacing
A thesis submitted in partial fulfillment\
of the requirements for the degree\
doublespacing
of\
Master of Science\
in\
Applied Economics\
vspace*1in
UNIVERSITY\
University location\
vspace*0.2in
Date
endcenter
pagebreak
pagenumberinggobble
begincenter
vspace*1in
textcopyright COPYRIGHT\
by\
Samyam Shrestha\
2019\
All Rights Reserved
endcenter
pagebreak
begincenter
ACKNOWLEDGEMENTS
endcenter
Acknowledgement text
pagebreak
tableofcontents
pagebreak
begincenter
ABSTRACT
endcenter
singlespacing
noindent
Abstract text\
pagebreak
pagenumberingarabic
setcounterpage1
doublespacing
chapterINTRODUCTION
Introduction starts
Thanks loads!
table-of-contents formatting bold underline
add a comment |
I am facing two types of problems with the table of contents.
First, I want to remove underlining (from the section titles) and bold (from the chapter titles) from the table of contents. The page now looks like this:

For context, the reason the section titles have underlined text is that I have used underline for all section titles, as given in the below picture, which is the university formatting rule for theses:

I do not know, though, why the chapter titles are turning bold.
The second problem is that, as you can see, the table of contents does not include INTRODUCTION as the first chapter. I did use chapter code for INTRODUCTION as well though.
The Latex code for my document is large, so I am just including the code until the first chapter (INTRODUCTION) below. I hope it helps.
documentclass[12pt]report
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]geometry
usepackagesetspace
usepackageamsbsy
usepackagefancyhdr
usepackagelipsum
usepackagegraphicx
usepackageenumitem
usepackagetextcomp
usepackagelscape
usepackageamsmath
usepackagecalc
usepackage[rm,tiny]titlesec %added this to change the chapter title's font as default regular text font.
newlengthdepthofsumsign
setlengthdepthofsumsigndepthof$sum$
newlengthtotalheightofsumsign
newlengthheightanddepthofargument
usepackagepdflscape,booktabs
usepackage[flushleft]threeparttable
renewcommandTPTtagStyletextit
usepackage[font=it,skip=0.5baselineskip]caption % italic text for captions
%to put page numbers as the header
fancyhf
fancyhead[C]thepage
pagestylefancy
titleformatchapternormalfontcentering0pt
titlelabel
titlespacing*chapter0pt-25pt4pt
titleformatsectionnormalfontcentering0pt
%koleygr: Redefining chapter to include thispagestylefancy
letoldchapterchapter
makeatletter
defchapter%
@ifstar@Starred@nonStarred%
def@Starred%
@ifnextchar[%
GenericWarningWarning: A starred section can not have parameters. I am going to ignore them!@StarredWith%
@StarredWithout%
def@StarredWith[#1]#2%
oldchapter*#2%
thispagestylefancy
def@StarredWithout#1
oldchapter*#1%
thispagestylefancy
def@nonStarred%
@ifnextchar[%
@nonStarredWith%
@nonStarredWithout%
def@nonStarredWith[#1]#2%
oldchapter[#1]#2%
thispagestylefancy
def@nonStarredWithout#1%
oldchapter#1%
thispagestylefancy
makeatother
interfootnotelinepenalty=10000
begindocument
setlengthheadheight50pt %to note where the header lies.
setlengthheadsep15pt %to set the distance between header and the first line after it.
renewcommandheadrulewidth0pt
doublespacing
thispagestyleempty
begincenter
vspace*0.2in
THESIS TITLE\
vspace*0.4in
by\
Samyam Shrestha\
vspace*1.2in
singlespacing
A thesis submitted in partial fulfillment\
of the requirements for the degree\
doublespacing
of\
Master of Science\
in\
Applied Economics\
vspace*1in
UNIVERSITY\
University location\
vspace*0.2in
Date
endcenter
pagebreak
pagenumberinggobble
begincenter
vspace*1in
textcopyright COPYRIGHT\
by\
Samyam Shrestha\
2019\
All Rights Reserved
endcenter
pagebreak
begincenter
ACKNOWLEDGEMENTS
endcenter
Acknowledgement text
pagebreak
tableofcontents
pagebreak
begincenter
ABSTRACT
endcenter
singlespacing
noindent
Abstract text\
pagebreak
pagenumberingarabic
setcounterpage1
doublespacing
chapterINTRODUCTION
Introduction starts
Thanks loads!
table-of-contents formatting bold underline
add a comment |
I am facing two types of problems with the table of contents.
First, I want to remove underlining (from the section titles) and bold (from the chapter titles) from the table of contents. The page now looks like this:

For context, the reason the section titles have underlined text is that I have used underline for all section titles, as given in the below picture, which is the university formatting rule for theses:

I do not know, though, why the chapter titles are turning bold.
The second problem is that, as you can see, the table of contents does not include INTRODUCTION as the first chapter. I did use chapter code for INTRODUCTION as well though.
The Latex code for my document is large, so I am just including the code until the first chapter (INTRODUCTION) below. I hope it helps.
documentclass[12pt]report
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]geometry
usepackagesetspace
usepackageamsbsy
usepackagefancyhdr
usepackagelipsum
usepackagegraphicx
usepackageenumitem
usepackagetextcomp
usepackagelscape
usepackageamsmath
usepackagecalc
usepackage[rm,tiny]titlesec %added this to change the chapter title's font as default regular text font.
newlengthdepthofsumsign
setlengthdepthofsumsigndepthof$sum$
newlengthtotalheightofsumsign
newlengthheightanddepthofargument
usepackagepdflscape,booktabs
usepackage[flushleft]threeparttable
renewcommandTPTtagStyletextit
usepackage[font=it,skip=0.5baselineskip]caption % italic text for captions
%to put page numbers as the header
fancyhf
fancyhead[C]thepage
pagestylefancy
titleformatchapternormalfontcentering0pt
titlelabel
titlespacing*chapter0pt-25pt4pt
titleformatsectionnormalfontcentering0pt
%koleygr: Redefining chapter to include thispagestylefancy
letoldchapterchapter
makeatletter
defchapter%
@ifstar@Starred@nonStarred%
def@Starred%
@ifnextchar[%
GenericWarningWarning: A starred section can not have parameters. I am going to ignore them!@StarredWith%
@StarredWithout%
def@StarredWith[#1]#2%
oldchapter*#2%
thispagestylefancy
def@StarredWithout#1
oldchapter*#1%
thispagestylefancy
def@nonStarred%
@ifnextchar[%
@nonStarredWith%
@nonStarredWithout%
def@nonStarredWith[#1]#2%
oldchapter[#1]#2%
thispagestylefancy
def@nonStarredWithout#1%
oldchapter#1%
thispagestylefancy
makeatother
interfootnotelinepenalty=10000
begindocument
setlengthheadheight50pt %to note where the header lies.
setlengthheadsep15pt %to set the distance between header and the first line after it.
renewcommandheadrulewidth0pt
doublespacing
thispagestyleempty
begincenter
vspace*0.2in
THESIS TITLE\
vspace*0.4in
by\
Samyam Shrestha\
vspace*1.2in
singlespacing
A thesis submitted in partial fulfillment\
of the requirements for the degree\
doublespacing
of\
Master of Science\
in\
Applied Economics\
vspace*1in
UNIVERSITY\
University location\
vspace*0.2in
Date
endcenter
pagebreak
pagenumberinggobble
begincenter
vspace*1in
textcopyright COPYRIGHT\
by\
Samyam Shrestha\
2019\
All Rights Reserved
endcenter
pagebreak
begincenter
ACKNOWLEDGEMENTS
endcenter
Acknowledgement text
pagebreak
tableofcontents
pagebreak
begincenter
ABSTRACT
endcenter
singlespacing
noindent
Abstract text\
pagebreak
pagenumberingarabic
setcounterpage1
doublespacing
chapterINTRODUCTION
Introduction starts
Thanks loads!
table-of-contents formatting bold underline
I am facing two types of problems with the table of contents.
First, I want to remove underlining (from the section titles) and bold (from the chapter titles) from the table of contents. The page now looks like this:

For context, the reason the section titles have underlined text is that I have used underline for all section titles, as given in the below picture, which is the university formatting rule for theses:

I do not know, though, why the chapter titles are turning bold.
The second problem is that, as you can see, the table of contents does not include INTRODUCTION as the first chapter. I did use chapter code for INTRODUCTION as well though.
The Latex code for my document is large, so I am just including the code until the first chapter (INTRODUCTION) below. I hope it helps.
documentclass[12pt]report
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]geometry
usepackagesetspace
usepackageamsbsy
usepackagefancyhdr
usepackagelipsum
usepackagegraphicx
usepackageenumitem
usepackagetextcomp
usepackagelscape
usepackageamsmath
usepackagecalc
usepackage[rm,tiny]titlesec %added this to change the chapter title's font as default regular text font.
newlengthdepthofsumsign
setlengthdepthofsumsigndepthof$sum$
newlengthtotalheightofsumsign
newlengthheightanddepthofargument
usepackagepdflscape,booktabs
usepackage[flushleft]threeparttable
renewcommandTPTtagStyletextit
usepackage[font=it,skip=0.5baselineskip]caption % italic text for captions
%to put page numbers as the header
fancyhf
fancyhead[C]thepage
pagestylefancy
titleformatchapternormalfontcentering0pt
titlelabel
titlespacing*chapter0pt-25pt4pt
titleformatsectionnormalfontcentering0pt
%koleygr: Redefining chapter to include thispagestylefancy
letoldchapterchapter
makeatletter
defchapter%
@ifstar@Starred@nonStarred%
def@Starred%
@ifnextchar[%
GenericWarningWarning: A starred section can not have parameters. I am going to ignore them!@StarredWith%
@StarredWithout%
def@StarredWith[#1]#2%
oldchapter*#2%
thispagestylefancy
def@StarredWithout#1
oldchapter*#1%
thispagestylefancy
def@nonStarred%
@ifnextchar[%
@nonStarredWith%
@nonStarredWithout%
def@nonStarredWith[#1]#2%
oldchapter[#1]#2%
thispagestylefancy
def@nonStarredWithout#1%
oldchapter#1%
thispagestylefancy
makeatother
interfootnotelinepenalty=10000
begindocument
setlengthheadheight50pt %to note where the header lies.
setlengthheadsep15pt %to set the distance between header and the first line after it.
renewcommandheadrulewidth0pt
doublespacing
thispagestyleempty
begincenter
vspace*0.2in
THESIS TITLE\
vspace*0.4in
by\
Samyam Shrestha\
vspace*1.2in
singlespacing
A thesis submitted in partial fulfillment\
of the requirements for the degree\
doublespacing
of\
Master of Science\
in\
Applied Economics\
vspace*1in
UNIVERSITY\
University location\
vspace*0.2in
Date
endcenter
pagebreak
pagenumberinggobble
begincenter
vspace*1in
textcopyright COPYRIGHT\
by\
Samyam Shrestha\
2019\
All Rights Reserved
endcenter
pagebreak
begincenter
ACKNOWLEDGEMENTS
endcenter
Acknowledgement text
pagebreak
tableofcontents
pagebreak
begincenter
ABSTRACT
endcenter
singlespacing
noindent
Abstract text\
pagebreak
pagenumberingarabic
setcounterpage1
doublespacing
chapterINTRODUCTION
Introduction starts
Thanks loads!
table-of-contents formatting bold underline
table-of-contents formatting bold underline
asked 7 mins ago
Samyam ShresthaSamyam Shrestha
374
374
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483427%2fproblems-with-the-table-of-contents%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483427%2fproblems-with-the-table-of-contents%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown