I use \usepackage{fancyhdr} for headers and I believe it is causing some problems with "chapters" that aren't really chapters, like the table of contents and bibliography. On the header of the second page of ToC there is written "Chapter 0" (the first page is clear), and it continues on alternating pages between "Chapter 0" and "Contents".

Almost the same thing happens in bibliography, but in this case only the word "Chapter" is written. It also alternates between the words "Chapter" and "Bibliography"

How can I make it not display "Chapter 0" and "Chapter" on only these two sections of the document? I don't mind if there is nothing written in their place or where the words "Contents" and "Bibliography" are, but I would like to keep the page number as it is and the line in the top of the page.

\documentclass[12pt, twoside]{report}

% package to activate greek language - the sequence languages appear below is IMPORTANT!!!

% package to handle graphics
% package to handle multiple figures in a minipage
% package to extend math capabilikai ties
%package to activate XeTeX font manager

\geometry{a4paper, textwidth=6in, textheight=8.5in, marginparsep=7pt, marginparwidth=.6in}

\defaultfontfeatures{Mapping=tex-text} % converts LaTeX specials (``quotes'' --- dashes etc.) to unicode
%\setromanfont [Ligatures={Common}, BoldFont={GFS Artemisia Bold}, ItalicFont={Gentium Italic}]{Gentium}
\setmainfont{Times New Roman}

\newcommand{\amper}{{\fontspec[Scale=.95]{Times New Roman}\selectfont\itshape\&}}

% package to handle line spacing




\usepackage[driverfallback=dvipdfmx, bookmarks, colorlinks, breaklinks, pdftitle={name - title},pdfauthor={name}]{hyperref}  

% package for fancy style headers and footers

% redefine bullet symbols and section style

% change captions especially for greek language - if the document is in ENGLISH, they should vanish
  \renewcommand\listfigurename{Κατάλογος Σχημάτων}%
  \renewcommand\listtablename{Κατάλογος Πινάκων}%
  \renewcommand\alsoname{βλέπε επίσης}%



%%%%%%%%% END OF PREAMBLE %%%%%%%%%%%%


\setlanguage{greek} %% this is to activate greek hyphenation

% make title out of \author, \title, \date  specified in the preamble
% create a blank page immediately after the cover page

% This is only meant to include the NuSTRAP group logo in a separate page.
% Remove it if not interested.

% Create table of contents - not mandatory

% Create a list of figures - not mandatory

% include files with content. Changes the names according to your taste.


\chapter{Κι άλλος τίτλος}

\chapter{Ένας ακόμη τίτλος}

\bibliographystyle{abbrv} % bibliography style is abbrv:  eg. [1]

\bibliography{thesis_references} % this is the .bib file that holds the bibliography records 



EDIT: I solved the problem with the appendices using \markboth{Name of appendix}{Appendix III} right under \chapter{Name of appendix}. There were only 3 appendices, so it wasn't a fuss.

  • Welcome to TeX.SE.
    – Mico
    Commented Aug 15, 2020 at 4:35

1 Answer 1


If there are no other unnumbered chapters than the TOC and the bibliography, you could use:


Example (without the not related stuff):

\documentclass[12pt, twoside]{report}
\usepackage{blindtext}% only for dummy text




\Blinddocument% dummy chapter

% dummy multipage bibliography

% dummy chapters to get a multipage TOC


enter image description here

enter image description here

enter image description here

  • Also, in the ToC the word "Contents" and the number page have switched places for some reason. For the rest of the document, the page number is on the right for odd pages with the chapter name on the left and on the left for even pages with the chapter name on the right, but only on the ToC this is reversed.
    – Judged
    Commented Aug 15, 2020 at 14:48
  • Link to two pics showing this: imgur.com/a/fJfuq65 (Κεφάλαιο 2 is Chapter 2 and Περιεχόμενα is Contents)
    – Judged
    Commented Aug 15, 2020 at 14:55
  • @AggelosT. On the second picture an odd page is on the left hand side and the even page is on the right hand side. So the word "Contents" and the page number have not switched their places. It is either an issue of the viewer settings or you messed up the page number system (eg. a \pagenumbering command without a \cleardoublepage command before it).
    – esdd
    Commented Aug 15, 2020 at 18:55
  • Yes, indeed you are right. I found the issue, too. I had a few extra '\afterpage{\blankpage}'. I removed them and now everything is alright. Thank you very much for your help!
    – Judged
    Commented Aug 15, 2020 at 19:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .