Text this: Integral constraints in multiple scales problems with a slowly varying microstructure.