0

I wonder how to draw frames around various elements in LaTeX (or LuaLaTeX if needed)? I would like to get frames around every text paragraph, and/or every equation, every image, every header, every footer and so on. The frame should identify the bounding box of the object. What is the best way to achieve this? I am looking at hooks like \everyhbox and \everyvbox but I am asking here in case someone had a very clever way to achieve this task.

Best regards,

Fabrice

| improve this question | | | | |
1

The lua-visual-debug package does essentially this (requiring lualatex).

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.