RbMgIn(WO4)2 crystallizes in the trigonal P3m1 space group. Rb(1) is bonded to three equivalent O(1), three equivalent O(2), three equivalent O(3), and three equivalent O(4) atoms to form distorted RbO12 cuboctahedra that share edges with six equivalent Rb(1)O12 cuboctahedra, edges with three equivalent W(1)O4 tetrahedra, and edges with three equivalent W(2)O4 tetrahedra. Mg(1) is bonded in a distorted trigonal non-coplanar geometry to one In(1) and three equivalent O(2) atoms. There are two inequivalent W sites. In the first W site, W(1) is bonded to one O(3) and three equivalent O(2) atoms to form WO4 tetrahedra that share edges with three equivalent Rb(1)O12 cuboctahedra. In the second W site, W(2) is bonded to one O(4) and three equivalent O(1) atoms to form WO4 tetrahedra that share edges with three equivalent Rb(1)O12 cuboctahedra. In(1) is bonded in a rectangular see-saw-like geometry to one Mg(1) and three equivalent O(1) atoms. There are four inequivalent O sites. In the first O site, O(1) is bonded in a 3-coordinate geometry to one Rb(1), one W(2), and one In(1) atom. In the second O site, O(2) is bonded in a distorted linear geometry to one Rb(1), one Mg(1), and one W(1) atom. In the third O site, O(3) is bonded in a single-bond geometry to three equivalent Rb(1) and one W(1) atom. In the fourth O site, O(4) is bonded in a single-bond geometry to three equivalent Rb(1) and one W(2) atom.
RbMgIn(WO4)2 crystallizes in the trigonal P3m1 space group. Rb(1) is bonded to three equivalent O(1), three equivalent O(2), three equivalent O(3), and three equivalent O(4) atoms to form distorted RbO12 cuboctahedra that share edges with six equivalent Rb(1)O12 cuboctahedra, edges with three equivalent W(1)O4 tetrahedra, and edges with three equivalent W(2)O4 tetrahedra. All Rb(1)-O(1) bond lengths are 3.08 Å. All Rb(1)-O(2) bond lengths are 3.30 Å. All Rb(1)-O(3) bond lengths are 3.52 Å. All Rb(1)-O(4) bond lengths are 3.50 Å. Mg(1) is bonded in a distorted trigonal non-coplanar geometry to one In(1) and three equivalent O(2) atoms. The Mg(1)-In(1) bond length is 2.87 Å. All Mg(1)-O(2) bond lengths are 1.94 Å. There are two inequivalent W sites. In the first W site, W(1) is bonded to one O(3) and three equivalent O(2) atoms to form WO4 tetrahedra that share edges with three equivalent Rb(1)O12 cuboctahedra. The W(1)-O(3) bond length is 1.78 Å. All W(1)-O(2) bond lengths are 1.82 Å. In the second W site, W(2) is bonded to one O(4) and three equivalent O(1) atoms to form WO4 tetrahedra that share edges with three equivalent Rb(1)O12 cuboctahedra. The W(2)-O(4) bond length is 1.78 Å. All W(2)-O(1) bond lengths are 1.83 Å. In(1) is bonded in a rectangular see-saw-like geometry to one Mg(1) and three equivalent O(1) atoms. All In(1)-O(1) bond lengths are 2.21 Å. There are four inequivalent O sites. In the first O site, O(1) is bonded in a 3-coordinate geometry to one Rb(1), one W(2), and one In(1) atom. In the second O site, O(2) is bonded in a distorted linear geometry to one Rb(1), one Mg(1), and one W(1) atom. In the third O site, O(3) is bonded in a single-bond geometry to three equivalent Rb(1) and one W(1) atom. In the fourth O site, O(4) is bonded in a single-bond geometry to three equivalent Rb(1) and one W(2) atom.