Code to align and output entity in the aligning way.