Format captions with non-breaking space?

S

StainlessSteelRat

Hi folks,

Is it possible to format captions with a non-breaking space? It doesn't look
particularly good when a caption breaks across the end of a sentence e.g.
"figure" is at the end of one line, and "4" is at the other.

TIA
 
S

Stefan Blom

You can delete the space between the label and the number and then
insert a nonbreaking space by typing CTRL+SHIFT+SPACEBAR.
 
S

StainlessSteelRat

You can delete the space between the label and the number and then
insert a nonbreaking space by typing CTRL+SHIFT+SPACEBAR.

Yep, the only problem being that a field update reverts to the previous
form. It's a shame Microsoft didn't add the option for this to be
non-breaking.
 
S

Stefan Blom

Are you using Insert>Reference>Caption to create your captions? If so,
the caption consists of two parts: the label, which is typed in, and
the number, which is a SEQ field:

Figure<space>{ SEQ Figure \* ARABIC }

Changing the type of space between the two should not be affected by a
field update.
 
S

StainlessSteelRat

Are you using Insert>Reference>Caption to create your captions? If so,
the caption consists of two parts: the label, which is typed in, and
the number, which is a SEQ field:

Figure<space>{ SEQ Figure \* ARABIC }

Changing the type of space between the two should not be affected by a
field update.

Ah apologies! I'm actually using cross references to an existing caption. So
the cross reference (label and numbe) is the information that is breaking
across the page.
 
S

StainlessSteelRat

Are you using Insert>Reference>Caption to create your captions? If so,
Ah apologies! I'm actually using cross references to an existing caption.
So the cross reference (label and numbe) is the information that is
breaking across the page.

Problem solved. I edited the original caption to include a non-breaking
space, and now the cross reference also has a non-breaking space. Thanks for
your advice which gave me the idea to try this :) (or maybe that was what
you intended)
 
S

Stefan Blom

Since cross-references are actually references to hidden bookmarks,
any changes in them must be performed at the source; in this case, as
you've discovered, it means to modify the caption itself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top