Remove space inserted above image [writer Version: 4.3.2.2]

Hello,

When an image is inserted into Writer a space is added above the image, see image below. How can this space be removed?

I have set the “Spacing Top” to 0.00 mm for both the caption frame and the picture frame, but this does not remove the space as highlighted in red below.

There is an answer in my comment in Space under image caption [writer Version: 4.3.2.2] - #4 by ROSt53

You also can place an enhancement request here: https://www.libreoffice.org/get-help/bug/?enhancement=yes

It has nothing to do with the caption and picture frames.

The paragraph style for captions in general (which the figure style is inheriting from) adds spacing above and below paragraph. It is, however, misplaced IMHO, as it should be between the paragraph “Figure …” and the image.

To remove the space above the image either

  • set image position and spacing
  1. Select image, Format → Image (or right click image and select Picture…)

  2. Type tab: Position … Vertical Top to Margin

  3. (optional:) Wrap tab: Spacing … Bottom i.e. 0.20 cm (add space between image and caption)

or

  • change paragraph style Caption or Figure (Format → Styles and Formatting)

If you want to add other captions for i.e. tables later, you might want to go for the first solution. Spacing between caption and table is done correctly (and looks good IMHO).