Text this: Variational principles and methods in theoretical physics and chemistry