I’ve quickly put together a LaTeX3 module demonstrating how a clash-detection system might work. This is very experimental! Download:

  • The source (.dtx)
  • The documentation (PDF)
  • The complete bundle, including a demo file (``.zip`)