Liquid–vapour interface varying the softness and range of the interaction potential