TeX source:
dW=TdS-pdV+\mu dn