Text this: Elements of electromagnetics