Theoretical studies of sliding ferroelectricity, magnetoelectric couplings, and piezo-multiferroicity in two-dimensional magnetic materials