Text this: Quantitative energy dispersive analysis of small particles