Control code formatting