The antiferromagnetic structures of the layered oxychalcogenides (Sr(1-x)Ba(x))(2)CoO(2)Cu(2)S(2) (0 ≤ x ≤ 1) have been determined by powder neutron diffraction. In these compounds Co(2+) is coordinated by four oxide ions in a square plane and two sulfide ions at the apexes of an extremely tetragonally elongated octahedron; the polyhedra share oxide vertexes. The magnetic reflections present in the diffraction patterns can in all cases be indexed using a √2a × √2a × c expansion of the nuclear cell, and nearest-neighbor Co(2+) moments couple antiferromagnetically within the CoO(2) planes. The ordered magnetic moment of Co(2+) in Sr(2)CoO(2)Cu(2)S(2) (x = 0) is 3.8(1) μ(B) at 5 K, consistent with high-spin Co(2+) ions carrying three unpaired electrons and with an additional significant unquenched orbital component. Exposure of this compound to moist air is shown to result in copper deficiency and a decrease in the size of the ordered moment to about 2.5 μ(B); there is a strong correlation between the size of the long-range ordered moment and the occupancy of the Cu site. Both the tetragonal elongation of the CoO(4)S(2) polyhedron and the ordered moment in (Sr(1-x)Ba(x))(2)CoO(2)Cu(2)S(2) increase with increasing Ba content, and in Ba(2)CoO(2)Cu(2)S(2), which has Co(2+) in an environment that is close to purely square planar, the ordered moment of 4.5(1) μ(B) at 5 K is over 0.7 μ(B) larger than that in Sr(2)CoO(2)Cu(2)S(2), so the unquenched orbital component in this case is even larger than that observed in octahedral Co(2+) systems such as CoO. The experimental observations of antiferromagnetic ground states and the changes in properties resulting from replacement of Sr by Ba are supported by ab initio calculations on Sr(2)CoO(2)Cu(2)S(2) and Ba(2)CoO(2)Cu(2)S(2). The large orbital moments in these systems apparently result from spin-orbit mixing of the unequally populated d(xz), d(yz), and d(z(2)) orbitals, which are reckoned to be almost degenerate when the CoO(4)S(2) polyhedron reaches its maximum elongation. The magnitudes of the ordered moments in high-spin Co(2+) oxide, oxychalcogenide, and oxyhalide systems are shown to correlate well with the tetragonal elongation of the coordination environment. The large orbital moments lead to an apparently magnetostrictive distortion of the crystal structures below the Neél temperature, with the symmetry lowered from tetragonal I4/mmm to orthorhombic Immm and the size of the distortion correlating well with the size of the long-range ordered moment for all compositions and for temperature-dependent data gathered on Ba(2)CoO(2)Cu(2)S(2).