Text this: Theory of magnetism