Add alignment printing function.