27 Lagrangian theory for presymplectic systems