Comparison of the PDF template with the reference sheet