  Using the variational principle in parametric geometry of numbers, we compute
the Hausdorff and packing dimension of Diophantine sets related to exponents of
Diophantine approximation, and their intersections. In particular, we extend a
result of Jarn\'ik and Besicovitch to intermediate exponents.
