Text this: A treatise on electricity and magnetism