Text this: Role of the strained substrate in the x-ray diffraction of free-standing epitaxial nanostructures under grazing incidence conditions