LaTeX forum ⇒ Page LayoutConsistency in the header

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
User avatar
Cham
Posts: 937
Joined: Sat Apr 02, 2011 4:06 pm

Consistency in the header

Postby Cham » Fri Aug 14, 2020 9:33 pm

Recently, I add to refresh the header of some large book I wrote, and I noticed an inconsistency in the font size. Here's a MWE to show it:

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[11pt,letterpaper,twoside]{book}
  2. \usepackage[T1]{fontenc}
  3. \usepackage{lmodern}
  4. \usepackage{slantsc}
  5. \usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}
  6. \usepackage{microtype}
  7. \usepackage[pagestyles,medium]{titlesec}
  8.  
  9. \newcommand*{\headerstyle}{\slshape\small\MakeUppercase} % slshape\scshape
  10.  
  11. \newpagestyle{principal}{
  12. \sethead[\thepage][][\headerstyle{\chaptername\ \thechapter. \chaptertitle}]{\headerstyle{\thesection\ \sectiontitle}}{}{\thepage}
  13. \headrule
  14. }
  15.  
  16. \usepackage{blindtext}
  17.  
  18. \begin{document}
  19. \frontmatter
  20. \tableofcontents
  21. \mainmatter
  22. \pagestyle{principal}
  23.  
  24. \chapter{A first chapter title}
  25. \blindtext[5]
  26. \section{A funny section title}
  27. \blindtext[5]
  28. \section{Another hilarious section title}
  29. \blindtext[5]
  30. \chapter{Some funky chapter title}
  31. \blindtext[5]
  32. \section{This section title is really boring}
  33. \blindtext[5]
  34. \section{Really funny section title}
  35. \blindtext[5]
  36.  
  37. \end{document}


The page number is in normal size, while the chapter/section title is using a small font (\slshape\small\MakeUppercase). The titles are pretty big if I remove the \small command. I could use Small Caps instead (and the slanted version from the slantsc package).

But then I'm wondering about the normal, professional or common headers out there. What should be the proper size of chapters and sections titles in the header, relative to the page number?

And is Small Caps (and its slanted version) a good header style for a typical book?

User avatar
Johannes_B
Site Moderator
Posts: 4186
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Aug 15, 2020 5:41 am

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 4 guests