Structure in a confined smectic liquid crystal with competing surface and sample elasticities.