I am writing a chapter of my thesis in Latex, the page numbers are on top left corner which are adjusted with the chapter heading as shown in the picture :
While 2 is the page number and I need a space between 2 and Chapter 1. My code is just
\documentclass[b5paper,11pt, titlepage]{book}
\chapter{Guided Wave Based Structural Health Monitoring}
\textbf{My name}
\tableofcontents
\newpage
when I give the chapter name shorter it works fine but when I write the complete name/title of the chapter, it makes this problem. I am new to Latex, please help me with this problem. Thanks.


\documentclass[b5paper, 11pt, titlepage]{book} \begin{document} \tableofcontents \chapter{Chapter Title} \textbf{My name} \end{document}It seems to print the page numbers fine when I compiled. – hesham Jun 09 '20 at 07:22\documentclass[b5paper,11pt, titlepage]{book},(the end comma), and its order is wrong. Try the code I posted in the first comment and start modifying it from there. – hesham Jun 09 '20 at 07:42\begin{document}...\end{document}– hesham Jun 09 '20 at 08:09b5paperseems insufficient for your chapter long title, this is why the title is coming very close to the page number. – hesham Jun 09 '20 at 08:16