I have the exact same Rmd file, but I get a PDF with different margins depending on which computer I use to knit the PDF.
I traced down the problem to one line that is added to the tex file by one of the computers:
The other computer does not add this line to the tex file when knitting. I would like to homogenize the behavior across computers, but I don't know where this difference is coming from.
I reiterate that the Rmd file is identical. The difference comes exclusively from which computer is used to knit the PDF.
Any help is appreciated!