Use this function to center the publication inside the current window.