Text this: Geometry of electromagnetic systems