Skip to content

feat: cover-letter companion entrypoint #53

@smur89

Description

@smur89

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions