A method is provided for the patterning of a stack comprising elements
that do not form volatile compounds during conventional reactive ion
etching. More specifically the element(s) are Lanthanide elements such as
Ytterbium (Yb) and the patterning preferably relates to the dry etching
of silicon and/or germanium comprising structures (e.g. gates) doped with
a Lanthanide e.g. Ytterbium (Yb doped gates). In case the silicon and/or
germanium comprising structure is a gate electrode the silicon and/or
germanium is doped with a Lanthanide (e.g. Yb) for modeling the work
function of a gate electrode.