Apply auto width to math images in documentation