Text this: Variational calculus with elementary convexity /