[FEAT] Cover page improvements #1

Merged
TomPlanche merged 4 commits from feat/first-page-improvements into main 2026-03-04 15:02:57 +01:00
TomPlanche commented 2026-03-04 15:00:30 +01:00 (Migrated from github.com)
  • ORCID support on the cover page: The author parameter now accepts dicts with an orcid field. When provided, a clickable ORCID link is rendered next to the author name on the first page.

    • Accepts string, dict, or a mixed array of both
    • Dict format: (name: "Author Name", orcid: (id: "0000-0000-0000-0000", name: "optional display name"))
    • Requires the orchid package (@preview/orchid:0.1.0)
  • Second logo on the cover: The cover.decorations object now accepts a second-logo key for placing a secondary logo inside the top-left circle decoration.

    • Keys: image (pass image("...") from your file so relative paths resolve), scale (default 1.0), dx and dy for fine-tuning position
- **ORCID support on the cover page**: The `author` parameter now accepts dicts with an `orcid` field. When provided, a clickable ORCID link is rendered next to the author name on the first page. - Accepts `string`, `dict`, or a mixed array of both - Dict format: `(name: "Author Name", orcid: (id: "0000-0000-0000-0000", name: "optional display name"))` - Requires the `orchid` package (`@preview/orchid:0.1.0`) - **Second logo on the cover**: The `cover.decorations` object now accepts a `second-logo` key for placing a secondary logo inside the top-left circle decoration. - Keys: `image` (pass `image("...")` from your file so relative paths resolve), `scale` (default `1.0`), `dx` and `dy` for fine-tuning position
Sign in to join this conversation.
No description provided.