LaTeX forum ⇒ Page LayoutBeginner questions

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 2
Joined: Thu Mar 09, 2023 1:18 pm

Beginner questions

Postby AntonP » Thu Mar 09, 2023 1:23 pm


I'm highly non-proficient in LaTeX. I have used it ages ago and now use it to compile a diary for my kids (mainly to handle insertion of pictures). I'm now almost done with the first 400 page one and need some tweaking for it to look useful.

I am not (and likely won't be) a LaTeX wiz anytime soon. I just want to finalize an outline for this.

- I have the years defined as \part(s) of the book. I would like the year to be included in the header or footer. (Since it's curently difficult to see what year you're reading an entry from if you open the book at a random place). How to do this?
- I have \part as a single bold word in upper left corner. Ideally, this should be centered and \HUGE, however, I don't know how to do this.

I hope someone can help :)

Recommended reading 2021: •
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Stefan Kottwitz
Site Admin
Posts: 9950
Joined: Mon Mar 10, 2008 9:44 pm

Beginner questions

Postby Stefan Kottwitz » Fri Mar 10, 2023 11:23 pm

Hi Anton,

welcome to the forum!

An advice depends on what document class (and packages) you are using. KOMA-Script classes have their own header/footer features, same with memoir, both would be a good choice. Base classes (book, report etc.) work fine with fancyhdr or scrlayer-scrpage too.

Perhaps post a small example document representing your diary code (without actual contant) just so it shows header, a part heading, and dummy text and can be compiled (Infominimal working example), so it's easy to adjust and to show a tested code solution.

Stefan admin

Posts: 2
Joined: Thu Mar 09, 2023 1:18 pm

Beginner questions

Postby AntonP » Mon Mar 20, 2023 10:01 pm

Hi Stefan

Thanks for taking the time to reply. I thought I would get a notification (maybe it went to spam?), hence my slow reply.

Re the document class, I'm

I'm hesitant to change it as it works and has everything set up (making my way through it to adjust the final touches), therefore hoping it can be done within this.

For the second (I think, simpler) question, I'm simply doing:

which gives me the very simple page like the one attached ("a"). I just want to make this number larger and be placed on the middle of the page.

As for the first question, it's a bit tricky to illustrate a thing that isn't there, so to say. But in b1 I have attached a sample page and for b2 I have, in paint, tried to add in how I hope for it to look, with the year as part of the footer (in addition to the page number), with the year corresponding to the current "\part" of the book, so to say.

Am I making any sense what-so-ever?
b1.png (132.75 KiB) Viewed 125 times
b2.png (111.47 KiB) Viewed 125 times
a.png (2.99 KiB) Viewed 125 times

Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 8 guests