Bibliography appearing twice in Table of Contents
up vote
0
down vote
favorite
I have two issues in my Table of Contents.
- Bibliography appearing twice in Table of Contents
- Title of Table of Content has improper spacing
Latex below:
1. For Bibliography
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliographystyle{unsrtnat}
bibliography{references}
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
- I have used a chapter setting to automatically center all chapters. But for some reason Table of Contents seems spaced out. No other chapter or section has that error.
MWE
usepackage[pagestyles]{titlesec}
titleformat{chapter}[display]
{normalfonthugebfseriescentering}{centeringchaptertitlename thechapter}{20pt}{Huge}
titlespacing*{chapter}
{0pt}{5pt}{4pt}
newpagestyle{mystyle}{sethead{}{}{}setfoot{}{thepage}{}}
pagestyle{mystyle}
spacing table-of-contents bibliographies letterspacing
add a comment |
up vote
0
down vote
favorite
I have two issues in my Table of Contents.
- Bibliography appearing twice in Table of Contents
- Title of Table of Content has improper spacing
Latex below:
1. For Bibliography
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliographystyle{unsrtnat}
bibliography{references}
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
- I have used a chapter setting to automatically center all chapters. But for some reason Table of Contents seems spaced out. No other chapter or section has that error.
MWE
usepackage[pagestyles]{titlesec}
titleformat{chapter}[display]
{normalfonthugebfseriescentering}{centeringchaptertitlename thechapter}{20pt}{Huge}
titlespacing*{chapter}
{0pt}{5pt}{4pt}
newpagestyle{mystyle}{sethead{}{}{}setfoot{}{thepage}{}}
pagestyle{mystyle}
spacing table-of-contents bibliographies letterspacing
Just removephantomsection addcontentsline{toc}{chapter}{Bibliography}
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:23
What about Table of Contents Error?
– Ayman Arif
Oct 2 at 16:28
You may tryrenewcommand{contentsname}{Table of Contents}
after loadingtocloft
package
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:38
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have two issues in my Table of Contents.
- Bibliography appearing twice in Table of Contents
- Title of Table of Content has improper spacing
Latex below:
1. For Bibliography
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliographystyle{unsrtnat}
bibliography{references}
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
- I have used a chapter setting to automatically center all chapters. But for some reason Table of Contents seems spaced out. No other chapter or section has that error.
MWE
usepackage[pagestyles]{titlesec}
titleformat{chapter}[display]
{normalfonthugebfseriescentering}{centeringchaptertitlename thechapter}{20pt}{Huge}
titlespacing*{chapter}
{0pt}{5pt}{4pt}
newpagestyle{mystyle}{sethead{}{}{}setfoot{}{thepage}{}}
pagestyle{mystyle}
spacing table-of-contents bibliographies letterspacing
I have two issues in my Table of Contents.
- Bibliography appearing twice in Table of Contents
- Title of Table of Content has improper spacing
Latex below:
1. For Bibliography
phantomsection
addcontentsline{toc}{chapter}{Bibliography}
bibliographystyle{unsrtnat}
bibliography{references}
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
- I have used a chapter setting to automatically center all chapters. But for some reason Table of Contents seems spaced out. No other chapter or section has that error.
MWE
usepackage[pagestyles]{titlesec}
titleformat{chapter}[display]
{normalfonthugebfseriescentering}{centeringchaptertitlename thechapter}{20pt}{Huge}
titlespacing*{chapter}
{0pt}{5pt}{4pt}
newpagestyle{mystyle}{sethead{}{}{}setfoot{}{thepage}{}}
pagestyle{mystyle}
spacing table-of-contents bibliographies letterspacing
spacing table-of-contents bibliographies letterspacing
edited Oct 2 at 16:27
Al-Motasem Aldaoudeyeh
1,375211
1,375211
asked Oct 2 at 16:21
Ayman Arif
112
112
Just removephantomsection addcontentsline{toc}{chapter}{Bibliography}
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:23
What about Table of Contents Error?
– Ayman Arif
Oct 2 at 16:28
You may tryrenewcommand{contentsname}{Table of Contents}
after loadingtocloft
package
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:38
add a comment |
Just removephantomsection addcontentsline{toc}{chapter}{Bibliography}
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:23
What about Table of Contents Error?
– Ayman Arif
Oct 2 at 16:28
You may tryrenewcommand{contentsname}{Table of Contents}
after loadingtocloft
package
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:38
Just remove
phantomsection addcontentsline{toc}{chapter}{Bibliography}
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:23
Just remove
phantomsection addcontentsline{toc}{chapter}{Bibliography}
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:23
What about Table of Contents Error?
– Ayman Arif
Oct 2 at 16:28
What about Table of Contents Error?
– Ayman Arif
Oct 2 at 16:28
You may try
renewcommand{contentsname}{Table of Contents}
after loading tocloft
package– Al-Motasem Aldaoudeyeh
Oct 2 at 16:38
You may try
renewcommand{contentsname}{Table of Contents}
after loading tocloft
package– Al-Motasem Aldaoudeyeh
Oct 2 at 16:38
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
You mix 2 different ways to produce a bibliography.
Either use
bibliographystyle{unsrtnat}
bibliography{references}
or
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
but not both (unless you want two bibliographies)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You mix 2 different ways to produce a bibliography.
Either use
bibliographystyle{unsrtnat}
bibliography{references}
or
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
but not both (unless you want two bibliographies)
add a comment |
up vote
0
down vote
You mix 2 different ways to produce a bibliography.
Either use
bibliographystyle{unsrtnat}
bibliography{references}
or
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
but not both (unless you want two bibliographies)
add a comment |
up vote
0
down vote
up vote
0
down vote
You mix 2 different ways to produce a bibliography.
Either use
bibliographystyle{unsrtnat}
bibliography{references}
or
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
but not both (unless you want two bibliographies)
You mix 2 different ways to produce a bibliography.
Either use
bibliographystyle{unsrtnat}
bibliography{references}
or
begin{thebibliography}{9}
bibitem{SVIT} Matek, Tadej and Timej Zebec, Svit. (2016). GitHub open source project recommendation system.
bibitem{Yun}
Zhang, Yun and Lo, David and Kochhar, Pavneet Singh and Xia, Xin and Li, Quanlai and Sun, Jianling. (2017). Detecting similar repositories on GitHub.
bibitem{Surbhi}
Sharma, Surbhi and Mahajan, Anuj. (2017). A Collaborative Filtering Recommender System for Github. International Journal of Emerging Technologies in Engineering Research (IJETER).
end{thebibliography}
but not both (unless you want two bibliographies)
answered yesterday
daniel
2919
2919
add a comment |
add a comment |
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
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453485%2fbibliography-appearing-twice-in-table-of-contents%23new-answer', 'question_page');
}
);
Post as a guest
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
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
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
Just remove
phantomsection addcontentsline{toc}{chapter}{Bibliography}
– Al-Motasem Aldaoudeyeh
Oct 2 at 16:23
What about Table of Contents Error?
– Ayman Arif
Oct 2 at 16:28
You may try
renewcommand{contentsname}{Table of Contents}
after loadingtocloft
package– Al-Motasem Aldaoudeyeh
Oct 2 at 16:38