I intent to write a paper and have to use this template (contains working with placeholder text).
For editing it would be useful to crop the pages, in order to make viewing in TeXStudio's internal pdf viewer with "Fit to Width" or "Fit to Page" zoom level more convenient. Normally I would use the geometry package here, e.g. as described in Pdflatex: fit-page-to-contents or scale-contents-to-fit-page, but for this template this fails. Just importing the preview
package - the basis of other solutions - fails likewise, yielding "undefined command" errors (it seems to interfere with some environment definitions from the template).
Are there more robust methods to crop a page to its contents? Ideally the solution would intercept a page after typesetting, but without requiring to run an external command.
For the cropping alone, I would be able to use pdfcrop
(Postprocess pdf with \write18) but this breaks synctex, thus doing more harm than good.
\usepackage[ paperwidth=\textwidth+0.2cm, paperheight=\textheight+2cm, text={\textwidth,\textheight} ]{geometry}