This paper studies the homotopy invariant \cat(X,ξ) introduced in \cite{farbe2}. Given a finite cell-complex X, we study the function ξ↦\cat(X,ξ) where ξ varies in the cohomology space H1(X;R). Note that \cat(X,ξ) turns into the classical Lusternik - Schnirelmann category \cat(X) in the case ξ=0. Interest in \cat(X,ξ) is based on its applications in dynamics where it enters estimates of complexity of the chain recurrent set of a flow admitting Lyapunov closed 1-forms.