I want to take notes on the pdfs, however the files have a small margin, use this file to add margin to your pdf files.
add margin 30 on the input.pdf
python3 addmargin.py -f input.pdf -m 50
OR you can copy the file to /usr/local/bin/
cp addmargin.py /usr/local/bin/
cd /usr/local/bin/
chmod a+x addmargin.py
# goes into the pdf folder
cd /path/to/pdf
addmargin.py -f your.pdf -m 30
If you found useful, make a star to me!!! Thank you.