Preparation of a carbon with a 2 nm pore size and of a carbon with a bi-modal pore size distribution