Skip to content

ori:0.2.4 and theorion:0.5.0#4342

Open
OrangeX4 wants to merge 10 commits intotypst:mainfrom
OrangeX4:theorion-0.5.0
Open

ori:0.2.4 and theorion:0.5.0#4342
OrangeX4 wants to merge 10 commits intotypst:mainfrom
OrangeX4:theorion-0.5.0

Conversation

@OrangeX4
Copy link
Contributor

I am submitting

  • a new package
  • an update for a package

Description:

  • BREAKING CHANGE: rename xxx-box to xxx-blockremark, note-box, important-box are now named remark-block, note-block, important-bblock to avoid duplicate names.
  • feat: flexible references@label[-] shows number only, @label[!!] shows supplement + number + title, thank theoretic for the idea
  • feat: border radius in fancy cosmos #set-fancy-radius(0em) to remove the border radius for fancy cosmos
  • feat: positional title syntax#theorem[Title][Body] as an alternative to #theorem[Title][Body]
  • feat: counter continuation — pass an array as number (e.g. number: (2, 3)) to set the counter and continue numbering from there
  • feat: #set-indent-mode — configure paragraph indentation inside theorem environments (auto, none, a length, or a dictionary)
  • feat: #indent-repairer — automatically repairs first-paragraph indentation inside theorem bodies
  • feat: improved QED placementproof now correctly places the QED symbol at the bottom-right of block equations when the proof ends with a math equation, thank theoretic for the idea
  • feat: #qedhere — new function to manually place the QED symbol at a specific position for proof, solution and conclusion
  • feat: LaTeX-aligned body styles, numbered remark support — simple cosmos styles now more closely match LaTeX defaults
  • feat(cosmos): add note, remark, example, problem, exercise environments
  • feat(i18n): add Swedish translation
  • fix: fix nested theorem numbering — child counters (e.g. corollary inside theorem) now inherit the correct parent number
  • fix: prevent theorem indentation when first-line-indent is set

Copilot AI review requested due to automatic review settings March 12, 2026 11:38
@typst-package-check typst-package-check bot changed the title theorion:0.5.0 and ori:0.2.4 ori:0.2.4 and theorion:0.5.0 Mar 12, 2026
@typst-package-check typst-package-check bot added the update A package update. label Mar 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Typst Universe packages theorion to 0.5.0 (theorem environments with multiple “cosmos” styles, i18n, references, QED handling, etc.) and ori to 0.2.4 (a document template that depends on theorion and other utilities).

Changes:

  • Add Theorion 0.5.0 implementation (core counter/frame logic, multiple cosmos renderers, i18n map, examples, and documentation).
  • Update Ori 0.2.4 template/library to use Theorion 0.5.0 and bundle assets/docs.
  • Add/update package metadata (typst.toml), READMEs, and example assets for both packages.

Reviewed changes

Copilot reviewed 21 out of 25 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
packages/preview/theorion/0.5.0/typst.toml Adds Theorion package metadata for 0.5.0.
packages/preview/theorion/0.5.0/lib.typ Entrypoint wiring core + cosmos modules for consumers.
packages/preview/theorion/0.5.0/i18n.typ Adds i18n selection helper and translation map.
packages/preview/theorion/0.5.0/examples/simple.png Example render image asset.
packages/preview/theorion/0.5.0/examples/example.typ English example document demonstrating environments/blocks.
packages/preview/theorion/0.5.0/examples/example-zh.typ Chinese example document demonstrating environments/blocks.
packages/preview/theorion/0.5.0/examples/example-ar.typ Arabic example document demonstrating environments/blocks.
packages/preview/theorion/0.5.0/deps.typ Declares external package deps used by cosmos renderers.
packages/preview/theorion/0.5.0/cosmos/cosmos.typ Aggregates cosmos style modules.
packages/preview/theorion/0.5.0/cosmos/default.typ Default cosmos: QED placement, blocks (note/tip/etc), quote/emph blocks.
packages/preview/theorion/0.5.0/cosmos/simple.typ “Simple” cosmos renderer (LaTeX-like theorem styles).
packages/preview/theorion/0.5.0/cosmos/fancy.typ “Fancy” cosmos renderer using showybox with configurable colors/symbols/radius.
packages/preview/theorion/0.5.0/cosmos/rainbow.typ “Rainbow” cosmos renderer with colored border styling.
packages/preview/theorion/0.5.0/cosmos/clouds.typ “Clouds” cosmos renderer with filled rounded blocks.
packages/preview/theorion/0.5.0/core.typ Core logic: rich counters, frame creation, refs/outlines, indentation repair utilities.
packages/preview/theorion/0.5.0/README.md Theorion documentation, examples, changelog.
packages/preview/theorion/0.5.0/LICENSE Theorion license file.
packages/preview/ori/0.2.4/typst.toml Ori package metadata for 0.2.4 (template package).
packages/preview/ori/0.2.4/thumbnail.png Ori template thumbnail asset.
packages/preview/ori/0.2.4/template/main.typ Ori template main example document and usage guide.
packages/preview/ori/0.2.4/lib.typ Ori template implementation (fonts, styling, integrations, Theorion usage).
packages/preview/ori/0.2.4/README.md Ori documentation and usage snippets.
packages/preview/ori/0.2.4/LICENSE Ori license file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jorgenhost jorgenhost mentioned this pull request Mar 13, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

update A package update.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants