Petrarchive documents are encoded in XML according to the Text Encoding Initiative (TEI) P5: Guidelines for Electronic Text Encoding and Interchange.
TEI Boilerplate is used to render both diplomatic transcriptions and edited views of the text. TEI Boilerplate code has been extensively modified to display diplomatic and edited views of the text and to accurately render the Petrarchan visual poetics of Vat. Lat. 3195.