Modify document latex settings