  Theory of the Casimir effect is presented in several examples. Casimir -
Polder type formulas, Lifshitz theory and theory of the Casimir effect for two
gratings separated by a vacuum slit are derived. Equations for the
electromagnetic field in the presence of a medium and dispersion are discussed.
Casimir effect for systems with a layer of 2+1 fermions is studied.
