Effects of transverse trapping on the ground state of a cigar-shaped two-component Bose Einstein condensate