Optical resonance and near-field effects: applications for nanopatterning (Plenary Paper)статья