Nonlinear thermodynamical formalism