change pinline format to match latex table