Text this: Selected chapters in the calculus of variations