This is the main documentation of Xoptfoil2 providing a lot of background information on airfoil optimization. Newcomers are advised to at least skim the individual chapters.