The structure of fluids confined by planar walls is studied using density
functional theory. The density functional used is a generalized form of the hypernetted
chain (HNC) functional which contains a term third order in the density. This
term is chosen to ensure that the modified density functional gives the correct bulk
pressure. The proposed density functional applied to a Lennard-Jones fluid confined
to a slit for temperatures below the critical point. The agreement between the results
of the density profiles obtained by the theory and computer simulation are good