Hi, I have a question.
The moment I put "oneside" in my documentclass, my \leftmark has dissapeared on my pdf if someone know how to fix it, it'd be really nice.
Thx.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
With a KOMA-Script class, you can use the twoside=semi option, then you have margins like with oneside while still having \leftmark and \rightmark. If you use the ("old") base classes, you may consider switching to a KOMA-Script class because they are enormously flexible.
Thank you for your answer. But the thing is that I started using "oneside" to not have the white pages before the next chapters (because i think it starts the chapters on odd pages ...) and with twoside=semi i still have this issue..
If you have an idea maybe to solve this problem
Let's goooo, finally.. I've been chating with a lot of users and nobody found a solution...
Thank you a lot Mister, I have a last question on my book, I've parts, chapters and in my headings I have on the left "Part [with the number of this part]" thanks to \thepart and on the right "Chapter [Number] [Title]" thanks to \leftmark.
And I'd like to have also The Title of the part right after the number of this part on the left but I haven't find the command to have so.
Then take it out; you can use \newcommand and \renewcommand to set a part title macro yourself manually at the beginning of each part: I guess that's just a few parts, so no big deal.
Sorry I'm a beginner, so what should I write in each part to have it "manually" when I write \part{Algebra} for example what should I write next ?
Also, I have another question, on each page instead of having the number of the page I want to have - [number page] - with the two "-" on each side of the number, the problem is that when I write :
\fancyfoot[C]{ $-$ \thepage $-$}
It works only on the not starting-chapter-pages and on the others it's "normal" so without the two "-".
Without seeing your code, it's hard to say why the original part suggestion is not working there, or how to make it work. Perhaps if you post a copy of your code (full preamble, dummy text, showing the problem) see that link: minimal working example.
The page style at the beginning of a chapter is called plain, it's different since headers above a chapter title are usually different from text page headers in books. You can modify this, see the section Redefining page style plain in the fancyhdr manual.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p