Add layout option for caption alignment, default to center.