Ask Your Question

How to remove leading space from 'Figure' reference (field) [added picture]

asked 2016-09-27 18:14:42 +0200

knottedknickers gravatar image

updated 2016-09-29 06:23:09 +0200

I have an image in a document with a caption (Figure 1: text text text). There is no leading space in the caption. However, if I insert a 'field' to reference Figure 1 (CTRL + F2, Cross-references, Type: Figure, Insert reference to: Reference) a leading space appears in the grey field box: _Figure 1: text text text (where _ = space [visible with Non-printing Characters turned on]). The red arrow indicates what I want gone:

image description

Interestingly enough, however, if I 'Insert reference to: Category and Number' there is no leading space before Figure 1.

Any hints on how to get rid of that leading space? As I said, there is no space to delete in the Caption... [edited to add picture]

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-09-29 07:43:47 +0200

pierre-yves samyn gravatar image


I reproduce... Image is anchored as character in the frame and followed by a newline (Shift+Enter), not a paragraph (you have to resize to see it):


To remove the leading space in the field you can replace with a paragraph, change anchor, etc.


edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-09-27 18:14:42 +0200

Seen: 273 times

Last updated: Sep 29 '16