An extended plasma fluid theory including atomic physics, radiation, electromagnetic and themodynamic forces, external sources of particles, momentum and energy, and kinetic ion orbit loss is employed to derive theoretical expressions that display the role of the various factors involved in the determination of the pressure and temperature gradients in the edge of tokamak plasmas. Calculations for current experiments are presented to illustrate the magnitudes of various effects including strong radiative and atomic physics edge cooling effects and strong reduction in ion particle and energy fluxes due to ion orbit loss in the plasma edge. An important new insight is the strong relation between rotation and the edge pressure gradient.