The electronic properties of graphene and graphene ribbons under simple shear strain