Ask Your Question

Center image? (writer)

asked 2018-01-17 16:39:56 +0100

appreciatethehelp gravatar image

Hi everyone, I want to know how to center an image that I have inserted into a writer document so that it is exactly in the middle of the page (horizontally- not exactly in the middle of the entire page). Thank you very much.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2018-01-17 18:19:33 +0100

Use anchoring "As character", and use usual alignment (left/right/center) as you do with text.

edit flag offensive delete link more

answered 2018-01-17 21:29:04 +0100

ajlittoz gravatar image

If your image is not an element of some paragraph, i.e.its position does not matter vis-a-vis a paragraph (you can always insert a cross-reference to cite its reference number or caption if you need it without having the image inside said paragraph), the best anchor is To page. The frame/picture insertion dialog has a section called Position where you can center it vertically and horizontally. Wrap options tell how text flows around or through the picture.

In case you need your image to be related to some paragraph, so that editions (text insertion/deletion) do not separate the image from this paragraph, the convenient anchor is As character making the image a "big" character of the paragraph. In this case, the positioning possibilities within the paragraph are limited to small adjustments relative to character baseline. You essentially align the paragraph as a whole: left/center/right between paragraph margins, margin settings and spacing above/below.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

edit flag offensive delete link more


Please do not anchor images to page. This anchor type is unstable, as it anchors content to some dynamically-allocated entity (page) that might change at any point.

But positioning relative to page is a good thing.

Mike Kaganski gravatar imageMike Kaganski ( 2018-01-17 21:42:22 +0100 )edit

@Mike Kaganski: do you know of anchor guidelines? I've hard very hard times with anchors and concluded that only "to page" and "as character" where usable for predictable and reliable results. I'd like to be able to choose based on sensible arguments.

ajlittoz gravatar imageajlittoz ( 2018-01-18 08:05:40 +0100 )edit

Well, I have my own experience, and "As character", "To character" and "To paragraph" all work for me. I don't have a reference manual, but I see how it is implemented, and base my conclusions on these - hard-to-put-in-words - bases.

We could discuss the problems you are facing with "To character/paragraph" anchorings - in a dedicated question, or using emails, if you like.

Mike Kaganski gravatar imageMike Kaganski ( 2018-01-18 08:18:12 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-01-17 16:39:56 +0100

Seen: 1,187 times

Last updated: Jan 17 '18