Adsorption and capillarity