Move pdf style to end.