Introduction
Gribouille 0.3.0 marks a significant advancement in the Typst universe by refining guide control and introducing customizable themes. This new version allows developers and designers to create more intuitive and visually appealing graphics without delving into complex configurations.
Guide Control
The most noticeable change in this release is the enhanced guide control. Previously, hiding axis tick marks required complex theme manipulations. Now, a simple command guides(x: none) or guides(y: none) is enough to hide the marks and labels while keeping the axis line and grid lines. This simplification saves considerable time and offers greater flexibility in graphic design.
Radial Guides
For polar coordinate charts, guides(theta: none) and guides(r: none) hide the full angular axis and radial labels, respectively. These options provide increased customization for circular diagrams, particularly useful in visualizing cyclical data.
Custom Themes with Compose
Gribouille 0.3.0's compose() function now features a theme: parameter, allowing global composition styling and theme propagation into panels without their own theme. This facilitates creating a coherent aesthetic across different parts of a graphic.
Area Geometry
The geom-area() function now stacks areas by default, simplifying the creation of stacked charts without additional configurations. This feature is particularly useful for charts where comparing cumulative values is essential.
Overflowing Annotations
With the addition of annotate() and its clip: false option, marks can now overflow the panel, providing more freedom in annotating graphics. This improvement is crucial for cases where annotations need to be visible even outside defined boundaries.
Technical Enhancements
Under the hood, Gribouille 0.3.0 has optimized legend and annotation management, reducing errors and improving visual accuracy. With the integration of defer() to replace plot(..., defer: true), the workflow is more intuitive and aligned with best programming practices.
Conclusion
Gribouille 0.3.0 transforms how graphics are created and customized in Typst, making the process more accessible and aesthetically pleasing. Whether for simple visualizations or complex compositions, this update offers powerful tools for every creator.
Let's discuss your project in 15 minutes.