Tweak latex settings