Coherent patterning of matter waves with subwavelength localization