This contribution deals with energy-based in-domain control of systems governed by partial differential equations with spatial domain up to dimension two. We exploit a port-Hamiltonian system description based on an underlying jet-bundle formalism, where we restrict ourselves to systems with 2nd-order Hamiltonian. A certain power-conserving interconnection enables the application of a dynamic control law based on structural invariants. Furthermore, we use various examples such as beams and plates with in-domain actuation to demonstrate the capability of our approach.