Format dimensions for new header.
Format new headers in portrait mode.