Symmetric and alternating squares