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

2

1 Answer 1

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .