I am having a hard time trying to figure out the difference between
fancyhdr. At page 8 of the documentation, it says
The \leftmark contains the Left argument of the Last \markboth on the page, the \rightmark contains the Right argument of the fiRst \markboth or the only argument of the fiRst \markright on the page.
However, when I was trying to find the definition of
\markboth, I ended up with nothing. Could anyone be kind and teach me of the difference or definition of
My though is, based on my use of
\leftmark writes chapter number and name if there is chapter, if not, it will write section number and name. For
\rightmark, it will always write one level lower than that of
Thank you in advance!