Added customPar argument so users can control margins if they want.