When I paste an image into LibreOffice Writer, it is anchored "To paragraph" by default (as shown in the image right click menu -> Picture... -> Type -> Anchor).

Of course I can change this on a per-image basis, but I almost always want to use "anchor as character" rather than "anchor to paragraph".

Hence, can I change this such that images are pasted anchored "As character" by default? If so, how?

I'm using LibreOffice version I did look through the options dialog but found nothing that seemed relevant.


According to this bug report you need to edit the file styles.xml, which is accessible if you unzip your document.

A workaround is to anchor one picture as character and create a "new style from selection" after selecting this picture. It is far from ideal, but the only other current option is to hack LibreOffice's files.

When the bug gets fixed, it should be much easier to change the default style.


I successfully opened my Text_with_images.odt file with an archive manager (Engrampa or FileRoller) and then edited styles.xml.

I found this:

<style:graphic-properties text:anchor-type="paragraph"

And edited that to this:

<style:graphic-properties text:anchor-type="as-char"

I saved changes in both files (styles.xml and then Text_with_images.odt). Then opened my Text_with_images.odt file in LibreOffice, inserted-from-file another image and voila! it was anchored as character (not paragraph).


Following the bug report, I modified the custom template I use for most of my documents, and it worked flawlessly. Every document created from that template gets the as-char anchor for graphics. you can probably do it in the default template so it works for every document you create. However, that template will get replaced every time you update LibreOffice.

  • For those of us less familiar with LibreOffice, could you post instructions on how to implement your solution?
    – MikeyE
    Sep 17 '20 at 21:42

The default anchoring option for inserting images can be setted from LibreOffice version 7.1,

Since version 7.1 is not published yet, you can get it from the pre release page: https://www.libreoffice.org/download/pre-releases/

Select Tools > Options > LibreOffice Writer > Formatting Aids > Image > Anchor you can select:

  • To Pragraph,
  • To Character or
  • As Character.

see image attached: Image Anchor Options

  • Thanks it was helpful
    – sunleo
    Apr 4 at 17:07

For me, the best user friednly alternative is the PicTool extension.

You cannot change the default behavior, but you can mass update.

After installing it you will get a new button at the beginning of the toolbar.

With no image selected you can:

  • Click the button
  • Select your anchoring and other preferences
  • Click Apply to update the properties of all the images in the document.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.