`oasis-align` v0.2.0 Release - Cleanly Align Content Side by Side

Hey all!
I am super happy to share with you a major update to oasis-align!

For those who are new, oasis-align is a tool designed to help you align content with precision and ease. Its making it perfect for tasks like creating formatted documents, aligning grids, or other layout-heavy workflows. No matter the kind of content, oasis-align simplifies the process and ensures your output looks polished and professional.

image

If you have every used this tool before, you’ll be happy to learn that this update removes the nasty error message that would hide your output. Now you can use the parameter int-frac to chose how the content display when no solution is found, allowing you to treat oasis-align like a grid function in those scenarios.

Why I’m excited

Here’s an example of how oasis-align has changed the way that I use Typst:
Below is a snapshot of a page of a instruction set that I created for a upper division writing course. I learned that you can apply oasis-align recursively, allowing you to algin more than two pieces of content at once. This level of precision and alignment wouldn’t have been possible without this tool. You can check out the whole document here!

What’s new in 0.2.0

  • removed oasis-align-images
    • Thanks to @Aaron-Rumpler for pointing out a critical bug!
  • added swap to parameters
    • switches positions of content
  • cleaned up debug output to be more readable
  • breaking scenarios are now treated as such with panic
    • Thanks again to @Aaron-Rumpler for the suggestion!
  • no longer show error message if content is “incompatible” and will instead display state at int-frac
    • should make using oasis-align way less frustrating to use
  • default max iterations reduced from 50 to 30

Share you feedback!

I would love you hear your thoughts, feedback, and experience using oasis-align. Feel free to connect with me on GitHub so we can keep improving this tool together!

Thanks for reading, and have a great rest of your day!
- Jason

10 Likes