single doc gradient