Table of Contents customization
I need help to get
the ToC heading in the center of the page. The code
renewcommand{contentsname}{centering Table of Contents}
did not work for me.
I need the dots after the chapter names to be bold face.
The Glossary and List of symbols also appear in the toc. I need to remove these from the ToC as well.
My code is as follows;
documentclass[12pt,a4paper]{report}
usepackage[utf8]{inputenc}
hyphenation{signifi-cant im-proved tele-communication}
usepackage[hidelinks]{hyperref}
hypersetup{colorlinks=true,allcolors=black}
usepackage{fancyhdr}
fancypagestyle{fancyhf}{
fancyhead[L]{nouppercase{textbf{leftmark}}}
fancyhead[R]{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0.1pt}
}
fancypagestyle{plain}{
fancyhead{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0pt}
}
usepackage{tocloft}
%renewcommand{cftpartleader}{cftdotfill{cftdotsep}} % for parts
renewcommand{cftchapleader}{cftdotfill{cftdotsep}} % for chapters
renewcommand{contentsname}{hfillbfseriesLarge Table of Contentshfill}
%renewcommand{cftaftertoctitle}{hfill}
%renewcommand{contentsname}{Table of Contents}
usepackage{datetime}
usepackage{enumitem}
usepackage[printonlyused]{acronym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mathtools}
usepackage{amsfonts}
usepackage[ruled,vlined]{algorithm2e}
newcommandmycommfont[1]{footnotesizettfamilytextcolor{blue}{#1}}
SetCommentSty{mycommfont}
usepackage{caption}
usepackage{graphicx}
graphicspath{{fig/}{graphs/}}
usepackage[backend=bibtex,style=ieee,sorting=none,minnames=1]{biblatex}
usepackage{array}
usepackage[table]{xcolor}
usepackage[automake,style=long,symbols,nonumberlist]{glossaries-extra}
makeglossaries
loadglsentries{symbols}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
renewcommand{baselinestretch}{1.5}
addbibresource{references.bib}
%custom commands
renewcommand{vec}[1]{boldsymbol{mathit{#1}}}
% Title Page
title{MS Thesis}
author{Imdad Ul Haq}
date{today --- currenttime}
begin{document}
%maketitle
pagenumbering{roman}
pagestyle{plain}
setcounter{page}{9}
%include{front_page}
%include{thesis_title}
%include{supurvisor_consent}
%include{final_approval}
%include{declaration}
%include{certificate}
%include{dedication}
%include{acknowledgments}
include{abstract}
begin{normalsize}
tableofcontents
% ifxtotalfigures
listoffigures
% fi
end{normalsize}
%listoftables
ifxtotaltables
listoftables
fi
include{abbreviations}
printglossaries[symbols,style=long,title={List of Symbols}]
pagenumbering{arabic}
pagestyle{fancyhf}
begin{normalsize}
chapter{Introduction}label{chap_1}
include{chap_1}
chapter{Background Theory and Literature Review}label{chap_2}
include{chap_2}
chapter{System Model for NOMA in Sparse Multipath Propagation Environments}label{chap_3}
include{chap_3}
chapter{Channel Estimation Techniques based on SiT coupled with CS Theory}label{chap_4}
include{chap_4}
chapter{Performance Evaluation of Proposed Channel Estimation Techniques}label{chap_5}
include{chap_5}
chapter{Conclusion}label{chap_6}
include{chap_6}
renewcommand*{UrlFont}{rmfamily}
printbibliography
chapter*{sample symbols}
include{sym_rough}
end{normalsize}
end{document}
table-of-contents symbols tocloft
add a comment |
I need help to get
the ToC heading in the center of the page. The code
renewcommand{contentsname}{centering Table of Contents}
did not work for me.
I need the dots after the chapter names to be bold face.
The Glossary and List of symbols also appear in the toc. I need to remove these from the ToC as well.
My code is as follows;
documentclass[12pt,a4paper]{report}
usepackage[utf8]{inputenc}
hyphenation{signifi-cant im-proved tele-communication}
usepackage[hidelinks]{hyperref}
hypersetup{colorlinks=true,allcolors=black}
usepackage{fancyhdr}
fancypagestyle{fancyhf}{
fancyhead[L]{nouppercase{textbf{leftmark}}}
fancyhead[R]{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0.1pt}
}
fancypagestyle{plain}{
fancyhead{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0pt}
}
usepackage{tocloft}
%renewcommand{cftpartleader}{cftdotfill{cftdotsep}} % for parts
renewcommand{cftchapleader}{cftdotfill{cftdotsep}} % for chapters
renewcommand{contentsname}{hfillbfseriesLarge Table of Contentshfill}
%renewcommand{cftaftertoctitle}{hfill}
%renewcommand{contentsname}{Table of Contents}
usepackage{datetime}
usepackage{enumitem}
usepackage[printonlyused]{acronym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mathtools}
usepackage{amsfonts}
usepackage[ruled,vlined]{algorithm2e}
newcommandmycommfont[1]{footnotesizettfamilytextcolor{blue}{#1}}
SetCommentSty{mycommfont}
usepackage{caption}
usepackage{graphicx}
graphicspath{{fig/}{graphs/}}
usepackage[backend=bibtex,style=ieee,sorting=none,minnames=1]{biblatex}
usepackage{array}
usepackage[table]{xcolor}
usepackage[automake,style=long,symbols,nonumberlist]{glossaries-extra}
makeglossaries
loadglsentries{symbols}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
renewcommand{baselinestretch}{1.5}
addbibresource{references.bib}
%custom commands
renewcommand{vec}[1]{boldsymbol{mathit{#1}}}
% Title Page
title{MS Thesis}
author{Imdad Ul Haq}
date{today --- currenttime}
begin{document}
%maketitle
pagenumbering{roman}
pagestyle{plain}
setcounter{page}{9}
%include{front_page}
%include{thesis_title}
%include{supurvisor_consent}
%include{final_approval}
%include{declaration}
%include{certificate}
%include{dedication}
%include{acknowledgments}
include{abstract}
begin{normalsize}
tableofcontents
% ifxtotalfigures
listoffigures
% fi
end{normalsize}
%listoftables
ifxtotaltables
listoftables
fi
include{abbreviations}
printglossaries[symbols,style=long,title={List of Symbols}]
pagenumbering{arabic}
pagestyle{fancyhf}
begin{normalsize}
chapter{Introduction}label{chap_1}
include{chap_1}
chapter{Background Theory and Literature Review}label{chap_2}
include{chap_2}
chapter{System Model for NOMA in Sparse Multipath Propagation Environments}label{chap_3}
include{chap_3}
chapter{Channel Estimation Techniques based on SiT coupled with CS Theory}label{chap_4}
include{chap_4}
chapter{Performance Evaluation of Proposed Channel Estimation Techniques}label{chap_5}
include{chap_5}
chapter{Conclusion}label{chap_6}
include{chap_6}
renewcommand*{UrlFont}{rmfamily}
printbibliography
chapter*{sample symbols}
include{sym_rough}
end{normalsize}
end{document}
table-of-contents symbols tocloft
add a comment |
I need help to get
the ToC heading in the center of the page. The code
renewcommand{contentsname}{centering Table of Contents}
did not work for me.
I need the dots after the chapter names to be bold face.
The Glossary and List of symbols also appear in the toc. I need to remove these from the ToC as well.
My code is as follows;
documentclass[12pt,a4paper]{report}
usepackage[utf8]{inputenc}
hyphenation{signifi-cant im-proved tele-communication}
usepackage[hidelinks]{hyperref}
hypersetup{colorlinks=true,allcolors=black}
usepackage{fancyhdr}
fancypagestyle{fancyhf}{
fancyhead[L]{nouppercase{textbf{leftmark}}}
fancyhead[R]{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0.1pt}
}
fancypagestyle{plain}{
fancyhead{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0pt}
}
usepackage{tocloft}
%renewcommand{cftpartleader}{cftdotfill{cftdotsep}} % for parts
renewcommand{cftchapleader}{cftdotfill{cftdotsep}} % for chapters
renewcommand{contentsname}{hfillbfseriesLarge Table of Contentshfill}
%renewcommand{cftaftertoctitle}{hfill}
%renewcommand{contentsname}{Table of Contents}
usepackage{datetime}
usepackage{enumitem}
usepackage[printonlyused]{acronym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mathtools}
usepackage{amsfonts}
usepackage[ruled,vlined]{algorithm2e}
newcommandmycommfont[1]{footnotesizettfamilytextcolor{blue}{#1}}
SetCommentSty{mycommfont}
usepackage{caption}
usepackage{graphicx}
graphicspath{{fig/}{graphs/}}
usepackage[backend=bibtex,style=ieee,sorting=none,minnames=1]{biblatex}
usepackage{array}
usepackage[table]{xcolor}
usepackage[automake,style=long,symbols,nonumberlist]{glossaries-extra}
makeglossaries
loadglsentries{symbols}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
renewcommand{baselinestretch}{1.5}
addbibresource{references.bib}
%custom commands
renewcommand{vec}[1]{boldsymbol{mathit{#1}}}
% Title Page
title{MS Thesis}
author{Imdad Ul Haq}
date{today --- currenttime}
begin{document}
%maketitle
pagenumbering{roman}
pagestyle{plain}
setcounter{page}{9}
%include{front_page}
%include{thesis_title}
%include{supurvisor_consent}
%include{final_approval}
%include{declaration}
%include{certificate}
%include{dedication}
%include{acknowledgments}
include{abstract}
begin{normalsize}
tableofcontents
% ifxtotalfigures
listoffigures
% fi
end{normalsize}
%listoftables
ifxtotaltables
listoftables
fi
include{abbreviations}
printglossaries[symbols,style=long,title={List of Symbols}]
pagenumbering{arabic}
pagestyle{fancyhf}
begin{normalsize}
chapter{Introduction}label{chap_1}
include{chap_1}
chapter{Background Theory and Literature Review}label{chap_2}
include{chap_2}
chapter{System Model for NOMA in Sparse Multipath Propagation Environments}label{chap_3}
include{chap_3}
chapter{Channel Estimation Techniques based on SiT coupled with CS Theory}label{chap_4}
include{chap_4}
chapter{Performance Evaluation of Proposed Channel Estimation Techniques}label{chap_5}
include{chap_5}
chapter{Conclusion}label{chap_6}
include{chap_6}
renewcommand*{UrlFont}{rmfamily}
printbibliography
chapter*{sample symbols}
include{sym_rough}
end{normalsize}
end{document}
table-of-contents symbols tocloft
I need help to get
the ToC heading in the center of the page. The code
renewcommand{contentsname}{centering Table of Contents}
did not work for me.
I need the dots after the chapter names to be bold face.
The Glossary and List of symbols also appear in the toc. I need to remove these from the ToC as well.
My code is as follows;
documentclass[12pt,a4paper]{report}
usepackage[utf8]{inputenc}
hyphenation{signifi-cant im-proved tele-communication}
usepackage[hidelinks]{hyperref}
hypersetup{colorlinks=true,allcolors=black}
usepackage{fancyhdr}
fancypagestyle{fancyhf}{
fancyhead[L]{nouppercase{textbf{leftmark}}}
fancyhead[R]{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0.1pt}
}
fancypagestyle{plain}{
fancyhead{}
fancyfoot[C]{thepage}
renewcommand{headrulewidth}{0pt}
}
usepackage{tocloft}
%renewcommand{cftpartleader}{cftdotfill{cftdotsep}} % for parts
renewcommand{cftchapleader}{cftdotfill{cftdotsep}} % for chapters
renewcommand{contentsname}{hfillbfseriesLarge Table of Contentshfill}
%renewcommand{cftaftertoctitle}{hfill}
%renewcommand{contentsname}{Table of Contents}
usepackage{datetime}
usepackage{enumitem}
usepackage[printonlyused]{acronym}
usepackage{amsmath}
usepackage{amssymb}
usepackage{mathtools}
usepackage{amsfonts}
usepackage[ruled,vlined]{algorithm2e}
newcommandmycommfont[1]{footnotesizettfamilytextcolor{blue}{#1}}
SetCommentSty{mycommfont}
usepackage{caption}
usepackage{graphicx}
graphicspath{{fig/}{graphs/}}
usepackage[backend=bibtex,style=ieee,sorting=none,minnames=1]{biblatex}
usepackage{array}
usepackage[table]{xcolor}
usepackage[automake,style=long,symbols,nonumberlist]{glossaries-extra}
makeglossaries
loadglsentries{symbols}
usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}
renewcommand{baselinestretch}{1.5}
addbibresource{references.bib}
%custom commands
renewcommand{vec}[1]{boldsymbol{mathit{#1}}}
% Title Page
title{MS Thesis}
author{Imdad Ul Haq}
date{today --- currenttime}
begin{document}
%maketitle
pagenumbering{roman}
pagestyle{plain}
setcounter{page}{9}
%include{front_page}
%include{thesis_title}
%include{supurvisor_consent}
%include{final_approval}
%include{declaration}
%include{certificate}
%include{dedication}
%include{acknowledgments}
include{abstract}
begin{normalsize}
tableofcontents
% ifxtotalfigures
listoffigures
% fi
end{normalsize}
%listoftables
ifxtotaltables
listoftables
fi
include{abbreviations}
printglossaries[symbols,style=long,title={List of Symbols}]
pagenumbering{arabic}
pagestyle{fancyhf}
begin{normalsize}
chapter{Introduction}label{chap_1}
include{chap_1}
chapter{Background Theory and Literature Review}label{chap_2}
include{chap_2}
chapter{System Model for NOMA in Sparse Multipath Propagation Environments}label{chap_3}
include{chap_3}
chapter{Channel Estimation Techniques based on SiT coupled with CS Theory}label{chap_4}
include{chap_4}
chapter{Performance Evaluation of Proposed Channel Estimation Techniques}label{chap_5}
include{chap_5}
chapter{Conclusion}label{chap_6}
include{chap_6}
renewcommand*{UrlFont}{rmfamily}
printbibliography
chapter*{sample symbols}
include{sym_rough}
end{normalsize}
end{document}
table-of-contents symbols tocloft
table-of-contents symbols tocloft
edited 7 mins ago
asked 13 mins ago
Salman Khan
376
376
add a comment |
add a comment |
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%2f466809%2ftable-of-contents-customization%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f466809%2ftable-of-contents-customization%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