I'm reading about genuses from Liu's book "Algebraic Geometry and Arithmetic Curves". There he defines arithmetic genus of a projective curve and geometric genus of a smooth projective variety. As far as I understand, a projective curve is a projective variety.
So, if $m,n\in \mathbb{Z}$ and $m\geq 0$ are arbitrary, is there always a projective curve $C$ over a field $k$ such that $p_a(C)=n$ and $p_g(C)=m$? If not, can we somehow classify those integer pairs which satisfies $p_a(C)=n$ and $p_g(C)=m$ (probably with respect to $k$)?