mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
fix(templates): correct 06 structure-block antipattern and 05 needspace scope (#183)
Both found by empirically re-running the /apply pipeline end-to-end: 06's Document Structure block still demonstrated itemize wrapped inside lettercontent - the exact antipattern its own pitfall section forbids - and following 05's needspace guidance at section level pushed an entire Education block to a new page, costing a page instead of saving one. framework_version: 05 -> 1.1.1, 06 -> 1.0.1. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
de91a97fe8
commit
12717d2c12
@@ -1,5 +1,5 @@
|
||||
---
|
||||
framework_version: 1.1.0
|
||||
framework_version: 1.1.1
|
||||
---
|
||||
|
||||
# CV Templates and Tailoring Guide
|
||||
@@ -171,6 +171,8 @@ Add `\needspace{5\baselineskip}` immediately before the problematic `\cventry`:
|
||||
```
|
||||
Include `\usepackage{needspace}` in the preamble.
|
||||
|
||||
**Caveat - use `\needspace` before entries, never before `\section` headings.** A section-level `\needspace` pushes the entire section (heading plus content) to the next page whenever the request does not fit, stranding empty space above and typically *adding* a page instead of saving one. Apply it only to the individual `\cventry` that actually orphans, and only after a compile shows the orphan.
|
||||
|
||||
**Problem: one trailing section spills to page 3 (e.g., References alone on page 3)**
|
||||
Add `\enlargethispage{2-3\baselineskip}` before a late section (e.g., before `\section{Honors and Awards}`) to stretch page 2 by a few lines. This is the standard LaTeX rescue for near-miss overflows.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user