Text this: Variational inequalities and the principle of virtual displacements