Text this: The calculus of variants :