Skip to content

automosaic:0.1.0 - #5502

Merged
saecki merged 4 commits into
typst:mainfrom
Uspfe:main
Aug 10, 2026
Merged

automosaic:0.1.0#5502
saecki merged 4 commits into
typst:mainfrom
Uspfe:main

Conversation

@Uspfe

@Uspfe Uspfe commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

Description: automosaic lays out grids of images (or arbitrary content) that fill an available box while preserving every element's own aspect ratio and keeping uniform gaps. A layout is a nested tree of alternating horizontal/vertical splits: build the tree yourself with display-content-tree, or hand display-auto-layout a flat list of (optionally weighted) items and let it search every possible tree structure for the one whose rendered areas best match the given weights. It's useful for photo mosaics, galleries, and any multi-image layout where you don't want to hand-compute cell sizes for a set of images with mixed aspect ratios.

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
    • Explanation:
      "automosaic" is a coined portmanteau of "auto" (the automatic tree-arrangement search that display-auto-layout performs) and "mosaic" (the photo-grid domain), not a term anyone would use to literally describe the feature set (e.g. "aspect-ratio-grid-layout"). It's also distinct from the existing tessera package, which covers masonry/matrix grid layouts but not tree-based layouts or automatic arrangement search.
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

Uspfe added 2 commits August 6, 2026 10:35
Aspect-ratio-preserving grid layouts for photo mosaics, with automatic layout search.
@Uspfe
Uspfe temporarily deployed to Package Check August 6, 2026 09:14 — with GitHub Actions Inactive
@typst-package-check typst-package-check Bot changed the title automosaic:0.0.1 automosaic:0.1.0 Aug 6, 2026
@typst-package-check typst-package-check Bot added the new A new package submission. label Aug 6, 2026
Fixes the import/relative warning from typst-package-check.
@Uspfe
Uspfe temporarily deployed to Package Check August 6, 2026 09:17 — with GitHub Actions Inactive
@saecki saecki self-assigned this Aug 10, 2026

@saecki saecki left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this package!

Comment thread packages/preview/automosaic/0.1.0/README.md Outdated
@Uspfe
Uspfe temporarily deployed to Package Check August 10, 2026 14:04 — with GitHub Actions Inactive
@saecki
saecki merged commit 9d9d16c into typst:main Aug 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants