The compound described by Ba2AgInS4 crystallizes in the monoclinic P2_1/c space group. There are two inequivalent Ba sites. In the first Ba site, Ba(1) is bonded to one S(4), two equivalent S(1), two equivalent S(2), and two equivalent S(3) atoms to form distorted BaS7 pentagonal bipyramids that share  a cornercorner with one In(1)S4 tetrahedra, edges with three equivalent Ba(1)S7 pentagonal bipyramids, and edges with three equivalent In(1)S4 tetrahedra. In the second Ba site, Ba(2) is bonded in a 7-coordinate geometry to one S(1), two equivalent S(2), two equivalent S(3), and two equivalent S(4) atoms. Ag(1) is bonded in a distorted trigonal planar geometry to one S(1), one S(2), one S(3), and one S(4) atom. In(1) is bonded to one S(1), one S(2), one S(3), and one S(4) atom to form InS4 tetrahedra that share  a cornercorner with one Ba(1)S7 pentagonal bipyramid and edges with three equivalent Ba(1)S7 pentagonal bipyramids. There are four inequivalent S sites. In the first S site, S(1) is bonded to one Ba(2), two equivalent Ba(1), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(1)Ba3InAg square pyramid, and edges with three equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 41-57°. In the second S site, S(2) is bonded in a 6-coordinate geometry to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom. In the third S site, S(3) is bonded to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form SBa4InAg octahedra that share corners with four equivalent S(3)Ba4InAg octahedra, corners with four equivalent S(1)Ba3InAg square pyramids, corners with four equivalent S(4)Ba3InAg square pyramids, edges with two equivalent S(1)Ba3InAg square pyramids, and edges with two equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 57-60°. In the fourth S site, S(4) is bonded to one Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(4)Ba3InAg square pyramid, and edges with three equivalent S(1)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 22-60°. is represented by the CIF file [CIF]
data_Ba2InAgS4
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   7.391
_cell_length_b   8.473
_cell_length_c   14.804
_cell_angle_alpha   73.498
_cell_angle_beta   90.000
_cell_angle_gamma   90.000
_symmetry_Int_Tables_number   1
_cell_volume   888.966
_cell_formula_units_Z   4
loop_
 _symmetry_equiv_pos_site_id
 _symmetry_equiv_pos_as_xyz
  1  'x, y, z'
loop_
 _atom_site_type_symbol
 _atom_site_label
 _atom_site_symmetry_multiplicity
 _atom_site_fract_x
 _atom_site_fract_y
 _atom_site_fract_z
 _atom_site_occupancy
  Ba  Ba0  1  0.844  0.803  0.142  1.0
  Ba  Ba1  1  0.344  0.697  0.358  1.0
  Ba  Ba2  1  0.156  0.197  0.858  1.0
  Ba  Ba3  1  0.656  0.303  0.642  1.0
  Ba  Ba4  1  0.842  0.309  0.136  1.0
  Ba  Ba5  1  0.342  0.191  0.364  1.0
  Ba  Ba6  1  0.158  0.691  0.864  1.0
  Ba  Ba7  1  0.658  0.809  0.636  1.0
  In  In8  1  0.819  0.436  0.377  1.0
  In  In9  1  0.319  0.064  0.123  1.0
  In  In10  1  0.181  0.564  0.623  1.0
  In  In11  1  0.681  0.936  0.877  1.0
  Ag  Ag12  1  0.866  0.923  0.399  1.0
  Ag  Ag13  1  0.366  0.577  0.101  1.0
  Ag  Ag14  1  0.134  0.077  0.601  1.0
  Ag  Ag15  1  0.634  0.423  0.899  1.0
  S  S16  1  0.243  0.867  0.031  1.0
  S  S17  1  0.743  0.633  0.469  1.0
  S  S18  1  0.757  0.133  0.969  1.0
  S  S19  1  0.257  0.367  0.531  1.0
  S  S20  1  0.075  0.488  0.267  1.0
  S  S21  1  0.575  0.012  0.233  1.0
  S  S22  1  0.925  0.512  0.733  1.0
  S  S23  1  0.425  0.988  0.767  1.0
  S  S24  1  0.576  0.497  0.246  1.0
  S  S25  1  0.076  0.003  0.254  1.0
  S  S26  1  0.424  0.503  0.754  1.0
  S  S27  1  0.924  0.997  0.746  1.0
  S  S28  1  0.749  0.146  0.471  1.0
  S  S29  1  0.249  0.354  0.029  1.0
  S  S30  1  0.251  0.854  0.529  1.0
  S  S31  1  0.751  0.646  0.971  1.0
[/CIF]
.
The compound described by Ba2AgInS4 crystallizes in the monoclinic P2_1/c space group. There are two inequivalent Ba sites. In the first Ba site, Ba(1) is bonded to one S(4), two equivalent S(1), two equivalent S(2), and two equivalent S(3) atoms to form distorted BaS7 pentagonal bipyramids that share  a cornercorner with one In(1)S4 tetrahedra, edges with three equivalent Ba(1)S7 pentagonal bipyramids, and edges with three equivalent In(1)S4 tetrahedra. In the second Ba site, Ba(2) is bonded in a 7-coordinate geometry to one S(1), two equivalent S(2), two equivalent S(3), and two equivalent S(4) atoms. Ag(1) is bonded in a distorted trigonal planar geometry to one S(1), one S(2), one S(3), and one S(4) atom. In(1) is bonded to one S(1), one S(2), one S(3), and one S(4) atom to form InS4 tetrahedra that share  a cornercorner with one Ba(1)S7 pentagonal bipyramid and edges with three equivalent Ba(1)S7 pentagonal bipyramids. There are four inequivalent S sites. In the first S site, S(1) is bonded to one Ba(2), two equivalent Ba(1), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(1)Ba3InAg square pyramid, and edges with three equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 41-57°. In the second S site, S(2) is bonded in a 6-coordinate geometry to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom. In the third S site, S(3) is bonded to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form SBa4InAg octahedra that share corners with four equivalent S(3)Ba4InAg octahedra, corners with four equivalent S(1)Ba3InAg square pyramids, corners with four equivalent S(4)Ba3InAg square pyramids, edges with two equivalent S(1)Ba3InAg square pyramids, and edges with two equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 57-60°. In the fourth S site, S(4) is bonded to one Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(4)Ba3InAg square pyramid, and edges with three equivalent S(1)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 22-60°. is represented by the CIF file [CIF]
data_Ba2InAgS4
_symmetry_space_group_name_H-M   'P 1'
_cell_length_a   7.391
_cell_length_b   8.473
_cell_length_c   14.804
_cell_angle_alpha   73.498
_cell_angle_beta   90.000
_cell_angle_gamma   90.000
_symmetry_Int_Tables_number   1
_cell_volume   888.966
_cell_formula_units_Z   4
loop_
 _symmetry_equiv_pos_site_id
 _symmetry_equiv_pos_as_xyz
  1  'x, y, z'
loop_
 _atom_site_type_symbol
 _atom_site_label
 _atom_site_symmetry_multiplicity
 _atom_site_fract_x
 _atom_site_fract_y
 _atom_site_fract_z
 _atom_site_occupancy
  Ba  Ba0  1  0.844  0.803  0.142  1.0
  Ba  Ba1  1  0.344  0.697  0.358  1.0
  Ba  Ba2  1  0.156  0.197  0.858  1.0
  Ba  Ba3  1  0.656  0.303  0.642  1.0
  Ba  Ba4  1  0.842  0.309  0.136  1.0
  Ba  Ba5  1  0.342  0.191  0.364  1.0
  Ba  Ba6  1  0.158  0.691  0.864  1.0
  Ba  Ba7  1  0.658  0.809  0.636  1.0
  In  In8  1  0.819  0.436  0.377  1.0
  In  In9  1  0.319  0.064  0.123  1.0
  In  In10  1  0.181  0.564  0.623  1.0
  In  In11  1  0.681  0.936  0.877  1.0
  Ag  Ag12  1  0.866  0.923  0.399  1.0
  Ag  Ag13  1  0.366  0.577  0.101  1.0
  Ag  Ag14  1  0.134  0.077  0.601  1.0
  Ag  Ag15  1  0.634  0.423  0.899  1.0
  S  S16  1  0.243  0.867  0.031  1.0
  S  S17  1  0.743  0.633  0.469  1.0
  S  S18  1  0.757  0.133  0.969  1.0
  S  S19  1  0.257  0.367  0.531  1.0
  S  S20  1  0.075  0.488  0.267  1.0
  S  S21  1  0.575  0.012  0.233  1.0
  S  S22  1  0.925  0.512  0.733  1.0
  S  S23  1  0.425  0.988  0.767  1.0
  S  S24  1  0.576  0.497  0.246  1.0
  S  S25  1  0.076  0.003  0.254  1.0
  S  S26  1  0.424  0.503  0.754  1.0
  S  S27  1  0.924  0.997  0.746  1.0
  S  S28  1  0.749  0.146  0.471  1.0
  S  S29  1  0.249  0.354  0.029  1.0
  S  S30  1  0.251  0.854  0.529  1.0
  S  S31  1  0.751  0.646  0.971  1.0
[/CIF]
.