Electron-beam-resist materials with enhanced dry etch resistance