Relativistic equations of state in a Thomas-Fermi approach for neutron stars