How can I remove space between image and text?

Hi,

I am new to LibreOffice and I’m trying to learn how to use it. Most things seem quite easy but when I insert an image into a Writer document I want to display text directly under the image stating what it is. I can’t seem to get the text directly under the image without space between them. When I try to delete the space it won’t let me. I’ve tried to decrease the line spacing but this seems to decrease the space below the text rather than above it.

What am I don’t wrong? I’ve looked at the properties of the image and every other formatting option I can find but they all seem greyed out or show a value of 0.

Any help much appreciated.

DLD

Not sure how to use this system to respond to the answers given. Neither option seem to do what I actually want. When I do a caption it puts a box around the image and the caption even when I say not to.

When I try to use spacing everything is already set to 0 and I see an icon which says optimal and doesn’t let me select any other option.

I tried to paste an image here so you can see but the system won’t let me. But I just want to type text that sits right under the image. Nothing fancy.

Hi

Select the image then SidebarWrap section▸Spacing to select one of the predefined options (none, extra small, etc.).

You can also define this precisely with Right clickPropertiesWrap tab▸Spacing

Regards

Pierre-Yves answers your question, but I suggest an improvement based on

I want to display text directly under the image stating what it is

In my understanding this means you want a caption attached to the image. A caption moves with the image when you move it to another location and you can format it relatively independently from the rest of the text.

  1. Click on the image to select its frame (it works also if you select only the image)
  2. InsertCaption...
  3. Fill in the form and choose your options
  4. Click OK

EDIT 2017-10-28 to answer comment in question

If you get a “box” around your picture and caption, display the style side-panel with F11 and click on the third toolbar icon from the left (Frame Styles). Select the frame containing both the picture and caption. The applied style is now highlighted. Right click on it and choose Modify..., then go to the Borders tab. Change the border properties to your liking, e.g. suppressing it. Clicking OK will apply the change to all pictures.

Positionning pictures (or more generally frames) in LO Writer has always been (and still is) a nightmare. It heavily depends on how the frame is anchored to its environment: to the page, paragraph or character. For my needs, but yours may be different, the most reliable and predictable way of positionning my images was to remove the anchoring relationship by transforming the frame into a character, so that I knew exactly where the graphics material would end up after an editing change. This is an option of the Wrap contextual menu or dialog names As Character. Note it is different from To Character which is another anchoring relationship.

When As Character is selected, the picture belongs in the paragraph like an oversized character and you play with the containing paragraph attributes (spacing above/below, margins, alignment) to position it in the text flow instead of some semi-absolute reference. With this option, you have two settings levels: the picture frame with or without caption (so that you can position them relative to each other) and the containing paragraph to position the group within text flow.

1 Like