LaTeX forum ⇒ Page LayoutUsing \bibliography{sources} the compiled PDF show "3 References" in the heading Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
mcsentas
Posts: 7
Joined: Thu Nov 23, 2017 5:53 pm

Using \bibliography{sources} the compiled PDF show "3 References" in the heading

Postby mcsentas » Wed Dec 20, 2017 9:53 pm

Using \bibliography{sources} the compiled PDF show "3 References" in the heading.

How do I get rid of the 3.?

User avatar
Johannes_B
Site Moderator
Posts: 3792
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Dec 20, 2017 10:12 pm

My crystal ball tells me you are using package tocbibind.

But you might not. With the informaton given, it is impossibe to help. Please show a minimal working example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

mcsentas
Posts: 7
Joined: Thu Nov 23, 2017 5:53 pm

Postby mcsentas » Wed Dec 20, 2017 10:28 pm

  1. \documentclass[a4paper,doc,12pt,natbib]{apa6}
  2. \usepackage{apacite}
  3. \usepackage{blindtext}
  4. \usepackage{times}
  5. \usepackage{fancyhdr}
  6. \usepackage[english]{babel}
  7. \usepackage{DejaVuSerif}
  8. \usepackage[T1]{fontenc}
  9. \usepackage{url}
  10. \usepackage{csquotes}
  11. \usepackage[utf8x]{inputenc}
  12. \usepackage{graphicx}
  13. \usepackage[colorinlistoftodos]{todonotes}
  14. \usepackage[title]{appendix}
  15. \usepackage{setspace}
  16. %\singlespacing
  17. \onehalfspacing
  18. %\doublespacing
  19. \usepackage{csquotes}
  20. \usepackage{dirtytalk}
  21. \usepackage{geometry}
  22. \geometry{margin=2.54cm}
  23.  
  24. \usepackage[font=scriptsize]{caption}
  25. \usepackage{pdfpages}
  26. \usepackage{lastpage}
  27.  
  28. \title{ }
  29. \shorttitle{ }
  30. \author{ }
  31. \affiliation{The Faculity of Humanities}
  32.  
  33. % Clear the header and footer
  34. \fancyhead[R]{\thepage}
  35. \fancyfoot{}
  36. % Set the right side of the footer to be the page number
  37. %\fancyfoot[R]{Page \thepage of \lastpage}
  38.  
  39. %\fancyfoot[R]{Page \thepage\ of \pageref{LastPage}}
  40.  
  41. %--enumerate sections down 3 levels
  42. \setcounter{secnumdepth}{3}
  43. \usepackage{chngcntr}
  44. \counterwithin*{subsection}{section}
  45. \renewcommand{\thesubsection}{\thesection.\alph{subsection}}
  46.  
  47. \begin{document}
  48. \thispagestyle{empty}
  49. \normalfont
  50. \includepdf[pages=-,pagecommand={\pagestyle{fancy}}]{page.pdf}
  51. \tableofcontents
  52.  
  53. \include{content/exam}
  54. \bibliographystyle{plain}
  55. \bibliography{sources}
  56. \listoffigures
  57. \end{document}


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 4 guests