So far, I have set org-latex-packages-alist
to '(("margin=2cm" "geometry"))
,
but if the geometry-package is explicitly loaded in a document, I get a clash.
I can use \newgeometry{margin=1cm}
in the document,
but then latex produces errors on different configurations.
Is there a way to set the default margin (ideally through geometry) without clashing with existing configurations in documents?