Text this: X-rays, electrons and crystalline materials