Latex backend: Selective rewrite idnent for long rules.
Try putting an indent in front of rewrites, to separate them from wrapping terms around them. Frame (indent) should be put only for rewrites that are part of a longer, wrapping term. How to decide this: test if the height of the last rewrite = height of the cell body, and there was a rewrite inside the cell.