Problem
Most users who want a CV also want a matching cover letter. Keeping the two visually consistent (header, accent, contact bar) means duplicating the basics block and theme settings. There's no way to do that within the template.
Proposed solution
Add a public entrypoint cover-letter(cv, body, recipient: none, date: none, ...) that reuses:
_header(cv.basics, ...) for the masthead.
- The same
preferences knobs (font, accent, paper, margin).
Render:
<header — same as CV>
<date>
<recipient block>
<body>
<signature: cv.basics.name>
Usage:
#import "@preview/altacv:0.x.x": cover-letter
#cover-letter(cv, [Dear hiring manager, ...], recipient: [Acme Corp\nDublin])
Alternatives considered
- Document a recipe using the exported helpers (
icon, name, etc.) — possible today, but every user has to reinvent the layout.
Problem
Most users who want a CV also want a matching cover letter. Keeping the two visually consistent (header, accent, contact bar) means duplicating the basics block and theme settings. There's no way to do that within the template.
Proposed solution
Add a public entrypoint
cover-letter(cv, body, recipient: none, date: none, ...)that reuses:_header(cv.basics, ...)for the masthead.preferencesknobs (font, accent, paper, margin).Render:
Usage:
Alternatives considered
icon,name, etc.) — possible today, but every user has to reinvent the layout.