When rendering documents in LaTeX, the document class determines the sizes of page borders etc. I do not want to change them.
However, during the editing process, one usually looks at a file only on screen. In these situations, all the white space around the actual content is a waste of screen space. Now some PDF viewers have a "zoom to content" feature, but even easier would be if the page borders simply were not there.
Of course I could use the
geometry package to set the page borders to, say,
0.3mm, but that would change the whole page layout (e.g., make
textheight bigger). Of course I could further fiddle around to fix all of that until it works out again the way it originally was, but it would be a lot of work, and I would have to manually do this for every different article class, etc.
If this is at all possible it would be great to have a "universal" automatic solution instead: A simple command I add somewhere in the preamble which will "cut off" (most of) the page borders but leave everything else unchanged.
As long as I edit on screen I could leave this command active, and as soon as I want to render the final version of the PDF, I could out-comment it to get the page borders back.
Ideally this should work with all (or many) document classes.
Is there any hope to achieve such a thing? It would simplify screen editing quite a bit.