(Note: This blog post was edited when the proof of concept example was moved from a package in an unreleased branch to this website’s example section.)
The ever-excellent xkcd has produced a table of full-width justification strategies:
Naturally, SILE can support snake-based justification. Check out the code in the “Snake Justification” example on this site. You can see the result in PDF form here, and it looks like this:
Because SILE is an extremely flexible typesetting engine, this took less than 20 lines of Lua code to implement.
We have been doing lots of other SILE development too, but snakes are fun.