Initial configuration of tex-file and first definitions.