Text this: Thin-film and depth-profile analysis