diff options
| -rw-r--r-- | templates/ef/ordo.tex | 15 | ||||
| -rw-r--r-- | test/golden/ordo-2027.tex | 15 |
2 files changed, 28 insertions, 2 deletions
diff --git a/templates/ef/ordo.tex b/templates/ef/ordo.tex index c4a15d1..6a298df 100644 --- a/templates/ef/ordo.tex +++ b/templates/ef/ordo.tex @@ -28,7 +28,20 @@ % deliberately written without ever typing two curly braces next to each % other, even to name a field. \documentclass[10pt]{article} -\usepackage[a5paper,top=11mm,bottom=12mm,inner=14mm,outer=10mm]{geometry} +% includehead/includefoot: without them geometry seats the text block at +% top=/bottom= and fancyhdr then places the running header/footer OUTSIDE +% that block -- above the top margin and below the bottom one -- which on +% this page's original top=11mm/bottom=12mm pushed the header partly above +% the physical page edge (measured: yMin -5.5pt on a 0..595pt page) and the +% footer to within 1pt of the bottom edge. With includehead/includefoot the +% header/footer live INSIDE top=/bottom= instead, so headsep/footskip are +% also set explicitly (3mm/7mm) rather than left at article's defaults +% (25pt/30pt) -- those defaults alone would still overflow a 10mm margin +% and, measured, silently added 20 extra pages to the whole booklet by +% shrinking every day box. \headheight is left at fancyhdr's own default +% (12pt, confirmed by the log, no "increase \headheight" warning) since a +% single \small header line fits it without complaint. +\usepackage[a5paper,top=10mm,bottom=10mm,inner=14mm,outer=10mm,includehead,includefoot,headsep=3mm,footskip=7mm]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{xcolor} diff --git a/test/golden/ordo-2027.tex b/test/golden/ordo-2027.tex index 9017009..51f0585 100644 --- a/test/golden/ordo-2027.tex +++ b/test/golden/ordo-2027.tex @@ -28,7 +28,20 @@ % deliberately written without ever typing two curly braces next to each % other, even to name a field. \documentclass[10pt]{article} -\usepackage[a5paper,top=11mm,bottom=12mm,inner=14mm,outer=10mm]{geometry} +% includehead/includefoot: without them geometry seats the text block at +% top=/bottom= and fancyhdr then places the running header/footer OUTSIDE +% that block -- above the top margin and below the bottom one -- which on +% this page's original top=11mm/bottom=12mm pushed the header partly above +% the physical page edge (measured: yMin -5.5pt on a 0..595pt page) and the +% footer to within 1pt of the bottom edge. With includehead/includefoot the +% header/footer live INSIDE top=/bottom= instead, so headsep/footskip are +% also set explicitly (3mm/7mm) rather than left at article's defaults +% (25pt/30pt) -- those defaults alone would still overflow a 10mm margin +% and, measured, silently added 20 extra pages to the whole booklet by +% shrinking every day box. \headheight is left at fancyhdr's own default +% (12pt, confirmed by the log, no "increase \headheight" warning) since a +% single \small header line fits it without complaint. +\usepackage[a5paper,top=10mm,bottom=10mm,inner=14mm,outer=10mm,includehead,includefoot,headsep=3mm,footskip=7mm]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{xcolor} |
