Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn off the Chapter name in the footer #362

Open
thom-github opened this issue Oct 20, 2024 · 1 comment
Open

Turn off the Chapter name in the footer #362

thom-github opened this issue Oct 20, 2024 · 1 comment
Labels

Comments

@thom-github
Copy link

Hello, me again.

Same project, new issue. I've been using \section for my, well, sections, and the document does not have any \chapter calls. But it does need a TOC, and what happens is that the footer shows "Table of Contents" (or rather "Inhaltsverzeichnis", as it's a German document) on all pages.

Even if I were to switch to chapters instead of sections, that wouldn't solve anything, as I don't want "Chapter 1: ABC" in my TOC and using \chapter* makes the issue with the footer reappear.

So, basically, I'm looking to turn that function completely off, just the footer scroll and the page number, nothing else. But I don't know how to achieve that.

Can someone help?

@BrianCriswell
Copy link
Member

You should take a look at how our class does footers. (https://github.com/rpgtex/DND-5e-LaTeX-Template/blob/dev/lib/dndheader.sty)

In short, probably the easiest way to fix it is to clear the footer and supply a new footer within your document's code. Because it happens after the class is loaded, you override the footer provided by the class. You probably want to start by copying the code from our class and modify it in your document. You can check the fancyhdr documentation for a complete understanding of what is available. (https://texdoc.org/index.html)

If you are still having issues after that, You need to post an MWE demonstrating the problem. (https://github.com/rpgtex/DND-5e-LaTeX-Template/blob/dev/CONTRIBUTING.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants