Fixing lining numbers and colors