I have 2 styles for my header and footers. This one is for 90 %of my pages, I want the section in the header. My name left in the footer and my page right:
\fancypagestyle{standard}{
\fancyhf
\fancyhead[L]{\leftmark}
\fancyfoot[L]{name}
\fancyfoot[R]{Page \thepage}
}
But I also want my name in the footer on a chapters\index\tableofcontentspage + the page should be right aligned:
\fancypagestyle{chapters\index\tableofcontents}{
\fancyhf
\fancyfoot[L]{name}
\fancyfoot[R]{Page \thepage}
}
But how do I set these settings correctly? At the moment I use the "standard" style, but my numbering on chapters is different now, and I want that to be the same on al my pages. And of course a chapter page, index page of table of contents don't need a section name in the header.
Edit:
Let me try be more clear: I want my name left aligned in the footer + the page right aligned on every page. Then on pages that are part of a chapter, I want the chapter name in the header.
Thank you so much
\leftmark
uses section names in a document class that faetures chapters. In other words: Please add a minimal working example (MWE) that illustrates your problem.