Formulas

Encoding math and chemical formulas in TEI, planned for v2.

Formulas are out-of-scope for v1. We enclose all in-line Project Gutenberg-supplied formulas or OCR text in <formula></formula> and comment them out. This allows us to identify formula locations for inclusion in v2. We also remove any existing eclectic tags, like /**/.

For block formulas, follow the same procedure but wrap <formula> in a <p> tag.

TEI expects the <formula> element to reference an external standard, like LaTex, and does not validate it in any way.

  • <formula notation="TeX">$e=mc^2$</formula>

In v2, we will update the encoding to reference the appropriate standard to accurately reproduce the formulas.