Text this: Minimum energy strategies for the in-plane behaviour of masonry