Automatic switching to align* environment